|
1 /* |
|
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Used for interface to G729 decoder. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CG729DECODERINTFC_H |
|
20 #define CG729DECODERINTFC_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 // CONSTANTS |
|
26 const TUid KUidG729DecoderIntfc = {0x10207ABE}; |
|
27 |
|
28 // MACROS |
|
29 |
|
30 // DATA TYPES |
|
31 |
|
32 // FUNCTION PROTOTYPES |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 class CMMFDevSound; |
|
36 class CMdaAudioOutputStream; |
|
37 |
|
38 // CLASS DECLARATION |
|
39 |
|
40 /** |
|
41 * Interface for G729 decoder. |
|
42 * This abstract class just provides the static NewL function for the creation |
|
43 * of the proxy, and also defines the custom interface to be implemented by the |
|
44 * proxy and the real custom interface implementation. |
|
45 * |
|
46 * @lib G729DecoderIntfc.lib |
|
47 * @since S60 3.0 |
|
48 */ |
|
49 class CG729DecoderIntfc : public CBase |
|
50 { |
|
51 public: // Constructors and destructor |
|
52 |
|
53 /** |
|
54 * Creates the interface. |
|
55 */ |
|
56 IMPORT_C static CG729DecoderIntfc* |
|
57 NewL(CMMFDevSound& aDevSound); |
|
58 |
|
59 /** |
|
60 * Creates the interface. |
|
61 */ |
|
62 IMPORT_C static CG729DecoderIntfc* |
|
63 NewL(CMdaAudioOutputStream& aUtility); |
|
64 |
|
65 public: // New functions |
|
66 IMPORT_C virtual TInt BadLsfNextBuffer() = 0; |
|
67 |
|
68 public: // Functions from base classes |
|
69 protected: // New functions |
|
70 protected: // Functions from base classes |
|
71 private: |
|
72 |
|
73 public: // Data |
|
74 protected: // Data |
|
75 private: // Data |
|
76 public: // Friend classes |
|
77 protected: // Friend classes |
|
78 private: // Friend classes |
|
79 |
|
80 }; |
|
81 |
|
82 #endif // CG729DECODERINTFC_H |
|
83 |
|
84 // End of File |