equal
deleted
inserted
replaced
88 * Class: com_nokia_amms_control_EffectControl |
88 * Class: com_nokia_amms_control_EffectControl |
89 * Method: _isEnabled |
89 * Method: _isEnabled |
90 * Signature: (II)I |
90 * Signature: (II)I |
91 */ |
91 */ |
92 JNIEXPORT jint JNICALL Java_com_nokia_amms_control_EffectControl__1isEnabled( |
92 JNIEXPORT jint JNICALL Java_com_nokia_amms_control_EffectControl__1isEnabled( |
93 JNIEnv*, jclass, jint aEventSource, jint aControl) |
93 JNIEnv*, jclass, jint, jint aControl) |
94 { |
94 { |
95 /*MMAFunctionServer* eventSource = |
95 |
96 reinterpret_cast< MMAFunctionServer *>(aEventSource);*/ |
|
97 |
|
98 CAMMSEffectControlGroup* control = static_cast<CAMMSEffectControlGroup*>( |
96 CAMMSEffectControlGroup* control = static_cast<CAMMSEffectControlGroup*>( |
99 reinterpret_cast< CAMMSControlGroup* >(aControl)); |
97 reinterpret_cast< CAMMSControlGroup* >(aControl)); |
100 |
98 |
101 return control->Enabled(); |
99 return control->Enabled(); |
102 } |
100 } |
105 * Class: com_nokia_amms_control_EffectControl |
103 * Class: com_nokia_amms_control_EffectControl |
106 * Method: _isEnforced |
104 * Method: _isEnforced |
107 * Signature: (II)I |
105 * Signature: (II)I |
108 */ |
106 */ |
109 JNIEXPORT jint JNICALL Java_com_nokia_amms_control_EffectControl__1isEnforced( |
107 JNIEXPORT jint JNICALL Java_com_nokia_amms_control_EffectControl__1isEnforced( |
110 JNIEnv*, jclass, jint aEventSource, jint aControl) |
108 JNIEnv*, jclass, jint, jint aControl) |
111 { |
109 { |
112 /* MMAFunctionServer* eventSource = |
110 |
113 reinterpret_cast< MMAFunctionServer* >(aEventSource);*/ |
|
114 |
|
115 CAMMSEffectControlGroup* control = static_cast<CAMMSEffectControlGroup*>( |
111 CAMMSEffectControlGroup* control = static_cast<CAMMSEffectControlGroup*>( |
116 reinterpret_cast< CAMMSControlGroup* >(aControl)); |
112 reinterpret_cast< CAMMSControlGroup* >(aControl)); |
117 |
113 |
118 return control->Enforced(); |
114 return control->Enforced(); |
119 } |
115 } |
237 * Class: com_nokia_amms_control_EffectControl |
233 * Class: com_nokia_amms_control_EffectControl |
238 * Method: _getScope |
234 * Method: _getScope |
239 * Signature: (II)I |
235 * Signature: (II)I |
240 */ |
236 */ |
241 JNIEXPORT jint JNICALL Java_com_nokia_amms_control_EffectControl__1getScope( |
237 JNIEXPORT jint JNICALL Java_com_nokia_amms_control_EffectControl__1getScope( |
242 JNIEnv*, jclass, jint aEventSource, jint aControl) |
238 JNIEnv*, jclass, jint, jint aControl) |
243 { |
239 { |
244 /*MMAFunctionServer* eventSource = |
|
245 reinterpret_cast< MMAFunctionServer* >(aEventSource);*/ |
|
246 |
|
247 CAMMSEffectControlGroup* control = static_cast<CAMMSEffectControlGroup*>( |
240 CAMMSEffectControlGroup* control = static_cast<CAMMSEffectControlGroup*>( |
248 reinterpret_cast< CAMMSControlGroup* >(aControl)); |
241 reinterpret_cast< CAMMSControlGroup* >(aControl)); |
249 |
242 |
250 return control->Scope(); |
243 return control->Scope(); |
251 } |
244 } |