equal
deleted
inserted
replaced
176 |
176 |
177 // |
177 // |
178 // CCmdSwi |
178 // CCmdSwi |
179 // Fshell-console based class handling swi related functionality |
179 // Fshell-console based class handling swi related functionality |
180 // |
180 // |
181 class CCmdSwi : public CCommandBase, public MCmdSwiParent |
181 class CCmdSwi : public CCommandBase, public MCmdSwiParent, public MCommandExtensionsV1 |
182 { |
182 { |
183 public: |
183 public: |
184 static CCommandBase* NewLC(); |
184 static CCommandBase* NewLC(); |
185 ~CCmdSwi(); |
185 ~CCmdSwi(); |
186 private: |
186 private: |
192 // fshell hooks |
192 // fshell hooks |
193 virtual const TDesC& Name() const; |
193 virtual const TDesC& Name() const; |
194 virtual void DoRunL(); |
194 virtual void DoRunL(); |
195 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
195 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
196 virtual void OptionsL(RCommandOptionList& aOptions); |
196 virtual void OptionsL(RCommandOptionList& aOptions); |
|
197 const TDesC* StringifyError(TInt aError) const; |
197 |
198 |
198 // MCmdSwiParent hooks |
199 // MCmdSwiParent hooks |
199 virtual RIoConsoleReadHandle& Input(); |
200 virtual RIoConsoleReadHandle& Input(); |
200 virtual RIoConsoleWriteHandle& Output(TInt aError); |
201 virtual RIoConsoleWriteHandle& Output(TInt aError); |
201 virtual void Finished(const TInt aError); |
202 virtual void Finished(TInt aError); |
202 virtual TBool GetAnswer(); |
203 virtual TBool GetAnswer(); |
203 private: |
204 private: |
204 #ifndef SYMBIAN_JAVA_NOT_INCLUDED |
205 #ifndef SYMBIAN_JAVA_NOT_INCLUDED |
205 CSwiMidletInstallerAO* iMidletHandler; |
206 CSwiMidletInstallerAO* iMidletHandler; |
206 #endif |
207 #endif |