examples/SFExamples/PIM/AgendaRepeat/inc/CalWrite.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 #ifndef __CalWrite_H_
00018 #define __CalWrite_H_
00019 
00020 #include <calsession.h>
00021 #include <caltime.h>
00022 #include <calentryview.h>
00023 #include <calentry.h>
00024 #include <calprogresscallback.h>
00025 #include <e32const.h>
00026 #include <calrrule.h>
00027 
00028 
00029 class CCalWrite : public CBase , public MCalProgressCallBack
00030 {
00031 public:
00032 
00033         static CCalWrite* NewL();
00034         ~CCalWrite();
00035 
00036         void AddRepeatL(const TDesC& aDescription, TInt aWeeklyInterval);
00037         CCalEntryView& CalView();
00038 
00039 public: // from MCalProgressCallBack
00040 
00041         void Progress(TInt){};
00042         void Completed(TInt){};
00043         TBool NotifyProgress(){return EFalse;};
00044 
00045 private:
00046 
00047         void ConstructL();
00048         HBufC8* MakeGuidLC();
00049 
00050 private:
00051 
00052         CCalSession* iCalSes;
00053         CCalEntryView* iCalView;
00054 
00055 };
00056 
00057 #endif // __CalWrite_H_
00058 
00059 // End of File

Generated by  doxygen 1.6.2