|
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 - Project definition file for project ?myapp |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifdef _DEBUG |
|
20 #include <e32svr.h> // Needed for RDebug Prints |
|
21 #endif |
|
22 #include <e32def.h> |
|
23 #include "RestrictedAudioOutputCIStub.h" |
|
24 #include <RestrictedAudioOutputProxy.h> |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // CRestrictedAudioOutput::NewL |
|
28 // Static function for creating an instance of the CRestrictedAudioOutputCI object. |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 |
|
32 EXPORT_C CRestrictedAudioOutputCI* CRestrictedAudioOutputCI::NewL() |
|
33 { |
|
34 #ifdef _DEBUG |
|
35 RDebug::Print(_L("CRestrictedAudioOutputCI::NewL")); |
|
36 #endif |
|
37 CRestrictedAudioOutputCI* self = new(ELeave) CRestrictedAudioOutputCI(); |
|
38 CleanupStack::PushL(self); |
|
39 self->ConstructL(); // will call base class ConstructL |
|
40 CleanupStack::Pop(self); |
|
41 return self; |
|
42 } |
|
43 |
|
44 |
|
45 CRestrictedAudioOutputCI::CRestrictedAudioOutputCI() |
|
46 { |
|
47 |
|
48 } |
|
49 |
|
50 // Destructor |
|
51 |
|
52 CRestrictedAudioOutputCI::~CRestrictedAudioOutputCI() |
|
53 { |
|
54 #ifdef _DEBUG |
|
55 RDebug::Print(_L("CRestrictedAudioOutputCI::~CRestrictedAudioOutputCI")); |
|
56 #endif |
|
57 |
|
58 } |
|
59 |
|
60 // ----------------------------------------------------------------------------- |
|
61 // CRestrictedAudioOutputCI::Commit |
|
62 // |
|
63 // Sets Observer for DevSound. |
|
64 // ----------------------------------------------------------------------------- |
|
65 |
|
66 TInt CRestrictedAudioOutputCI::Commit() |
|
67 { |
|
68 #ifdef _DEBUG |
|
69 RDebug::Print(_L("CRestrictedAudioOutputCI::Commit")); |
|
70 #endif |
|
71 return KErrNone; |
|
72 } |
|
73 |
|
74 |
|
75 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
76 |
|
77 |
|
78 |
|
79 // End of File |