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

Unified Diff: xfa/fxbarcode/oned/BC_OnedEAN8Writer.h

Issue 1816133002: Move xfa/include/fxbarcode/BC_Barcode.h to xfa/fxbarcode. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: xfa/fxbarcode/oned/BC_OnedEAN8Writer.h
diff --git a/xfa/fxbarcode/oned/BC_OnedEAN8Writer.h b/xfa/fxbarcode/oned/BC_OnedEAN8Writer.h
index fc033ffcbf744200371dd0811c37799155fd2eb6..9110d94e20f10a7e11cc8d1bc93ef27b737ee14d 100644
--- a/xfa/fxbarcode/oned/BC_OnedEAN8Writer.h
+++ b/xfa/fxbarcode/oned/BC_OnedEAN8Writer.h
@@ -7,9 +7,14 @@
#ifndef XFA_FXBARCODE_ONED_BC_ONEDEAN8WRITER_H_
#define XFA_FXBARCODE_ONED_BC_ONEDEAN8WRITER_H_
-enum BC_TEXT_LOC;
-class CBC_OneDimWriter;
-class CBC_OnedEAN8Writer;
+#include "core/include/fxcrt/fx_string.h"
+#include "core/include/fxcrt/fx_system.h"
+#include "xfa/fxbarcode/include/BC_Library.h"
+#include "xfa/fxbarcode/oned/BC_OneDimWriter.h"
+
+class CFX_DIBitmap;
+class CFX_RenderDevice;
+
class CBC_OnedEAN8Writer : public CBC_OneDimWriter {
private:
int32_t m_codeWidth;
@@ -17,6 +22,7 @@ class CBC_OnedEAN8Writer : public CBC_OneDimWriter {
public:
CBC_OnedEAN8Writer();
virtual ~CBC_OnedEAN8Writer();
+
uint8_t* Encode(const CFX_ByteString& contents,
BCFORMAT format,
int32_t& outWidth,
@@ -31,6 +37,7 @@ class CBC_OnedEAN8Writer : public CBC_OneDimWriter {
uint8_t* Encode(const CFX_ByteString& contents,
int32_t& outLength,
int32_t& e);
+
void RenderResult(const CFX_WideStringC& contents,
uint8_t* code,
int32_t codeLength,

Powered by Google App Engine
This is Rietveld 408576698