Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: xfa/include/fwl/basewidget/fwl_monthcalendar.h

Issue 1453373006: Kill dead IFWL_*::Initialize() variants dead. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebased Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_listbox.h ('k') | xfa/include/fwl/basewidget/fwl_picturebox.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MONTHCALENDAR_H 7 #ifndef _FWL_MONTHCALENDAR_H
8 #define _FWL_MONTHCALENDAR_H 8 #define _FWL_MONTHCALENDAR_H
9 class IFWL_MonthCalendarDP; 9 class IFWL_MonthCalendarDP;
10 class IFWL_MonthCalendar; 10 class IFWL_MonthCalendar;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 class IFWL_MonthCalendarDP : public IFWL_DataProvider { 109 class IFWL_MonthCalendarDP : public IFWL_DataProvider {
110 public: 110 public:
111 virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0; 111 virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0;
112 virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0; 112 virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0;
113 virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0; 113 virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0;
114 }; 114 };
115 class IFWL_MonthCalendar : public IFWL_Widget { 115 class IFWL_MonthCalendar : public IFWL_Widget {
116 public: 116 public:
117 static IFWL_MonthCalendar* Create(); 117 static IFWL_MonthCalendar* Create();
118 118
119 FWL_ERR Initialize(IFWL_Widget* pOuter = NULL);
120 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, 119 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
121 IFWL_Widget* pOuter = NULL); 120 IFWL_Widget* pOuter);
122 int32_t CountSelect(); 121 int32_t CountSelect();
123 FX_BOOL GetSelect(int32_t& iYear, 122 FX_BOOL GetSelect(int32_t& iYear,
124 int32_t& iMonth, 123 int32_t& iMonth,
125 int32_t& iDay, 124 int32_t& iDay,
126 int32_t nIndex = 0); 125 int32_t nIndex = 0);
127 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); 126 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay);
128 127
129 protected: 128 protected:
130 IFWL_MonthCalendar(); 129 IFWL_MonthCalendar();
131 }; 130 };
132 #endif 131 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_listbox.h ('k') | xfa/include/fwl/basewidget/fwl_picturebox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698