1 // Copyright 2018 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 #ifndef FXBARCODE_ONED_BC_ONEDEANWRITER_H_ 6 #define FXBARCODE_ONED_BC_ONEDEANWRITER_H_ 7 8 #include "fxbarcode/oned/BC_OneDimWriter.h" 9 10 class CBC_OneDimEANWriter : public CBC_OneDimWriter { 11 public: 12 CBC_OneDimEANWriter(); 13 ~CBC_OneDimEANWriter() override; 14 15 virtual void InitEANWriter(); 16 virtual int32_t CalcChecksum(const ByteString& contents) = 0; 17 }; 18 19 #endif // FXBARCODE_ONED_BC_ONEDEANWRITER_H_ 20