equal
deleted
inserted
replaced
960 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
960 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
961 private: |
961 private: |
962 TFileName2 iFileName; |
962 TFileName2 iFileName; |
963 }; |
963 }; |
964 |
964 |
965 class CCmdDialog : public CCommandBase |
965 class CCmdDialog : public CCommandBase, public MCommandExtensionsV2 |
966 { |
966 { |
967 public: |
967 public: |
968 static CCommandBase* NewLC(); |
968 static CCommandBase* NewLC(); |
969 ~CCmdDialog(); |
969 ~CCmdDialog(); |
970 private: |
970 private: |
|
971 CCmdDialog(); |
|
972 void ClearLineL(RIoConsoleWriteHandle& aWriteHandle); |
|
973 private: // From CCommandBase. |
|
974 virtual const TDesC& Name() const; |
|
975 virtual void DoRunL(); |
|
976 virtual void OptionsL(RCommandOptionList& aOptions); |
|
977 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
|
978 private: // From CActive |
|
979 void RunL(); |
|
980 void DoCancel(); |
|
981 private: // From MCommandExtensionsV2 |
|
982 void CtrlCPressed(); |
|
983 |
|
984 private: |
|
985 HBufC* iTitle; |
|
986 HBufC* iBody; |
|
987 HBufC* iButton1; |
|
988 HBufC* iButton2; |
971 enum TMode |
989 enum TMode |
972 { |
990 { |
973 EModeNotifier, |
991 EModeNotifier, |
974 EModeConsole, |
992 EModeConsole, |
975 EModeNull |
993 EModeNull |
976 }; |
994 }; |
977 private: |
995 TMode iMode; |
978 CCmdDialog(); |
996 |
979 TMode ModeL() const; |
997 RNotifier iNotifier; |
980 void ClearLineL(RIoConsoleWriteHandle& aWriteHandle); |
998 TInt iReturnValue; |
981 private: // From CCommandBase. |
|
982 virtual const TDesC& Name() const; |
|
983 virtual void DoRunL(); |
|
984 virtual void OptionsL(RCommandOptionList& aOptions); |
|
985 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
|
986 private: |
|
987 HBufC* iTitle; |
|
988 HBufC* iBody; |
|
989 HBufC* iButton1; |
|
990 HBufC* iButton2; |
|
991 }; |
999 }; |
992 |
1000 |
993 #ifdef __WINS__ |
1001 #ifdef __WINS__ |
994 |
1002 |
995 class CCmdJit : public CCommandBase |
1003 class CCmdJit : public CCommandBase |