examples/SFExamples/PIM/AgendaStandard/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 <caldataexchange.h>
00026 #include <CalDataFormat.h>
00027 #include <S32STRM.H>
00028 #include <mmf\common\mmfcontrollerpluginresolver.h>
00029 
00030 
00031 
00032 class CCalWrite : public CBase , public MCalProgressCallBack
00033 {
00034 public:
00035 
00036         static CCalWrite* NewL();
00037         ~CCalWrite();
00038 
00039         void ExportEventL(TCalLocalUid aEventId, RWriteStream& aOutput);
00040         void ImportEventL(RReadStream& aInput);
00041         CCalEntryView& CalView();
00042 
00043 public: // from MCalProgressCallBack
00044 
00045         void Progress(TInt){};
00046         void Completed(TInt){};
00047         TBool NotifyProgress(){return EFalse;};
00048 
00049 private:
00050 
00051         void ConstructL();
00052 
00053 private:
00054 
00055         CCalSession* iCalSes;
00056         CCalEntryView* iCalView;
00057 
00058 };
00059 
00060 #endif // __CalWrite_H_
00061 
00062 // End of File

Generated by  doxygen 1.6.2