equal
deleted
inserted
replaced
117 /** |
117 /** |
118 Write to StdErr of the underlying console if the console supports this. |
118 Write to StdErr of the underlying console if the console supports this. |
119 */ |
119 */ |
120 static inline TInt Write(CBase* aConsole, const TDesC& aDes); |
120 static inline TInt Write(CBase* aConsole, const TDesC& aDes); |
121 }; |
121 }; |
|
122 |
|
123 // BC on this interface is not guaranteed - only for use by things inside /fshell/plugins/consoles |
|
124 class MIosrvConsoleHelper |
|
125 { |
|
126 protected: |
|
127 enum TVerbosity |
|
128 { |
|
129 EInformation, |
|
130 EError, |
|
131 EDebug, |
|
132 }; |
|
133 IMPORT_C void Message(TVerbosity aVerbosity, TRefByValue<const TDesC> aFmt, ...); |
|
134 IMPORT_C TBool Debug() const; |
|
135 IMPORT_C void SetDebug(TBool aDebug); |
|
136 IMPORT_C void HandleConsoleCreationError(const TDesC& aConsoleName, TInt aError); |
|
137 IMPORT_C void CleanupUnderlyingConsole(); |
|
138 IMPORT_C CConsoleBase* UnderlyingConsole() const; |
|
139 |
|
140 IMPORT_C TInt MIosrvConsoleHelper_Extension(TUint aExtensionId, TAny*& a0, TAny* a1); |
122 |
141 |
|
142 IMPORT_C virtual TInt WriteStdErr(const TDesC& aDes); // Default returns KErrExtensionNotSupported |
|
143 |
|
144 private: |
|
145 TBool iDebug; |
|
146 CConsoleBase* iUnderlyingConsole; |
|
147 }; |
|
148 |
123 #include <fshell/consoleextensions.inl> |
149 #include <fshell/consoleextensions.inl> |
124 |
150 |
125 #endif //__CONSOLEEXTENSIONS_H__ |
151 #endif //__CONSOLEEXTENSIONS_H__ |