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_SRC_FWL_SRC_BASEWIDGET_FWL_BARCODEIMP_H_ | 7 #ifndef XFA_SRC_FWL_BASEWIDGET_FWL_BARCODEIMP_H_ |
8 #define XFA_SRC_FWL_SRC_BASEWIDGET_FWL_BARCODEIMP_H_ | 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_BARCODEIMP_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/basewidget/fwl_scrollbar.h" | 11 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h" |
12 #include "xfa/include/fwl/basewidget/fxmath_barcode.h" | 12 #include "xfa/include/fwl/basewidget/fxmath_barcode.h" |
13 #include "xfa/src/fwl/src/basewidget/fwl_editimp.h" | 13 #include "xfa/src/fwl/basewidget/fwl_editimp.h" |
14 | 14 |
15 class CFWL_WidgetImpProperties; | 15 class CFWL_WidgetImpProperties; |
16 class CFWL_BarcodeImpDelegate; | 16 class CFWL_BarcodeImpDelegate; |
17 class IFWL_Widget; | 17 class IFWL_Widget; |
18 | 18 |
19 #define XFA_BCS_NeedUpdate 0x0001 | 19 #define XFA_BCS_NeedUpdate 0x0001 |
20 #define XFA_BCS_EncodeSuccess 0x0002 | 20 #define XFA_BCS_EncodeSuccess 0x0002 |
21 | 21 |
22 class CFWL_BarcodeImp : public CFWL_EditImp { | 22 class CFWL_BarcodeImp : public CFWL_EditImp { |
23 public: | 23 public: |
(...skipping 20 matching lines...) Expand all Loading... |
44 BC_TYPE m_type; | 44 BC_TYPE m_type; |
45 friend class CFWL_BarcodeImpDelegate; | 45 friend class CFWL_BarcodeImpDelegate; |
46 }; | 46 }; |
47 | 47 |
48 class CFWL_BarcodeImpDelegate : public CFWL_EditImpDelegate { | 48 class CFWL_BarcodeImpDelegate : public CFWL_EditImpDelegate { |
49 public: | 49 public: |
50 CFWL_BarcodeImpDelegate(CFWL_BarcodeImp* pOwner); | 50 CFWL_BarcodeImpDelegate(CFWL_BarcodeImp* pOwner); |
51 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override; | 51 FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override; |
52 }; | 52 }; |
53 | 53 |
54 #endif // XFA_SRC_FWL_SRC_BASEWIDGET_FWL_BARCODEIMP_H_ | 54 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_BARCODEIMP_H_ |
OLD | NEW |