1 #if !defined(SYMBIANMAIN_H)
12 class CEikConsoleScreen
;
14 class CConsoleControl
: public CCoeControl
18 RSocketServ socketServer
;
19 CPlainText
* clipboardText
;
20 CEikConsoleScreen
* iConsole
; // Standard EIKON console control
24 static CConsoleControl
* NewL(CIoUi
* ui
, IoState
* vm
, TRect
& rect
);
26 void ConstructL(CIoUi
* ui
, IoState
* vm
, TRect
& rect
);
28 // Override CCoeControl
29 TKeyResponse
OfferKeyEventL(const TKeyEvent
& aKeyEvent
,TEventCode aType
);
32 void Print(const TDesC
& aDes
);
34 void SetFont(TFontSpec
& font
) const;
43 char* historyBuffer
[100];
45 int currentHistoryCount
;
48 class CIoUi
: public CEikAppUi
53 void CreateConsoleL();
55 void DynInitMenuPaneL(TInt resourceID
, CEikMenuPane
* pane
);
56 void AddControl(CCoeControl
* control
);
57 void RemoveControl(CCoeControl
* control
);
58 void MakeVisible(CCoeControl
* control
);
59 CEikButtonGroupContainer
* GetCba();
63 void HandleCommandL(TInt aCommand
);
67 CConsoleControl
* iConsoleControl
;
69 RPointerArray
<CCoeControl
> iControlList
;
73 TPtr16
stringToPtr16(char const* s
, int len
= -1);