45 #ifndef __WTX_CALENDARMODELPROVIDER_H___ 46 #define __WTX_CALENDARMODELPROVIDER_H___ 48 #include <Wt/WObject.h> 49 #include <Wt/WAbstractItemModel.h> 73 const std::string & name,
74 const std::string & dateStart =
"dateStart",
75 const std::string & dateEnd =
"dateEnd",
76 const std::string & timeStart =
"timeStart",
77 const std::string & timeEnd =
"timeEnd",
78 const std::string & subject =
"subject",
79 const std::string & body =
"body" 82 virtual std::shared_ptr<Wt::WAbstractItemModel> getModel(
const Wt::WDate & date,
const std::vector<std::string> & fieldList );
84 const std::string & name()
const;
85 const std::string & dateStart()
const;
86 const std::string & dateEnd()
const;
87 const std::string & timeStart()
const;
88 const std::string & timeEnd()
const;
89 const std::string & subject()
const;
90 const std::string & body()
const;
94 const std::string & dateStart,
95 const std::string & dateEnd,
96 const std::string & timeStart,
97 const std::string & timeEnd,
98 const std::string & subject,
99 const std::string & body
107 std::string m_dateStart;
108 std::string m_dateEnd;
109 std::string m_timeStart;
110 std::string m_timeEnd;
111 std::string m_subject;
121 #endif // end#ifndef __WTX_CALENDARMODELPROVIDER_H___