Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _BC_PDF417HIGHLEVELENCODER_H_ 7 #ifndef _BC_PDF417HIGHLEVELENCODER_H_
8 #define _BC_PDF417HIGHLEVELENCODER_H_ 8 #define _BC_PDF417HIGHLEVELENCODER_H_
9 9
10 #include "BC_PDF417Compaction.h" 10 #include "BC_PDF417Compaction.h"
11 11
12 class CBC_PDF417HighLevelEncoder : public CFX_Object 12 class CBC_PDF417HighLevelEncoder
13 { 13 {
14 public: 14 public:
15 static CFX_WideString encodeHighLevel(CFX_WideString msg, Compaction compact ion, FX_INT32 &e); 15 static CFX_WideString encodeHighLevel(CFX_WideString msg, Compaction compact ion, FX_INT32 &e);
16 static void Inverse(); 16 static void Inverse();
17 static void Initialize(); 17 static void Initialize();
18 static void Finalize(); 18 static void Finalize();
19 private: 19 private:
20 static FX_INT32 TEXT_COMPACTION; 20 static FX_INT32 TEXT_COMPACTION;
21 static FX_INT32 BYTE_COMPACTION; 21 static FX_INT32 BYTE_COMPACTION;
22 static FX_INT32 NUMERIC_COMPACTION; 22 static FX_INT32 NUMERIC_COMPACTION;
(...skipping 22 matching lines...) Expand all
45 45
46 friend class PDF417HighLevelEncoder_EncodeNumeric_Test; 46 friend class PDF417HighLevelEncoder_EncodeNumeric_Test;
47 friend class PDF417HighLevelEncoder_EncodeBinary_Test; 47 friend class PDF417HighLevelEncoder_EncodeBinary_Test;
48 friend class PDF417HighLevelEncoder_EncodeText_Test; 48 friend class PDF417HighLevelEncoder_EncodeText_Test;
49 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test; 49 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test;
50 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test; 50 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test;
51 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test; 51 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test;
52 }; 52 };
53 53
54 #endif 54 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698