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

Unified Diff: xfa/include/fxbarcode/BC_BarCode.h

Issue 1413253003: XFA: Actually fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/src/fxcodec/codec/fx_codec_tiff.cpp ('k') | xfa/src/fxbarcode/BC_TwoDimWriter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/include/fxbarcode/BC_BarCode.h
diff --git a/xfa/include/fxbarcode/BC_BarCode.h b/xfa/include/fxbarcode/BC_BarCode.h
index 17d9be5cc5c3da3b5878f8256b54e359d732e302..b166458e7d7ecb31e2bf80d1576ea61561c265a7 100644
--- a/xfa/include/fxbarcode/BC_BarCode.h
+++ b/xfa/include/fxbarcode/BC_BarCode.h
@@ -4,13 +4,18 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _BC_CODEBASE_H_
-#define _BC_CODEBASE_H_
-void BC_Library_Init();
-void BC_Library_Destory();
-class CBC_CodeBase;
-class CBC_Writer;
+#ifndef XFA_INCLUDE_FXBARCODE_BC_BARCODE_H_
+#define XFA_INCLUDE_FXBARCODE_BC_BARCODE_H_
+
+#include "core/include/fxcrt/fx_string.h"
+#include "core/include/fxcrt/fx_system.h"
+#include "core/include/fxge/fx_dib.h"
+
class CBC_Reader;
+class CBC_Writer;
+class CFX_Font;
+class CFX_RenderDevice;
+
enum BC_TEXT_LOC {
BC_TEXT_LOC_NONE = 0,
BC_TEXT_LOC_ABOVE,
@@ -18,7 +23,9 @@ enum BC_TEXT_LOC {
BC_TEXT_LOC_ABOVEEMBED,
BC_TEXT_LOC_BELOWEMBED
};
+
enum BC_CHAR_ENCODING { CHAR_ENCODING_UTF8 = 0, CHAR_ENCODING_UNICODE };
+
enum BC_TYPE {
BC_UNKNOWN = -1,
BC_CODE39 = 0,
@@ -33,6 +40,10 @@ enum BC_TYPE {
BC_PDF417,
BC_DATAMATRIX
};
+
+void BC_Library_Init();
+void BC_Library_Destory();
+
class CBC_CodeBase {
public:
CBC_CodeBase();
@@ -242,4 +253,5 @@ class CBC_DataMatrix : public CBC_CodeBase {
CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
BC_TYPE GetType() { return BC_DATAMATRIX; }
};
-#endif
+
+#endif // XFA_INCLUDE_FXBARCODE_BC_BARCODE_H_
« no previous file with comments | « core/src/fxcodec/codec/fx_codec_tiff.cpp ('k') | xfa/src/fxbarcode/BC_TwoDimWriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698