diff -r 5af6c74cd793 -r af6ec97d9189 userlibandfileserver/fileserver/etshell/ts_std.h --- a/userlibandfileserver/fileserver/etshell/ts_std.h Wed Jun 23 11:59:44 2010 +0100 +++ b/userlibandfileserver/fileserver/etshell/ts_std.h Wed Jun 23 12:52:28 2010 +0100 @@ -146,6 +146,10 @@ static TKeyCode OutputStringToConsole(TBool aPageSwitch,TRefByValue aFmt,...); static TKeyCode OutputStringToConsole(TBool aPageSwitch, const TDesC& aBuf); static TKeyCode OutputStringToConsole(const TDesC& aNotification,TBool aPageSwitch,TRefByValue aFmt,...); + + static void Printf(TRefByValue aFmt, ...); + static void SetDbgConsoleEcho(TBool aOn) {iDbgPrint = aOn;} + public: static CConsoleBase* TheConsole; static CFileMan* TheFileMan; @@ -166,6 +170,7 @@ static TInt RunBatch(TDes& aCommand); static TInt RunExecutable(TDes& aCommand,TBool aWaitForCompletion); static TKeyCode PageSwitchDisplay(const TDesC& aBuf); + private: static TBuf currentPath; static TBuf drivePaths[KMaxDrives]; @@ -174,6 +179,9 @@ static CLineEdit* TheEditor; friend class ShellFunction; friend class CDllChecker; + + static TBool iDbgPrint; ///< if ETrue, the output from CShell::Printf is copied to the debug port + };