00001
00002
00003
00004
00005
00006 #ifndef CALENDARAPIEXAMPLEENTRYITEMLIST_H
00007 #define CALENDARAPIEXAMPLEENTRYITEMLIST_H
00008
00009
00010 #include <aknsettingitemlist.h>
00011 #include "calendarapiexample.hrh"
00012
00013
00014 class CCalHelperEntry;
00015 class CAknView;
00016
00017
00018
00019 class CCalendarAPIexampleEntryItemList : public CAknSettingItemList
00020 {
00021 public:
00022
00028 void SetData(const CCalHelperEntry& aData);
00029
00036 TBool SaveL();
00037
00043 void GetValues(TDes& aName, TTime& aDate,
00044 TBool& aAlarm, TTime& aAlarmTime,
00045 TInt& aSync);
00046
00047 void SetValues( const TDesC& aName,
00048 const TDateTime& aDate,
00049 const TBool& aAlarm,
00050 const TDateTime& aAlarmTime,
00051 const TInt& aSync);
00056 private:
00057
00061 CAknSettingItem* CreateSettingItemL( TInt aIdentifier );
00062
00063
00064 private:
00065
00066 TBuf<KMaxNameLength> iName;
00067 TTime iDate;
00068 TBool iAlarm;
00069 TTime iAlarmDate;
00070 TTime iAlarmTime;
00071 TInt iSync;
00072
00073 };
00074
00075 #endif