From a902979f7c6a39fbdd8e9fc1b2ce00553b655eeb Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Fri, 9 Jan 2015 17:27:21 -0800 Subject: Organize barcode codes into modules. Previously all the files in barcode are lumped together. The naming of some files are inconsistent, leading to difficult understanding of the structure. Now files are grouped based on different barcode type like in zxing. This also matches what it looks like in other xfa folders. The file names in each folder could be further modified to be consistent. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/842043002 --- xfa/src/fxbarcode/datamatrix/BC_Encoder.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 xfa/src/fxbarcode/datamatrix/BC_Encoder.h (limited to 'xfa/src/fxbarcode/datamatrix/BC_Encoder.h') diff --git a/xfa/src/fxbarcode/datamatrix/BC_Encoder.h b/xfa/src/fxbarcode/datamatrix/BC_Encoder.h new file mode 100644 index 0000000000..10ac8763e5 --- /dev/null +++ b/xfa/src/fxbarcode/datamatrix/BC_Encoder.h @@ -0,0 +1,19 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef _BC_ENCODER_H_ +#define _BC_ENCODER_H_ +class CBC_EncoderContext; +class CBC_Encoder; +class CBC_Encoder : public CFX_Object +{ +public: + CBC_Encoder(); + virtual ~CBC_Encoder(); + virtual FX_INT32 getEncodingMode() = 0; + virtual void Encode(CBC_EncoderContext &context, FX_INT32 &e) = 0; +}; +#endif -- cgit v1.2.3