41 class QTMSRingTone; |
43 class QTMSRingTone; |
42 class QTMSInbandTone; |
44 class QTMSInbandTone; |
43 |
45 |
44 // CLASS DECLARATION |
46 // CLASS DECLARATION |
45 class QTMSFactoryImpl |
47 class QTMSFactoryImpl |
46 { |
48 { |
47 public: |
49 public: |
48 QTMSFactoryImpl(); |
50 QTMSFactoryImpl(); |
49 virtual ~QTMSFactoryImpl(); |
51 virtual ~QTMSFactoryImpl(); |
50 |
52 |
51 gint CreateCall(QTMSCallType ctype, QTMSCall*& QTMScall, guint ctxid); |
53 gint CreateCall(QTMSCallType ctype, QTMSCall*& QTMScall, guint ctxid); |
52 gint DeleteCall(QTMSCall*& QTMSct); |
54 gint DeleteCall(QTMSCall*& QTMSct); |
53 gint IsCallTypeSupported(QTMSCallType ctype, gboolean& flag); |
55 gint IsCallTypeSupported(QTMSCallType ctype, gboolean& flag); |
54 gint GetSupportedFormats(const QTMSStreamType strmtype, |
56 gint GetSupportedFormats(const QTMSStreamType strmtype, FormatVector& fmtlist); |
55 FormatVector& fmtlist); |
|
56 gint CreateFormat(QTMSFormatType fmttype, QTMSFormat*& QTMSfmt); |
57 gint CreateFormat(QTMSFormatType fmttype, QTMSFormat*& QTMSfmt); |
57 gint DeleteFormat(QTMSFormat*& QTMSfmt); |
58 gint DeleteFormat(QTMSFormat*& QTMSfmt); |
58 gint CreateEffect(QTMSEffectType QTMSeffecttype, |
59 gint CreateEffect(QTMSEffectType QTMSeffecttype, QTMSEffect*& QTMSeffect); |
59 QTMSEffect*& QTMSeffect); |
|
60 gint DeleteEffect(QTMSEffect*& QTMSeffect); |
60 gint DeleteEffect(QTMSEffect*& QTMSeffect); |
61 gint CreateBuffer(QTMSBufferType buffertype, guint size, |
61 gint CreateBuffer(QTMSBufferType buffertype, guint size, QTMSBuffer*& QTMSbuffer); |
62 QTMSBuffer*& QTMSbuffer); |
|
63 gint DeleteBuffer(QTMSBuffer*& QTMSbuffer); |
62 gint DeleteBuffer(QTMSBuffer*& QTMSbuffer); |
64 gint CreateSource(QTMSSourceType srctype, QTMSSource*& QTMSsrc); |
63 gint CreateSource(QTMSSourceType srctype, QTMSSource*& QTMSsrc); |
65 gint DeleteSource(QTMSSource*& QTMSsrc); |
64 gint DeleteSource(QTMSSource*& QTMSsrc); |
66 gint CreateSink(QTMSSinkType sinktype, QTMSSink*& QTMSsink); |
65 gint CreateSink(QTMSSinkType sinktype, QTMSSink*& QTMSsink); |
67 gint DeleteSink(QTMSSink*& QTMSsink); |
66 gint DeleteSink(QTMSSink*& QTMSsink); |