|
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 the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-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_DATA_WS_GRAPHIC_ANNIMATION_H__) |
|
20 #define __T_DATA_WS_GRAPHIC_ANNIMATION_H__ |
|
21 |
|
22 // User Includes |
|
23 #include "T_DataWsGraphicMsgFixedBase.h" |
|
24 |
|
25 // EPOC Includes |
|
26 #include <w32stdgraphic.h> |
|
27 |
|
28 /** |
|
29 * Test Active Notification class |
|
30 * |
|
31 */ |
|
32 class CT_DataWsGraphicAnimation : public CT_DataWsGraphicMsgFixedBase |
|
33 { |
|
34 public: |
|
35 CT_DataWsGraphicAnimation(); |
|
36 ~CT_DataWsGraphicAnimation(); |
|
37 |
|
38 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); |
|
39 |
|
40 virtual TAny* GetObject(); |
|
41 |
|
42 protected: |
|
43 // CT_DataWsGraphicMsgFixedBase implementation |
|
44 virtual TWsGraphicMsgFixedBase* GetWsGraphicMsgFixedBase() const; |
|
45 |
|
46 private: |
|
47 /** |
|
48 * Helper methods |
|
49 */ |
|
50 void DestroyData(); |
|
51 void DoCmdnew(); |
|
52 void DoCmdIsPaused(const TDesC& aSection); |
|
53 void DoCmdIsPlaying(const TDesC& aSection); |
|
54 void DoCmdIsStopped(const TDesC& aSection); |
|
55 void DoCmdIsStopping(const TDesC& aSection); |
|
56 void DoCmdLoops(const TDesC& aSection); |
|
57 void DoCmdPause(); |
|
58 void DoCmdPlay(const TDesC& aSection); |
|
59 void DoCmdStop(const TDesC& aSection); |
|
60 |
|
61 private: |
|
62 TWsGraphicAnimation* iWsGraphicAnimation; |
|
63 }; |
|
64 |
|
65 #endif /* __T_DATA_WS_GRAPHIC_ANNIMATION_H__ */ |