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_FWL_CORE_IFWL_BARCODE_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_BARCODE_H_ |
8 #define XFA_FWL_CORE_IFWL_BARCODE_H_ | 8 #define XFA_FWL_CORE_IFWL_BARCODE_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
| 12 #include "xfa/fwl/core/cfwl_scrollbar.h" |
12 #include "xfa/fwl/core/ifwl_edit.h" | 13 #include "xfa/fwl/core/ifwl_edit.h" |
13 #include "xfa/fwl/core/ifwl_scrollbar.h" | |
14 #include "xfa/fwl/core/ifwl_widget.h" | 14 #include "xfa/fwl/core/ifwl_widget.h" |
15 #include "xfa/fxbarcode/BC_Library.h" | 15 #include "xfa/fxbarcode/BC_Library.h" |
16 | 16 |
17 class CFWL_WidgetProperties; | 17 class CFWL_WidgetProperties; |
18 class CFX_Barcode; | 18 class CFX_Barcode; |
19 class IFWL_Widget; | 19 class IFWL_Widget; |
20 | 20 |
21 #define XFA_BCS_NeedUpdate 0x0001 | 21 #define XFA_BCS_NeedUpdate 0x0001 |
22 #define XFA_BCS_EncodeSuccess 0x0002 | 22 #define XFA_BCS_EncodeSuccess 0x0002 |
23 | 23 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 void GenerateBarcodeImageCache(); | 83 void GenerateBarcodeImageCache(); |
84 void CreateBarcodeEngine(); | 84 void CreateBarcodeEngine(); |
85 | 85 |
86 std::unique_ptr<CFX_Barcode> m_pBarcodeEngine; | 86 std::unique_ptr<CFX_Barcode> m_pBarcodeEngine; |
87 IFWL_Barcode::DataProvider* m_pDataProvider; // Not owned. | 87 IFWL_Barcode::DataProvider* m_pDataProvider; // Not owned. |
88 uint32_t m_dwStatus; | 88 uint32_t m_dwStatus; |
89 BC_TYPE m_type; | 89 BC_TYPE m_type; |
90 }; | 90 }; |
91 | 91 |
92 #endif // XFA_FWL_CORE_IFWL_BARCODE_H_ | 92 #endif // XFA_FWL_CORE_IFWL_BARCODE_H_ |
OLD | NEW |