13 * |
13 * |
14 * Description: Defines APIs specific to iLBC decoder. |
14 * Description: Defines APIs specific to iLBC decoder. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef __VOIPILBCDECFORMATINTFC_H |
18 #ifndef VOIPILBCDECFORMATINTFC_H |
19 #define __VOIPILBCDECFORMATINTFC_H |
19 #define VOIPILBCDECFORMATINTFC_H |
20 |
20 |
21 #include <voipaudiocommon.h> |
21 #include <voipaudiocommon.h> |
22 #include <voipformatintfc.h> |
22 #include <voipformatintfc.h> |
23 |
23 |
24 // FORWARD DECLARATIONS |
24 // FORWARD DECLARATIONS |
35 class CVoIPILBCDecoderIntfc : public CVoIPFormatIntfc |
35 class CVoIPILBCDecoderIntfc : public CVoIPFormatIntfc |
36 { |
36 { |
37 public: |
37 public: |
38 /** |
38 /** |
39 * Destructor |
39 * Destructor |
40 * |
|
41 * @since S60 v5.0 |
|
42 * @param none |
40 * @param none |
43 * @return none |
41 * @return none |
44 */ |
42 */ |
45 IMPORT_C virtual ~CVoIPILBCDecoderIntfc(); |
43 IMPORT_C virtual ~CVoIPILBCDecoderIntfc(); |
46 |
44 |
47 /** |
45 /** |
48 * ?description |
46 * SetMode |
49 * |
|
50 * @since S60 v5.0 |
|
51 * @param TILBCCodecMode |
47 * @param TILBCCodecMode |
52 * @return TInt |
48 * @return TInt |
53 */ |
49 */ |
54 IMPORT_C TInt SetMode(TILBCCodecMode aMode); |
50 IMPORT_C TInt SetMode(TILBCCodecMode aMode); |
55 |
51 |
56 /** |
52 /** |
57 * ?description |
53 * GetMode |
58 * |
|
59 * @since S60 v5.0 |
|
60 * @param TILBCCodecMode& |
54 * @param TILBCCodecMode& |
61 * @return TInt |
55 * @return TInt |
62 */ |
56 */ |
63 IMPORT_C TInt GetMode(TILBCCodecMode& aMode); |
57 IMPORT_C TInt GetMode(TILBCCodecMode& aMode); |
64 |
58 |
65 /** |
59 /** |
66 * ?description |
60 * SetCNG |
67 * |
|
68 * @since S60 v5.0 |
|
69 * @param TBool |
61 * @param TBool |
70 * @return TInt |
62 * @return TInt |
71 */ |
63 */ |
72 IMPORT_C TInt SetCNG(TBool aCng); |
64 IMPORT_C TInt SetCNG(TBool aCng); |
73 |
65 |
74 /** |
66 /** |
75 * ?description |
67 * GetCNG |
76 * |
|
77 * @since S60 v5.0 |
|
78 * @param TBool& |
68 * @param TBool& |
79 * @return TInt |
69 * @return TInt |
80 */ |
70 */ |
81 IMPORT_C TInt GetCNG(TBool& aCng); |
71 IMPORT_C TInt GetCNG(TBool& aCng); |
82 |
72 |
83 protected: |
73 protected: |
84 /** |
74 /** |
85 * Constructor |
75 * Constructor |
86 * |
|
87 * @since S60 v5.0 |
|
88 * @param none |
76 * @param none |
89 * @return none |
77 * @return none |
90 */ |
78 */ |
91 CVoIPILBCDecoderIntfc(); |
79 CVoIPILBCDecoderIntfc(); |
92 |
80 |
93 /** |
81 /** |
94 * 2-nd phase constructor |
82 * 2-nd phase constructor |
95 * |
|
96 * @since S60 v5.0 |
|
97 * @param CVoIPILBCDecoderIntfcImpl* |
83 * @param CVoIPILBCDecoderIntfcImpl* |
98 * @return void |
84 * @return void |
99 */ |
85 */ |
100 void ConstructL(CVoIPILBCDecoderIntfcImpl* aFormatIntfcImpl); |
86 void ConstructL(CVoIPILBCDecoderIntfcImpl* aFormatIntfcImpl); |
101 |
87 |
102 protected: |
88 protected: |
103 CVoIPILBCDecoderIntfcImpl* iFormatIntfcImpl; |
89 CVoIPILBCDecoderIntfcImpl* iFormatIntfcImpl; |
104 |
|
105 }; |
90 }; |
106 |
91 |
107 #endif //__VOIPILBCDECFORMATINTFC_H |
92 #endif //VOIPILBCDECFORMATINTFC_H |
108 |
93 |
109 // End of file |
94 // End of file |