equal
deleted
inserted
replaced
818 static CCommandBase* NewLC(); |
818 static CCommandBase* NewLC(); |
819 ~CCmdTime(); |
819 ~CCmdTime(); |
820 private: |
820 private: |
821 CCmdTime(); |
821 CCmdTime(); |
822 void NextIterationL(); |
822 void NextIterationL(); |
|
823 void IterationComplete(TInt aError); |
823 private: // From CCommandBase. |
824 private: // From CCommandBase. |
824 virtual const TDesC& Name() const; |
825 virtual const TDesC& Name() const; |
825 virtual void DoRunL(); |
826 virtual void DoRunL(); |
826 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
827 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
827 virtual void OptionsL(RCommandOptionList& aOptions); |
828 virtual void OptionsL(RCommandOptionList& aOptions); |
828 private: // From MParserObserver. |
829 private: // From MParserObserver. |
829 virtual void HandleParserComplete(CParser& aParser, const TError& aError); |
830 virtual void HandleParserComplete(CParser& aParser, const TError& aError); |
|
831 virtual void HandleParserExit(CParser& aParser); |
830 private: |
832 private: |
831 HBufC* iCommandLine; |
833 HBufC* iCommandLine; |
832 TUint32 iCountBefore; |
834 TUint32 iCountBefore; |
833 CParser* iParser; |
835 CParser* iParser; |
834 TBool iHuman; |
836 TBool iHuman; |
845 static CCommandBase* NewLC(); |
847 static CCommandBase* NewLC(); |
846 ~CCmdRepeat(); |
848 ~CCmdRepeat(); |
847 private: |
849 private: |
848 CCmdRepeat(); |
850 CCmdRepeat(); |
849 void CreateParserL(); |
851 void CreateParserL(); |
850 void HandleParserCompleteL(const TError& aError); |
852 void HandleParserCompleteL(TInt aError); |
851 private: // From CCommandBase. |
853 private: // From CCommandBase. |
852 virtual const TDesC& Name() const; |
854 virtual const TDesC& Name() const; |
853 virtual void DoRunL(); |
855 virtual void DoRunL(); |
854 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
856 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
855 virtual void OptionsL(RCommandOptionList& aOptions); |
857 virtual void OptionsL(RCommandOptionList& aOptions); |
856 private: // From MParserObserver. |
858 private: // From MParserObserver. |
857 virtual void HandleParserComplete(CParser& aParser, const TError& aError); |
859 virtual void HandleParserComplete(CParser& aParser, const TError& aError); |
|
860 virtual void HandleParserExit(CParser& aParser); |
858 private: |
861 private: |
859 HBufC* iCommandLine; |
862 HBufC* iCommandLine; |
860 CParser* iParser; |
863 CParser* iParser; |
861 TUint iCount; |
864 TUint iCount; |
862 TUint iNumRepeats; |
865 TUint iNumRepeats; |
1252 static CCommandBase* NewLC(); |
1255 static CCommandBase* NewLC(); |
1253 ~CCmdForEach(); |
1256 ~CCmdForEach(); |
1254 private: |
1257 private: |
1255 CCmdForEach(); |
1258 CCmdForEach(); |
1256 void DoNextL(TBool aFirstTime=EFalse); |
1259 void DoNextL(TBool aFirstTime=EFalse); |
|
1260 void IterationComplete(TInt aError); |
1257 private: // From CCommandBase. |
1261 private: // From CCommandBase. |
1258 virtual const TDesC& Name() const; |
1262 virtual const TDesC& Name() const; |
1259 virtual void DoRunL(); |
1263 virtual void DoRunL(); |
1260 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
1264 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
1261 private: // From MParserObserver. |
1265 private: // From MParserObserver. |
1262 virtual void HandleParserComplete(CParser& aParser, const TError& aError); |
1266 virtual void HandleParserComplete(CParser& aParser, const TError& aError); |
|
1267 virtual void HandleParserExit(CParser& aParser); |
1263 private: |
1268 private: |
1264 TFileName2 iDirName; |
1269 TFileName2 iDirName; |
1265 RDir iDir; |
1270 RDir iDir; |
1266 TInt iLastError; |
1271 TInt iLastError; |
1267 }; |
1272 }; |