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