dsinclair | fb50559 | 2016-10-20 06:44:03 -0700 | [diff] [blame] | 1 | // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | |
dsinclair | 447b1f3 | 2016-12-08 10:06:32 -0800 | [diff] [blame] | 7 | #ifndef XFA_FWL_CFWL_DATETIMEEDIT_H_ |
| 8 | #define XFA_FWL_CFWL_DATETIMEEDIT_H_ |
dsinclair | fb50559 | 2016-10-20 06:44:03 -0700 | [diff] [blame] | 9 | |
Dan Sinclair | 85c8e7f | 2016-11-21 13:50:32 -0500 | [diff] [blame] | 10 | #include <memory> |
| 11 | |
dsinclair | 447b1f3 | 2016-12-08 10:06:32 -0800 | [diff] [blame] | 12 | #include "xfa/fwl/cfwl_edit.h" |
| 13 | #include "xfa/fwl/cfwl_widget.h" |
| 14 | #include "xfa/fwl/cfwl_widgetproperties.h" |
dsinclair | fb50559 | 2016-10-20 06:44:03 -0700 | [diff] [blame] | 15 | |
dsinclair | 2c489cc | 2016-11-23 16:17:20 -0800 | [diff] [blame] | 16 | class CFWL_DateTimeEdit : public CFWL_Edit { |
dsinclair | fb50559 | 2016-10-20 06:44:03 -0700 | [diff] [blame] | 17 | public: |
dsinclair | 0ce11ee | 2016-11-23 16:03:10 -0800 | [diff] [blame] | 18 | CFWL_DateTimeEdit(const CFWL_App* app, |
dsinclair | a5811f0 | 2016-11-03 12:27:25 -0700 | [diff] [blame] | 19 | std::unique_ptr<CFWL_WidgetProperties> properties, |
dsinclair | 2c489cc | 2016-11-23 16:17:20 -0800 | [diff] [blame] | 20 | CFWL_Widget* pOuter); |
dsinclair | fb50559 | 2016-10-20 06:44:03 -0700 | [diff] [blame] | 21 | |
dsinclair | 2c489cc | 2016-11-23 16:17:20 -0800 | [diff] [blame] | 22 | // CFWL_Edit. |
dsinclair | fb50559 | 2016-10-20 06:44:03 -0700 | [diff] [blame] | 23 | void OnProcessMessage(CFWL_Message* pMessage) override; |
| 24 | |
dsinclair | fb50559 | 2016-10-20 06:44:03 -0700 | [diff] [blame] | 25 | private: |
| 26 | void DisForm_OnProcessMessage(CFWL_Message* pMessage); |
| 27 | }; |
| 28 | |
dsinclair | 447b1f3 | 2016-12-08 10:06:32 -0800 | [diff] [blame] | 29 | #endif // XFA_FWL_CFWL_DATETIMEEDIT_H_ |