OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
9 | 9 |
10 #include "xfa/include/fwl/basewidget/fwl_barcode.h" | 10 #include "xfa/include/fwl/basewidget/fwl_barcode.h" |
11 #include "xfa/include/fwl/core/fwl_error.h" | 11 #include "xfa/include/fwl/core/fwl_error.h" |
12 #include "xfa/include/fwl/lightwidget/edit.h" | 12 #include "xfa/include/fwl/lightwidget/edit.h" |
13 #include "xfa/include/fxbarcode/BC_BarCode.h" | |
14 | 13 |
15 class CFWL_Widget; | 14 class CFWL_Widget; |
16 class CFWL_WidgetProperties; | 15 class CFWL_WidgetProperties; |
17 | 16 |
18 class CFWL_Barcode : public CFWL_Edit { | 17 class CFWL_Barcode : public CFWL_Edit { |
19 public: | 18 public: |
20 static CFWL_Barcode* Create(); | 19 static CFWL_Barcode* Create(); |
21 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 20 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
22 void SetType(BC_TYPE type); | 21 void SetType(BC_TYPE type); |
23 FX_BOOL IsProtectedType(); | 22 FX_BOOL IsProtectedType(); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 FX_DWORD m_dwAttributeMask; | 111 FX_DWORD m_dwAttributeMask; |
113 virtual FX_DWORD GetBarcodeAttributeMask() { return m_dwAttributeMask; } | 112 virtual FX_DWORD GetBarcodeAttributeMask() { return m_dwAttributeMask; } |
114 | 113 |
115 public: | 114 public: |
116 CFWL_BarcodeDP() : m_dwAttributeMask(0) {} | 115 CFWL_BarcodeDP() : m_dwAttributeMask(0) {} |
117 }; | 116 }; |
118 CFWL_BarcodeDP m_barcodeData; | 117 CFWL_BarcodeDP m_barcodeData; |
119 }; | 118 }; |
120 | 119 |
121 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ | 120 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
OLD | NEW |