summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/oned
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxbarcode/oned')
-rw-r--r--xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp8
-rw-r--r--xfa/src/fxbarcode/oned/BC_OneDimWriter.h17
2 files changed, 17 insertions, 8 deletions
diff --git a/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp b/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
index 11d1021aa2..04279f80b7 100644
--- a/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
+++ b/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
@@ -20,11 +20,13 @@
* limitations under the License.
*/
-#include "../../../../third_party/base/nonstd_unique_ptr.h"
-#include "../barcode.h"
+#include "BC_OneDimWriter.h"
+
#include "../BC_Writer.h"
+#include "../barcode.h"
#include "../common/BC_CommonBitMatrix.h"
-#include "BC_OneDimWriter.h"
+#include "third_party/base/nonstd_unique_ptr.h"
+
CBC_OneDimWriter::CBC_OneDimWriter() {
m_locTextLoc = BC_TEXT_LOC_BELOWEMBED;
m_bPrintChecksum = TRUE;
diff --git a/xfa/src/fxbarcode/oned/BC_OneDimWriter.h b/xfa/src/fxbarcode/oned/BC_OneDimWriter.h
index 0645b406cc..2222021c0f 100644
--- a/xfa/src/fxbarcode/oned/BC_OneDimWriter.h
+++ b/xfa/src/fxbarcode/oned/BC_OneDimWriter.h
@@ -4,11 +4,17 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _BC_ONEDIMWRITER_H_
-#define _BC_ONEDIMWRITER_H_
-class CBC_Writer;
+#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_
+#define XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_
+
+#include "core/include/fxge/fx_ge.h"
+#include "xfa/include/fxbarcode/BC_BarCode.h"
+#include "xfa/src/fxbarcode/BC_Writer.h"
+
class CBC_CommonBitMatrix;
-class CBC_OneDimWriter;
+class CFX_Font;
+class CFX_RenderDevice;
+
class CBC_OneDimWriter : public CBC_Writer {
public:
CBC_OneDimWriter();
@@ -110,4 +116,5 @@ class CBC_OneDimWriter : public CBC_Writer {
int32_t& e);
FX_WCHAR Upper(FX_WCHAR ch);
};
-#endif
+
+#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_