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 _FWL_BARCODE_H | 7 #ifndef _FWL_BARCODE_H |
8 #define _FWL_BARCODE_H | 8 #define _FWL_BARCODE_H |
9 #include "fwl_edit.h" | 9 #include "fwl_edit.h" |
10 class CFWL_WidgetImpProperties; | 10 class CFWL_WidgetImpProperties; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual int32_t GetWideNarrowRatio() = 0; | 42 virtual int32_t GetWideNarrowRatio() = 0; |
43 virtual FX_CHAR GetStartChar() = 0; | 43 virtual FX_CHAR GetStartChar() = 0; |
44 virtual FX_CHAR GetEndChar() = 0; | 44 virtual FX_CHAR GetEndChar() = 0; |
45 virtual int32_t GetVersion() = 0; | 45 virtual int32_t GetVersion() = 0; |
46 virtual int32_t GetErrorCorrectionLevel() = 0; | 46 virtual int32_t GetErrorCorrectionLevel() = 0; |
47 virtual FX_BOOL GetTruncated() = 0; | 47 virtual FX_BOOL GetTruncated() = 0; |
48 virtual FX_DWORD GetBarcodeAttributeMask() = 0; | 48 virtual FX_DWORD GetBarcodeAttributeMask() = 0; |
49 }; | 49 }; |
50 class IFWL_Barcode : public IFWL_Edit { | 50 class IFWL_Barcode : public IFWL_Edit { |
51 public: | 51 public: |
52 static IFWL_Barcode* Create(); | 52 IFWL_Barcode(); |
53 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, | 53 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
54 IFWL_Widget* pOuter); | 54 IFWL_Widget* pOuter); |
55 void SetType(BC_TYPE type); | 55 void SetType(BC_TYPE type); |
56 FX_BOOL IsProtectedType(); | 56 FX_BOOL IsProtectedType(); |
57 | |
58 protected: | |
59 IFWL_Barcode(); | |
60 }; | 57 }; |
61 #endif | 58 #endif |
OLD | NEW |