| 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_BASEWIDGET_FWL_BARCODE_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ |
| 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_ | 8 #define XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ |
| 9 | 9 |
| 10 #include "xfa/fxbarcode/include/BC_Library.h" | 10 #include "xfa/fxbarcode/include/BC_Library.h" |
| 11 #include "xfa/include/fwl/basewidget/fwl_edit.h" | 11 #include "xfa/fwl/basewidget/ifwl_edit.h" |
| 12 | 12 |
| 13 class CFWL_WidgetImpProperties; | 13 class CFWL_WidgetImpProperties; |
| 14 | 14 |
| 15 #define FWL_CLASS_Barcode L"FWL_BARCODE" | 15 #define FWL_CLASS_Barcode L"FWL_BARCODE" |
| 16 #define FWL_CLASSHASH_Barcode 366886968 | 16 #define FWL_CLASSHASH_Barcode 366886968 |
| 17 #define FWL_BCDATTRIBUTE_CHARENCODING (1L << 0) | 17 #define FWL_BCDATTRIBUTE_CHARENCODING (1L << 0) |
| 18 #define FWL_BCDATTRIBUTE_MODULEHEIGHT (1L << 1) | 18 #define FWL_BCDATTRIBUTE_MODULEHEIGHT (1L << 1) |
| 19 #define FWL_BCDATTRIBUTE_MODULEWIDTH (1L << 2) | 19 #define FWL_BCDATTRIBUTE_MODULEWIDTH (1L << 2) |
| 20 #define FWL_BCDATTRIBUTE_DATALENGTH (1L << 3) | 20 #define FWL_BCDATTRIBUTE_DATALENGTH (1L << 3) |
| 21 #define FWL_BCDATTRIBUTE_CALCHECKSUM (1L << 4) | 21 #define FWL_BCDATTRIBUTE_CALCHECKSUM (1L << 4) |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 class IFWL_Barcode : public IFWL_Edit { | 53 class IFWL_Barcode : public IFWL_Edit { |
| 54 public: | 54 public: |
| 55 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties); | 55 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties); |
| 56 void SetType(BC_TYPE type); | 56 void SetType(BC_TYPE type); |
| 57 FX_BOOL IsProtectedType(); | 57 FX_BOOL IsProtectedType(); |
| 58 | 58 |
| 59 protected: | 59 protected: |
| 60 IFWL_Barcode(); | 60 IFWL_Barcode(); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_ | 63 #endif // XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ |
| OLD | NEW |