|
1 /* |
|
2 * Copyright (c) 2007 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: Audio Stubs - This is the definition of the RestrictedAudioOutput Custom Interface class. |
|
15 * This serves as an example of how adaptation might define the |
|
16 * custom interface class. |
|
17 * The CRestrictedAudioOutputCI object is typically instantiated by a DevSound |
|
18 * instance and return to the client when the CustomInterface() |
|
19 * method is invoked. |
|
20 * |
|
21 * |
|
22 */ |
|
23 |
|
24 #ifndef RESTRICTEDAUDIOOUTPUTCI_H |
|
25 #define RESTRICTEDAUDIOOUTPUTCI_H |
|
26 |
|
27 #include <RestrictedAudioOutput.h> |
|
28 #include <RestrictedAudioOutputMessageTypes.h> |
|
29 # |
|
30 class CMMFDevSound; |
|
31 |
|
32 class CRestrictedAudioOutputCI : public CRestrictedAudioOutput |
|
33 |
|
34 { |
|
35 public: // Constructor and Destructor |
|
36 |
|
37 /** |
|
38 * Two-phased constructor. |
|
39 */ |
|
40 IMPORT_C static CRestrictedAudioOutputCI* NewL(); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 virtual ~CRestrictedAudioOutputCI(); |
|
46 |
|
47 public: // From Base Class |
|
48 |
|
49 /** |
|
50 * |
|
51 * |
|
52 * @since 3.2 |
|
53 */ |
|
54 virtual TInt Commit(); |
|
55 |
|
56 private: |
|
57 |
|
58 /** |
|
59 * By default Symbian 2nd phase constructor is private. |
|
60 */ |
|
61 // static void ConstructL(); |
|
62 /** |
|
63 * C++ default constructor. |
|
64 */ |
|
65 |
|
66 CRestrictedAudioOutputCI(); |
|
67 |
|
68 private: // Data |
|
69 |
|
70 |
|
71 }; |
|
72 #endif //RESTRICTEDAUDIOOUTPUTCI_H |