1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #if (!defined __T_GRAPHICS_WSERV_WSGRAPHIC_H__) |
|
20 #define __T_GRAPHICS_WSERV_WSGRAPHIC_H__ |
|
21 |
|
22 // User Includes |
|
23 #include "DataWrapperBase.h" |
|
24 |
|
25 // EPOC Includes |
|
26 #include <w32std.h> |
|
27 |
|
28 /** |
|
29 * Test Active Notification class |
|
30 * |
|
31 */ |
|
32 class CT_DataWsGraphic : public CDataWrapperBase |
|
33 { |
|
34 public: |
|
35 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); |
|
36 |
|
37 protected: |
|
38 /** |
|
39 * Protected constructor. First phase construction |
|
40 */ |
|
41 CT_DataWsGraphic(); |
|
42 |
|
43 virtual CWsGraphic* GetWsGraphic() const = 0; |
|
44 virtual TInt Share(TSecureId aClientId) = 0; |
|
45 virtual TInt ShareGlobally() = 0; |
|
46 virtual TInt UnShare(TSecureId aClientId) = 0; |
|
47 virtual TInt UnShareGlobally() = 0; |
|
48 |
|
49 private: |
|
50 // Helper methods |
|
51 void DoCmdDestructorL(); |
|
52 void DoCmdDestroy(); |
|
53 void DoCmdIdL(const TDesC& aEntry); |
|
54 void DoCmdIsActive(const TDesC& aEntry); |
|
55 void DoCmdShareGlobally(); |
|
56 void DoCmdShare(const TDesC& aEntry); |
|
57 void DoCmdUnShare(const TDesC& aEntry); |
|
58 void DoCmdUnShareGlobally(); |
|
59 }; |
|
60 |
|
61 #endif /* __T_GRAPHICS_WSERV_WSGRAPHIC_H__ */ |
|