diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_cal_example_8h-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_cal_example_8h-source.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,84 @@ + + +TB10.1 Example Applications: examples/AppEngine/CalInterimApi/CalExample.h Source File + + + + +

examples/AppEngine/CalInterimApi/CalExample.h

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__
+

Generated on Thu Jan 21 10:32:54 2010 for TB10.1 Example Applications by  + +doxygen 1.5.3
+ +