summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_barcode.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-21 17:05:58 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 17:05:59 -0800
commit37b6d1479b1674eb239cea8893eea31274d22ecd (patch)
tree07b5a2842c29c2b3324c6c60d369e9aea000e1b0 /xfa/fwl/core/ifwl_barcode.h
parent6a1c9bd09ef8fdd2fe2f9e39b9a05f6581be9d87 (diff)
downloadpdfium-37b6d1479b1674eb239cea8893eea31274d22ecd.tar.xz
Split fwl/core class pt II.
Split classes in FWL to be single class per file. In the case of data providers which added no new methods, removed and used the IFWL_Widget::DataProvider directly. Review-Url: https://codereview.chromium.org/2520063002
Diffstat (limited to 'xfa/fwl/core/ifwl_barcode.h')
-rw-r--r--xfa/fwl/core/ifwl_barcode.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/xfa/fwl/core/ifwl_barcode.h b/xfa/fwl/core/ifwl_barcode.h
index 417b1b77cc..5ff99e85c0 100644
--- a/xfa/fwl/core/ifwl_barcode.h
+++ b/xfa/fwl/core/ifwl_barcode.h
@@ -38,26 +38,26 @@ enum FWL_BCDAttribute {
FWL_BCDATTRIBUTE_TRUNCATED = 1 << 12
};
-class IFWL_BarcodeDP : public IFWL_Widget::DataProvider {
- public:
- virtual BC_CHAR_ENCODING GetCharEncoding() const = 0;
- virtual int32_t GetModuleHeight() const = 0;
- virtual int32_t GetModuleWidth() const = 0;
- virtual int32_t GetDataLength() const = 0;
- virtual bool GetCalChecksum() const = 0;
- virtual bool GetPrintChecksum() const = 0;
- virtual BC_TEXT_LOC GetTextLocation() const = 0;
- virtual int32_t GetWideNarrowRatio() const = 0;
- virtual FX_CHAR GetStartChar() const = 0;
- virtual FX_CHAR GetEndChar() const = 0;
- virtual int32_t GetVersion() const = 0;
- virtual int32_t GetErrorCorrectionLevel() const = 0;
- virtual bool GetTruncated() const = 0;
- virtual uint32_t GetBarcodeAttributeMask() const = 0;
-};
-
class IFWL_Barcode : public IFWL_Edit {
public:
+ class DataProvider : public IFWL_Widget::DataProvider {
+ public:
+ virtual BC_CHAR_ENCODING GetCharEncoding() const = 0;
+ virtual int32_t GetModuleHeight() const = 0;
+ virtual int32_t GetModuleWidth() const = 0;
+ virtual int32_t GetDataLength() const = 0;
+ virtual bool GetCalChecksum() const = 0;
+ virtual bool GetPrintChecksum() const = 0;
+ virtual BC_TEXT_LOC GetTextLocation() const = 0;
+ virtual int32_t GetWideNarrowRatio() const = 0;
+ virtual FX_CHAR GetStartChar() const = 0;
+ virtual FX_CHAR GetEndChar() const = 0;
+ virtual int32_t GetVersion() const = 0;
+ virtual int32_t GetErrorCorrectionLevel() const = 0;
+ virtual bool GetTruncated() const = 0;
+ virtual uint32_t GetBarcodeAttributeMask() const = 0;
+ };
+
IFWL_Barcode(const IFWL_App* app,
std::unique_ptr<CFWL_WidgetProperties> properties);
~IFWL_Barcode() override;