diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_cal_example_8h-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_cal_example_8h-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - -
-00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). -00002 // All rights reserved. -00003 // This component and the accompanying materials are made available -00004 // under the terms of "Eclipse Public License v1.0" -00005 // which accompanies this distribution, and is available -00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". -00007 // -00008 // Initial Contributors: -00009 // Nokia Corporation - initial contribution. -00010 // -00011 // Contributors: -00012 // -00013 // Description: -00014 // -00015 -00016 #ifndef __CALEXAMPLE_H__ -00017 #define __CALEXAMPLE_H__ -00018 -00019 #include <e32base.h> -00020 #include <e32cons.h> -00021 -00022 #include <calsession.h> -00023 #include <calprogresscallback.h> -00024 #include <calrrule.h> -00025 #include <calentry.h> -00026 #include <calentryview.h> -00027 #include <caltime.h> -00028 #include <calalarm.h> -00029 #include <calcategory.h> -00030 -00031 #include <caluser.h> -00032 #include <calinstanceview.h> -00033 -00034 _LIT8(KGuid, "13012006GlobalUId@nokia.com"); -00035 -00036 // Demonstrates how to create, add, fetch and update entries. -00037 // Uses an entry view to display a non repeating appointment, with -00038 // a start and end date/time, a description, a category and some attendees. -00039 class CCalExample: public CBase, public MCalProgressCallBack -00040 { -00041 public: -00042 -00043 static CCalExample* NewL(); -00044 ~CCalExample(); -00045 -00046 void AddEntryL(); -00047 void UpdateEntryL(); -00048 void FetchEntriesL(RPointerArray<CCalEntry>& aCalEntryArray); -00049 void PrintEntryDetailsL(); -00050 -00051 void FindInstanceL(); -00052 void AddOriginatingEntryL(); -00053 void AddmodifyingEntryL(); -00054 void DeleteEntryL(); -00055 -00056 // Overridden functions of MCalProgressCallBack class -00057 void Progress(TInt aPercentageCompleted); -00058 void Completed(TInt aError); -00059 TBool NotifyProgress(); -00060 -00061 private: -00062 CCalExample(); -00063 void ConstructL(); -00064 void SetEntryDetailsL(CCalEntry* aEntry,const TDesC& aDescription, TDateTime& aStartTime,TDateTime& aEndTime); -00065 -00066 private: -00067 CConsoleBase* iConsole; -00068 CCalSession* iCalSession; -00069 CCalEntryView* iCalEntryView; -00070 }; -00071 -00072 #endif //__CALEXAMPLE_H__ -