2
|
1 |
<!-- BEGIN EVENT formatChanged -->
|
|
2 |
<templateGroup id="GenerateFormatChangedEvent" ifEvents="EEventFormatChanged">
|
|
3 |
|
|
4 |
<template id="FormatChangedEventCase" phase="InitializeControlHandlers">
|
|
5 |
<![CDATA[
|
|
6 |
AddEdwinEventHandlerL(
|
|
7 |
${this.getInstanceMemberName(instance)},
|
|
8 |
EEventFormatChanged,
|
|
9 |
&${className}::${event.handlerName} );
|
|
10 |
]]>
|
|
11 |
</template>
|
|
12 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
13 |
FunctionLocationId="FormatChangedHandler"
|
|
14 |
FunctionArgs="CEikEdwin* /*aEdwin*/, TEdwinEvent /*aEventType*/"
|
|
15 |
DeclPhase="UserHandlers"
|
|
16 |
DefnLocation="SOURCE_FILE" />
|
|
17 |
|
|
18 |
</templateGroup>
|
|
19 |
<!-- END EVENT formatChanged -->
|
|
20 |
|
|
21 |
<!-- BEGIN EVENT Navigation -->
|
|
22 |
<templateGroup id="GenerateNavigationEvent" ifEvents="EEventNavigation">
|
|
23 |
|
|
24 |
<template id="FormatNavigationCase" phase="InitializeControlHandlers">
|
|
25 |
<![CDATA[
|
|
26 |
AddEdwinEventHandlerL(
|
|
27 |
${this.getInstanceMemberName(instance)},
|
|
28 |
EEventNavigation,
|
|
29 |
&${className}::${event.handlerName} );
|
|
30 |
]]>
|
|
31 |
</template>
|
|
32 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
33 |
FunctionLocationId="NavigationHandler"
|
|
34 |
FunctionArgs="CEikEdwin* /*aEdwin*/, TEdwinEvent /*aEventType*/"
|
|
35 |
DeclPhase="UserHandlers"
|
|
36 |
DefnLocation="SOURCE_FILE" />
|
|
37 |
|
|
38 |
</templateGroup>
|
|
39 |
<!-- END EVENT Navigation -->
|
|
40 |
|
|
41 |
<!-- BEGIN EVENT PrepareForSelectionDelete -->
|
|
42 |
<templateGroup id="GeneratePrepareForSelectionDeleteEvent" ifEvents="EEventPrepareForSelectionDelete">
|
|
43 |
|
|
44 |
<template id="PrepareForSelectionDeleteCase" phase="InitializeControlHandlers">
|
|
45 |
<![CDATA[
|
|
46 |
AddEdwinEventHandlerL(
|
|
47 |
${this.getInstanceMemberName(instance)},
|
|
48 |
EEventPrepareForSelectionDelete,
|
|
49 |
&${className}::${event.handlerName} );
|
|
50 |
]]>
|
|
51 |
</template>
|
|
52 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
53 |
FunctionLocationId="PrepareForSelectionDeleteHandler"
|
|
54 |
FunctionArgs="CEikEdwin* /*aEdwin*/, TEdwinEvent /*aEventType*/"
|
|
55 |
DeclPhase="UserHandlers"
|
|
56 |
DefnLocation="SOURCE_FILE" />
|
|
57 |
|
|
58 |
</templateGroup>
|
|
59 |
<!-- END EVENT PrepareForSelectionDelete -->
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
<!-- BEGIN EVENT EEventStateChanged -->
|
|
68 |
|
|
69 |
<templateGroup id="GenerateStateChangedEvent" ifEvents="EEventStateChanged" form="EventGen">
|
|
70 |
|
|
71 |
<template id="StateChangedEventCase" phase="InitializeControlHandlers">
|
|
72 |
<![CDATA[
|
|
73 |
AddControlEventHandlerL(
|
|
74 |
${this.getInstanceMemberName(instance)},
|
|
75 |
EEventStateChanged,
|
|
76 |
&${className}::${event.handlerName} );
|
|
77 |
]]>
|
|
78 |
</template>
|
|
79 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
80 |
FunctionLocationId="StateChangedHandler"
|
|
81 |
FunctionArgs="CCoeControl* /*aControl*/, TCoeEvent /*aEvent*/"
|
|
82 |
DeclPhase="UserHandlers"
|
|
83 |
DefnLocation="SOURCE_FILE" />
|
|
84 |
|
|
85 |
</templateGroup>
|
|
86 |
|
|
87 |
<!-- END EVENT EEventStateChanged -->
|
|
88 |
|
|
89 |
<!-- BEGIN EVENT EEventRequestExit -->
|
|
90 |
|
|
91 |
<templateGroup id="GenerateRequestExitEvent" ifEvents="EEventRequestExit" form="EventGen">
|
|
92 |
|
|
93 |
<template id="RequestExitEventCase" phase="InitializeControlHandlers">
|
|
94 |
<![CDATA[
|
|
95 |
AddControlEventHandlerL(
|
|
96 |
${this.getInstanceMemberName(instance)},
|
|
97 |
EEventRequestExit,
|
|
98 |
&${className}::${event.handlerName} );
|
|
99 |
]]>
|
|
100 |
|
|
101 |
</template>
|
|
102 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
103 |
FunctionLocationId="RequestExitHandler"
|
|
104 |
FunctionArgs="CCoeControl* /*aControl*/, TCoeEvent /*aEvent*/"
|
|
105 |
DeclPhase="UserHandlers"
|
|
106 |
DefnLocation="SOURCE_FILE" />
|
|
107 |
|
|
108 |
</templateGroup>
|
|
109 |
|
|
110 |
<!-- END EVENT EEventRequestExit -->
|
|
111 |
|
|
112 |
<!-- BEGIN EVENT EEventRequestCancel -->
|
|
113 |
|
|
114 |
<templateGroup id="GenerateRequestCancelEvent" ifEvents="EEventRequestCancel" form="EventGen">
|
|
115 |
|
|
116 |
<template id="RequestCancelEventCase" phase="InitializeControlHandlers">
|
|
117 |
<![CDATA[
|
|
118 |
AddControlEventHandlerL(
|
|
119 |
${this.getInstanceMemberName(instance)},
|
|
120 |
EEventRequestCancel,
|
|
121 |
&${className}::${event.handlerName} );
|
|
122 |
]]>
|
|
123 |
</template>
|
|
124 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
125 |
FunctionLocationId="RequestCancelHandler"
|
|
126 |
FunctionArgs="CCoeControl* /*aControl*/, TCoeEvent /*aEvent*/"
|
|
127 |
DeclPhase="UserHandlers"
|
|
128 |
DefnLocation="SOURCE_FILE" />
|
|
129 |
|
|
130 |
</templateGroup>
|
|
131 |
|
|
132 |
<!-- END EVENT EEventRequestCancel -->
|
|
133 |
|
|
134 |
<!-- BEGIN EVENT EEventRequestFocus -->
|
|
135 |
|
|
136 |
<templateGroup id="GenerateRequestFocusEvent" ifEvents="EEventRequestFocus" form="EventGen">
|
|
137 |
|
|
138 |
<template id="RequestFocusEventCase" phase="InitializeControlHandlers">
|
|
139 |
<![CDATA[
|
|
140 |
AddControlEventHandlerL(
|
|
141 |
${this.getInstanceMemberName(instance)},
|
|
142 |
EEventRequestFocus,
|
|
143 |
&${className}::${event.handlerName} );
|
|
144 |
]]>
|
|
145 |
</template>
|
|
146 |
|
|
147 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
148 |
FunctionLocationId="RequestFocusHandler"
|
|
149 |
FunctionArgs="CCoeControl* /*aControl*/, TCoeEvent /*aEvent*/"
|
|
150 |
DeclPhase="UserHandlers"
|
|
151 |
DefnLocation="SOURCE_FILE" />
|
|
152 |
|
|
153 |
</templateGroup>
|
|
154 |
|
|
155 |
<!-- END EVENT EEventRequestFocus -->
|
|
156 |
|
|
157 |
<!-- BEGIN EVENT EEventPrepareFocusTransition -->
|
|
158 |
|
|
159 |
<templateGroup id="GeneratePrepareFocusTransitionEvent" ifEvents="EEventPrepareFocusTransition" form="EventGen">
|
|
160 |
|
|
161 |
<template id="PrepareFocusTransitionEventCase" phase="InitializeControlHandlers">
|
|
162 |
<![CDATA[
|
|
163 |
AddControlEventHandlerL(
|
|
164 |
${this.getInstanceMemberName(instance)},
|
|
165 |
EEventPrepareFocusTransition,
|
|
166 |
&${className}::${event.handlerName} );
|
|
167 |
]]>
|
|
168 |
</template>
|
|
169 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
170 |
FunctionLocationId="PrepareFocusTransitionHandler"
|
|
171 |
FunctionArgs="CCoeControl* /*aControl*/, TCoeEvent /*aEvent*/"
|
|
172 |
DeclPhase="UserHandlers"
|
|
173 |
DefnLocation="SOURCE_FILE" />
|
|
174 |
|
|
175 |
</templateGroup>
|
|
176 |
|
|
177 |
<!-- END EVENT EEventPrepareFocusTransition -->
|
|
178 |
|
|
179 |
<!-- BEGIN EVENT EEventInteractionRefused -->
|
|
180 |
|
|
181 |
<templateGroup id="GenerateInteractionRefusedEvent" ifEvents="EEventInteractionRefused" form="EventGen">
|
|
182 |
|
|
183 |
<template id="InteractionRefusedEventCase" phase="InitializeControlHandlers">
|
|
184 |
<![CDATA[
|
|
185 |
AddControlEventHandlerL(
|
|
186 |
${this.getInstanceMemberName(instance)},
|
|
187 |
EEventInteractionRefused,
|
|
188 |
&${className}::${event.handlerName} );
|
|
189 |
]]>
|
|
190 |
</template>
|
|
191 |
|
|
192 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
193 |
FunctionLocationId="InteractionRefusedHandler"
|
|
194 |
FunctionArgs="CCoeControl* /*aControl*/, TCoeEvent /*aEvent*/"
|
|
195 |
DeclPhase="UserHandlers"
|
|
196 |
DefnLocation="SOURCE_FILE" />
|
|
197 |
|
|
198 |
</templateGroup>
|
|
199 |
|
|
200 |
<!-- END EVENT EEventInteractionRefused -->
|
|
201 |
|
|
202 |
|