00001 /* 00002 * Copyright © 2008 Nokia Corporation. 00003 */ 00004 00005 00006 #ifndef CALENDARAPIEXAMPLEENTRYITEMLIST_H 00007 #define CALENDARAPIEXAMPLEENTRYITEMLIST_H 00008 00009 // INCLUDE FILES 00010 #include <aknsettingitemlist.h> 00011 #include "calendarapiexample.hrh" 00012 00013 // FORWARD DECLARATIONS 00014 class CCalHelperEntry; 00015 class CAknView; 00016 00017 // CLASS DECLARATION 00018 00019 class CCalendarAPIexampleEntryItemList : public CAknSettingItemList 00020 { 00021 public: // New functions 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: // Functions from base classes 00057 00061 CAknSettingItem* CreateSettingItemL( TInt aIdentifier ); 00062 00063 00064 private: // Data members 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
1.6.2
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.