summaryrefslogtreecommitdiff
path: root/xfa/include
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-06 15:53:26 -0800
committerLei Zhang <thestig@chromium.org>2015-11-06 15:53:26 -0800
commite6cab2252ee48212420b52735afa6346bb256e2c (patch)
tree1ffbed054fd1c73dd1da6cd3393b82665c21c6ff /xfa/include
parentb4e7f304af0ad92d20f952e6634000d177974f47 (diff)
downloadpdfium-e6cab2252ee48212420b52735afa6346bb256e2c.tar.xz
XFA: Actually fix all relative includes to third_party.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1413253003 .
Diffstat (limited to 'xfa/include')
-rw-r--r--xfa/include/fxbarcode/BC_BarCode.h26
1 files changed, 19 insertions, 7 deletions
diff --git a/xfa/include/fxbarcode/BC_BarCode.h b/xfa/include/fxbarcode/BC_BarCode.h
index 17d9be5cc5..b166458e7d 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_