diff -r 73ea206103e6 -r 43365a9b78a3 userlibandfileserver/fileserver/etshell/ts_std.h --- a/userlibandfileserver/fileserver/etshell/ts_std.h Wed Jun 23 19:44:53 2010 +0300 +++ b/userlibandfileserver/fileserver/etshell/ts_std.h Tue Jul 06 15:50:07 2010 +0300 @@ -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 + };