|
1 /* |
|
2 * Copyright (c) 2003 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: SVG Engine header file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __INC_MSVGEVENTRECEIVER__ |
|
20 #define __INC_MSVGEVENTRECEIVER__ |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 class MSvgEvent; |
|
26 |
|
27 |
|
28 /** |
|
29 * Class description goes here. |
|
30 * |
|
31 * @lib SVGEngine.lib |
|
32 * @since 1.0 |
|
33 */ |
|
34 class MSvgEventReceiver |
|
35 { |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Receive and process and event |
|
40 * |
|
41 * @since 1.0 |
|
42 * @param aEvent - A event that matches the event mask registered for |
|
43 * @return A boolean that indicates success/failure of event processing |
|
44 */ |
|
45 virtual TBool ReceiveEventL( MSvgEvent* aEvent ) = 0; |
|
46 |
|
47 /** |
|
48 * Receive and process and event |
|
49 * |
|
50 * @since 3.2 |
|
51 * @param aEvent - A event that matches the event mask registered for |
|
52 * @param aSubEventMask - The mask that tells which interactive event is |
|
53 * associated with the element. |
|
54 * @return A boolean that indicates success/failure of event processing |
|
55 */ |
|
56 virtual TBool ReceiveEventL( MSvgEvent* aEvent, const TUint16 aSubEventMask ) = 0; |
|
57 |
|
58 /** |
|
59 * Reset the state of the target element |
|
60 * |
|
61 * @since 1.0 |
|
62 * @param None |
|
63 * @return None |
|
64 */ |
|
65 virtual void ResetReferenceElementL() = 0; |
|
66 |
|
67 virtual void ResetReferenceAttrSet() = 0; |
|
68 |
|
69 virtual void Reset(MSvgEvent* aEvent) = 0; |
|
70 virtual void ReInitializeAnimation() = 0; |
|
71 virtual void DeactivateAnimation() = 0; |
|
72 /* |
|
73 * This function is specifically introduced to take care of AnimProcL |
|
74 * |
|
75 *@param None. |
|
76 * @return TBool. representing whether the AnimProcL was sucessful or some error |
|
77 * was encountered. |
|
78 */ |
|
79 virtual TBool DoAnimProcL(MSvgEvent* aEvent) = 0; |
|
80 |
|
81 |
|
82 }; |
|
83 |
|
84 #endif /*__INC_MSvgEventReceiver__*/ |