cfwl_datetimeedit.h revision 33357cad1fd1321a2b38d2963e2585f27ce980a2
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
7#ifndef XFA_FWL_CFWL_DATETIMEEDIT_H_
8#define XFA_FWL_CFWL_DATETIMEEDIT_H_
9
10#include <memory>
11
12#include "xfa/fwl/cfwl_edit.h"
13#include "xfa/fwl/cfwl_widget.h"
14#include "xfa/fwl/cfwl_widgetproperties.h"
15
16class CFWL_DateTimeEdit : public CFWL_Edit {
17 public:
18  CFWL_DateTimeEdit(const CFWL_App* app,
19                    std::unique_ptr<CFWL_WidgetProperties> properties,
20                    CFWL_Widget* pOuter);
21
22  // CFWL_Edit.
23  void OnProcessMessage(CFWL_Message* pMessage) override;
24
25 private:
26  void DisForm_OnProcessMessage(CFWL_Message* pMessage);
27};
28
29#endif  // XFA_FWL_CFWL_DATETIMEEDIT_H_
30