summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/basewidget/fwl_monthcalendar.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-25 13:38:37 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-25 13:38:37 -0500
commite73c5ceb8176dfd92138780f640ac193f1c0ea30 (patch)
treed7e68f16a64807c322e6f9045e2920adf564800f /xfa/include/fwl/basewidget/fwl_monthcalendar.h
parent2e6864282e65c55ff6809f5aaae011b31c3a361a (diff)
downloadpdfium-e73c5ceb8176dfd92138780f640ac193f1c0ea30.tar.xz
Remove include only fwl.h and IWYU.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1735833003 .
Diffstat (limited to 'xfa/include/fwl/basewidget/fwl_monthcalendar.h')
-rw-r--r--xfa/include/fwl/basewidget/fwl_monthcalendar.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/xfa/include/fwl/basewidget/fwl_monthcalendar.h b/xfa/include/fwl/basewidget/fwl_monthcalendar.h
index 3053947180..a57b8151c2 100644
--- a/xfa/include/fwl/basewidget/fwl_monthcalendar.h
+++ b/xfa/include/fwl/basewidget/fwl_monthcalendar.h
@@ -7,8 +7,9 @@
#ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_MONTHCALENDAR_H_
#define XFA_INCLUDE_FWL_BASEWIDGET_FWL_MONTHCALENDAR_H_
-class IFWL_MonthCalendarDP;
-class IFWL_MonthCalendar;
+#include "xfa/include/fwl/core/fwl_note.h"
+#include "xfa/include/fwl/core/fwl_widget.h"
+
#define FWL_CLASS_MonthCalendar L"FWL_MONTHCALENDAR"
#define FWL_CLASSHASH_MonthCalendar 2733931374
#define FWL_STYLEEXT_MCD_MultiSelect (1L << 0)
@@ -97,22 +98,26 @@ class IFWL_MonthCalendar;
#define FWL_EVT_MCD_DateChanged L"FWL_EVENT_MCD_DateChanged"
#define FWL_NOTEHASH_MCD_DATASELECTED 1085596932
#define FWL_EVTHASH_MCD_DateChanged 54212227
+
BEGIN_FWL_EVENT_DEF(CFWL_Event_McdDateSelected, FWL_NOTEHASH_MCD_DATASELECTED)
int32_t m_iStartDay;
int32_t m_iEndDay;
END_FWL_EVENT_DEF
+
BEGIN_FWL_EVENT_DEF(CFWL_EventMcdDateChanged, FWL_EVTHASH_MCD_DateChanged)
int32_t m_iOldYear;
int32_t m_iOldMonth;
int32_t m_iStartDay;
int32_t m_iEndDay;
END_FWL_EVENT_DEF
+
class IFWL_MonthCalendarDP : public IFWL_DataProvider {
public:
virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0;
virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0;
virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0;
};
+
class IFWL_MonthCalendar : public IFWL_Widget {
public:
static IFWL_MonthCalendar* Create(const CFWL_WidgetImpProperties& properties,