blob: 57c06fa04559d9dae37d1021243b291a6ce872d3 [file] [log] [blame]
Dan Sinclaira98600a2016-03-21 15:15:56 -04001// Copyright 2016 PDFium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
Dan Sinclaire7786682017-03-29 15:18:41 -04007#ifndef FXBARCODE_CBC_EAN8_H_
8#define FXBARCODE_CBC_EAN8_H_
Dan Sinclaira98600a2016-03-21 15:15:56 -04009
dsinclaira52ab742016-09-29 13:59:29 -070010#include "core/fxcrt/fx_string.h"
11#include "core/fxcrt/fx_system.h"
Lei Zhang93ea6d42018-12-03 20:16:08 +000012#include "fxbarcode/cbc_eancode.h"
Dan Sinclaira98600a2016-03-21 15:15:56 -040013
Lei Zhang1badb852017-04-20 15:58:56 -070014class CBC_OnedEAN8Writer;
15
Lei Zhang93ea6d42018-12-03 20:16:08 +000016class CBC_EAN8 final : public CBC_EANCode {
Dan Sinclaira98600a2016-03-21 15:15:56 -040017 public:
18 CBC_EAN8();
thestigfbe14b92016-05-02 13:31:10 -070019 ~CBC_EAN8() override;
Dan Sinclaira98600a2016-03-21 15:15:56 -040020
Lei Zhang93ea6d42018-12-03 20:16:08 +000021 // CBC_EANCode:
weili29b8ad02016-06-14 18:20:04 -070022 BC_TYPE GetType() override;
Lei Zhang93ea6d42018-12-03 20:16:08 +000023 BCFORMAT GetFormat() const override;
24 size_t GetMaxLength() const override;
Dan Sinclaira98600a2016-03-21 15:15:56 -040025};
26
Dan Sinclaire7786682017-03-29 15:18:41 -040027#endif // FXBARCODE_CBC_EAN8_H_