1 // 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 7 #ifndef FXBARCODE_CBC_EAN8_H_ 8 #define FXBARCODE_CBC_EAN8_H_ 9 10 #include "core/fxcrt/fx_string.h" 11 #include "core/fxcrt/fx_system.h" 12 #include "fxbarcode/cbc_eancode.h" 13 14 class CBC_OnedEAN8Writer; 15 16 class CBC_EAN8 final : public CBC_EANCode { 17 public: 18 CBC_EAN8(); 19 ~CBC_EAN8() override; 20 21 // CBC_EANCode: 22 BC_TYPE GetType() override; 23 BCFORMAT GetFormat() const override; 24 size_t GetMaxLength() const override; 25 }; 26 27 #endif // FXBARCODE_CBC_EAN8_H_ 28