plugins/consoles/win32cons/src/console.h
changeset 30 35cb3fe43f60
parent 0 7f656887cf89
equal deleted inserted replaced
29:9a2198517f48 30:35cb3fe43f60
    47 - Creating a new console, if the emulator is lauched from a process with no
    47 - Creating a new console, if the emulator is lauched from a process with no
    48   console. This will happen if the emulator is launched from an IDE.
    48   console. This will happen if the emulator is launched from an IDE.
    49   
    49   
    50 Piping into the emulator process via this console is as yet untested.
    50 Piping into the emulator process via this console is as yet untested.
    51 */
    51 */
    52 #ifdef EKA2
    52 NONSHARABLE_CLASS(CWin32Console) : public CConsoleBase, public MIosrvConsoleHelper
    53 NONSHARABLE_CLASS(CWin32Console)
       
    54 #else
       
    55 class CWin32Console
       
    56 #endif
       
    57 	 : public CConsoleBase
       
    58 	{
    53 	{
    59 public:
    54 public:
    60 	CWin32Console();
    55 	CWin32Console();
    61 public: // From CConsoleBase.
    56 public: // From CConsoleBase.
    62 	virtual ~CWin32Console();
    57 	virtual ~CWin32Console();
    74 	virtual TSize ScreenSize() const;
    69 	virtual TSize ScreenSize() const;
    75 	virtual TKeyCode KeyCode() const;
    70 	virtual TKeyCode KeyCode() const;
    76 	virtual TUint KeyModifiers() const;
    71 	virtual TUint KeyModifiers() const;
    77 	virtual TInt Extension_(TUint aExtensionId, TAny*& a0, TAny* a1);
    72 	virtual TInt Extension_(TUint aExtensionId, TAny*& a0, TAny* a1);
    78 	
    73 	
    79 	virtual void WriteStdErr(const TDesC& aDes);
    74 private: // From MIosrvConsoleHelper
       
    75 	TInt WriteStdErr(const TDesC& aDes);
       
    76 
    80 private:
    77 private:
    81 	TInt CreateNewConsole(const TDesC& aTitle, TSize aSize);
    78 	TInt CreateNewConsole(const TDesC& aTitle, TSize aSize);
    82 	TInt FindClientThreadId(TThreadId& aThreadId);
    79 	TInt FindClientThreadId(TThreadId& aThreadId);
    83 	static void HeapWalk(TAny* aSelf, RHeap::TCellType aCellType, TAny* aCellPtr, TInt aLength);
    80 	static void HeapWalk(TAny* aSelf, RHeap::TCellType aCellType, TAny* aCellPtr, TInt aLength);
    84 private:
    81 private: