diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/txtmtmeditop_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/txtmtmeditop_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,70 @@ + + +
+ +00001 // +00002 // © 2004 Nokia Corporation. All rights reserved. +00003 // +00004 +00005 #ifndef __TXTMTMEDITOP_H__ +00006 #define __TXTMTMEDITOP_H__ +00007 +00008 // system include +00009 #include <msvapi.h> +00010 +00011 // user include +00012 #include "txtu.h" //CTextMtmUi +00013 +00014 // +00015 // CTxtMtmEditRemoteOperation: remote edit operation that copies a remote +00016 // entry to the inbox before invoking the editor/viewer on the copy +00017 // +00018 class CTxtMtmEditRemoteOperation : public CMsvOperation +00019 { +00020 public: +00021 enum TEditRemoteState +00022 { +00023 EStateFinished=0, +00024 EStateEditing, +00025 EStateCopying +00026 }; +00027 +00028 public: +00029 CTxtMtmEditRemoteOperation(CTextMtmUi& aMtmUi, CMsvSession& aMsvSession, +00030 TInt aPriority, TRequestStatus& aObserverRequestStatus); +00031 ~CTxtMtmEditRemoteOperation(); +00032 +00033 public: +00034 void StartL(TMsvEntry& aSourceEntry); +00035 +00036 public: // from CMsvOperation +00037 virtual const TDesC8& ProgressL(); +00038 +00039 private: // from CActive +00040 virtual void DoCancel(); +00041 virtual void RunL(); +00042 virtual TInt RunError(TInt aError); +00043 +00044 protected: +00045 CTextMtmUi& iMtmUi; +00046 private: +00047 +00048 TBuf8<10> iProgress; +00049 CMsvOperation* iCopyOperation; +00050 CMsvOperation* iEditOperation; +00051 TEditRemoteState iState; +00052 }; +00053 +00054 #endif // __TXTMTMEDITOP_H__ +