142 void SetCurrentPath(const TDesC& aDes); |
142 void SetCurrentPath(const TDesC& aDes); |
143 TDes& CurrentPath(); |
143 TDes& CurrentPath(); |
144 void SetDrivePath(const TDesC& aDes); |
144 void SetDrivePath(const TDesC& aDes); |
145 static void NewLine(); |
145 static void NewLine(); |
146 static TKeyCode OutputStringToConsole(TBool aPageSwitch,TRefByValue<const TDesC> aFmt,...); |
146 static TKeyCode OutputStringToConsole(TBool aPageSwitch,TRefByValue<const TDesC> aFmt,...); |
|
147 static TKeyCode OutputStringToConsole(TBool aPageSwitch, const TDesC& aBuf); |
147 static TKeyCode OutputStringToConsole(const TDesC& aNotification,TBool aPageSwitch,TRefByValue<const TDesC> aFmt,...); |
148 static TKeyCode OutputStringToConsole(const TDesC& aNotification,TBool aPageSwitch,TRefByValue<const TDesC> aFmt,...); |
148 |
149 |
149 static TKeyCode WriteBufToConsole(TBool aPageSwitch, const TDesC& aBuf); |
|
150 static TKeyCode WriteBufToConsole(TBool aPageSwitch, const TDesC& aBuf, const TDesC& aNotification); |
|
151 |
|
152 |
|
153 static void Printf(TRefByValue<const TDesC16> aFmt, ...); |
150 static void Printf(TRefByValue<const TDesC16> aFmt, ...); |
154 static void Print(const TDesC16& aBuf); |
|
155 static void SetDbgConsoleEcho(TBool aOn) {iDbgPrint = aOn;} |
151 static void SetDbgConsoleEcho(TBool aOn) {iDbgPrint = aOn;} |
156 |
152 |
157 public: |
153 public: |
158 static CConsoleBase* TheConsole; |
154 static CConsoleBase* TheConsole; |
159 static CFileMan* TheFileMan; |
155 static CFileMan* TheFileMan; |
276 static void StripQuotes(TDes& aVal); |
272 static void StripQuotes(TDes& aVal); |
277 |
273 |
278 private: |
274 private: |
279 static TInt ShowDirectoryTree(TDes& aPath,TUint aSwitches,TDes& aTreeGraph); |
275 static TInt ShowDirectoryTree(TDes& aPath,TUint aSwitches,TDes& aTreeGraph); |
280 static TBool Certain(); |
276 static TBool Certain(); |
281 static TBool OutputContentsToConsole(RPointerArray<HBufC>& aText,TUint aSwitches); |
277 static void OutputContentsToConsole(RPointerArray<HBufC>& aText,TUint aSwitches); |
282 static void OutputDirContentL(CDir* aDirList,RPointerArray<HBufC>& aText,TUint aSwitches); |
278 static void OutputDirContentL(CDir* aDirList,RPointerArray<HBufC>& aText,TUint aSwitches); |
283 }; |
279 }; |
284 |
280 |
285 GLREF_D TVersion TheShellVersion; |
281 GLREF_D TVersion TheShellVersion; |
286 GLREF_C void Panic(TShellPanic anErrorCode); |
282 GLREF_C void Panic(TShellPanic anErrorCode); |