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_DATETIMEPICKER_LIGHT_H | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_DATETIMEPICKER_H_ |
8 #define _FWL_DATETIMEPICKER_LIGHT_H | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_DATETIMEPICKER_H_ |
| 9 |
9 class CFWL_Widget; | 10 class CFWL_Widget; |
10 class CFWL_WidgetProperties; | 11 class CFWL_WidgetProperties; |
11 class IFWL_DateTimePickerDP; | 12 class IFWL_DateTimePickerDP; |
12 class CFWL_DateTimePicker; | 13 class CFWL_DateTimePicker; |
13 class CFWL_DateTimePickerDP; | 14 class CFWL_DateTimePickerDP; |
14 class CFWL_DateTimePicker : public CFWL_Widget { | 15 class CFWL_DateTimePicker : public CFWL_Widget { |
15 public: | 16 public: |
16 static CFWL_DateTimePicker* Create(); | 17 static CFWL_DateTimePicker* Create(); |
17 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 18 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
18 FWL_ERR SetToday(int32_t iYear, int32_t iMonth, int32_t iDay); | 19 FWL_ERR SetToday(int32_t iYear, int32_t iMonth, int32_t iDay); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 int32_t& iYear, | 52 int32_t& iYear, |
52 int32_t& iMonth, | 53 int32_t& iMonth, |
53 int32_t& iDay); | 54 int32_t& iDay); |
54 int32_t m_iYear; | 55 int32_t m_iYear; |
55 int32_t m_iMonth; | 56 int32_t m_iMonth; |
56 int32_t m_iDay; | 57 int32_t m_iDay; |
57 CFX_WideString m_wsData; | 58 CFX_WideString m_wsData; |
58 }; | 59 }; |
59 CFWL_DateTimePickerDP m_DateTimePickerDP; | 60 CFWL_DateTimePickerDP m_DateTimePickerDP; |
60 }; | 61 }; |
61 #endif | 62 |
| 63 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_DATETIMEPICKER_H_ |
OLD | NEW |