203 status = impl->DeleteGlobalRouting(globrouting); |
203 status = impl->DeleteGlobalRouting(globrouting); |
204 } |
204 } |
205 return status; |
205 return status; |
206 } |
206 } |
207 |
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 |
|
279 EXPORT_C gint TMSFactory::CreateRTPSession(TMSRTPSession*& /*rtpsession*/, |
|
280 guint8* /*sdp*/, guint /*mode*/) |
|
281 { |
|
282 return TMS_RESULT_FEATURE_NOT_SUPPORTED; |
|
283 } |
|
284 |
|
285 EXPORT_C gint TMSFactory::DeleteRTPSession(TMSRTPSession*& /*rtpsession*/) |
|
286 { |
|
287 return TMS_RESULT_FEATURE_NOT_SUPPORTED; |
|
288 } |
|
289 |
|
290 |
|