equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
40 public: |
40 public: |
41 CTimeout(); |
41 CTimeout(); |
42 void ConstructL(CMainWindow* aWindow); |
42 void ConstructL(CMainWindow* aWindow); |
43 void RunL(); |
43 void RunL(); |
44 void SetMainWindow(CMainWindow* aWindow); |
44 void SetMainWindow(CMainWindow* aWindow); |
45 //protected: |
|
46 // TCallBack iCallBack; |
|
47 private: |
45 private: |
48 CMainWindow* iWindow; |
46 CMainWindow* iWindow; |
49 }; |
47 }; |
50 |
48 |
51 /** |
49 /** |
67 public: |
65 public: |
68 void ConstructL(); |
66 void ConstructL(); |
69 // destruct |
67 // destruct |
70 ~CWsClient(); |
68 ~CWsClient(); |
71 // main window |
69 // main window |
72 virtual void ConstructMainWindowL(); |
70 virtual void ConstructMainWindowL()=0; |
73 // terminate cleanly |
71 // terminate cleanly |
74 void Exit(); |
72 void Exit(); |
75 // active object protocol |
73 // active object protocol |
76 void IssueRequest(); // request an event |
74 void IssueRequest(); // request an event |
77 void DoCancel(); // cancel the request |
75 void DoCancel(); // cancel the request |
155 { |
153 { |
156 public: |
154 public: |
157 CMainWindow (CWsClient* aClient); |
155 CMainWindow (CWsClient* aClient); |
158 ~CMainWindow (); |
156 ~CMainWindow (); |
159 void Draw (const TRect& aRect); |
157 void Draw (const TRect& aRect); |
|
158 CFbsBitmap* ReadSVGL (TFileName aFileName); |
160 void HandlePointerEvent (TPointerEvent& aPointerEvent); |
159 void HandlePointerEvent (TPointerEvent& aPointerEvent); |
161 void ConstructL (const TRect& aRect, CWindow* aParent=0); |
160 void ConstructL (const TRect& aRect, CWindow* aParent=0); |
162 private: |
161 private: |
163 CFbsBitmap *iBitmap; |
162 CFbsBitmap *iBitmap; |
164 |
163 |