56 status = impl->DeleteCall(tmscall); |
57 status = impl->DeleteCall(tmscall); |
57 } |
58 } |
58 return status; |
59 return status; |
59 } |
60 } |
60 |
61 |
61 EXPORT_C gint TMSFactory::IsCallTypeSupported(TMSCallType ctype, gboolean& flag) |
62 EXPORT_C gint TMSFactory::IsCallTypeSupported(TMSCallType ctype, |
|
63 gboolean& flag) |
62 { |
64 { |
63 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
65 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
64 if (impl) |
66 if (impl) |
65 { |
67 { |
66 status = impl->IsCallTypeSupported(ctype, flag); |
68 status = impl->IsCallTypeSupported(ctype, flag); |
201 status = impl->DeleteGlobalRouting(globrouting); |
203 status = impl->DeleteGlobalRouting(globrouting); |
202 } |
204 } |
203 return status; |
205 return status; |
204 } |
206 } |
205 |
207 |
|
208 EXPORT_C gint TMSFactory::CreateDTMF(TMSStreamType streamtype, TMSDTMF*& dtmf) |
|
209 { |
|
210 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
|
211 if (impl) |
|
212 { |
|
213 status = impl->CreateDTMF(streamtype, dtmf); |
|
214 } |
|
215 return status; |
|
216 } |
|
217 |
|
218 EXPORT_C gint TMSFactory::DeleteDTMF(TMSDTMF*& dtmf) |
|
219 { |
|
220 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
|
221 if (impl) |
|
222 { |
|
223 status = impl->DeleteDTMF(dtmf); |
|
224 } |
|
225 return status; |
|
226 } |
|
227 |
|
228 EXPORT_C gint TMSFactory::CreateRingTonePlayer(TMSRingTone*& rt) |
|
229 { |
|
230 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
|
231 if (impl) |
|
232 { |
|
233 status = impl->CreateRingTonePlayer(rt); |
|
234 } |
|
235 return status; |
|
236 } |
|
237 |
|
238 EXPORT_C gint TMSFactory::CreateRingTonePlayer(TMSRingTone*& rt, |
|
239 RWindow& window, gint scrid) |
|
240 { |
|
241 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
|
242 if (impl) |
|
243 { |
|
244 status = impl->CreateRingTonePlayer(rt, window, scrid); |
|
245 } |
|
246 return status; |
|
247 } |
|
248 |
|
249 EXPORT_C gint TMSFactory::DeleteRingTonePlayer(TMSRingTone*& rt) |
|
250 { |
|
251 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
|
252 if (impl) |
|
253 { |
|
254 status = impl->DeleteRingTonePlayer(rt); |
|
255 } |
|
256 return status; |
|
257 } |
|
258 |
|
259 EXPORT_C gint TMSFactory::CreateInbandTonePlayer(TMSInbandTone*& inbandtone) |
|
260 { |
|
261 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
|
262 if (impl) |
|
263 { |
|
264 status = impl->CreateInbandTonePlayer(inbandtone); |
|
265 } |
|
266 return status; |
|
267 } |
|
268 |
|
269 EXPORT_C gint TMSFactory::DeleteInbandTonePlayer(TMSInbandTone*& inbandtone) |
|
270 { |
|
271 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
|
272 if (impl) |
|
273 { |
|
274 status = impl->DeleteInbandTonePlayer(inbandtone); |
|
275 } |
|
276 return status; |
|
277 } |
|
278 |