First public contribution.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
18 #include "mmfaudioserver.h"
19 #include <a3f/mmfaudioserverinterface.h>
20 #include "mmfaudioserverinterfaceimpl.h"
23 // ============================ MEMBER FUNCTIONS ===============================
25 // -----------------------------------------------------------------------------
26 // CAudioSvrLoader::NewL
27 // Two-phased constructor.
28 // -----------------------------------------------------------------------------
30 EXPORT_C CAudioSvrLoader* CAudioSvrLoader::NewL()
32 CAudioSvrLoaderImpl* self = new(ELeave) CAudioSvrLoaderImpl();
33 CleanupStack::PushL(self);
35 CleanupStack::Pop(self);
39 // -----------------------------------------------------------------------------
40 // CAudioSvrLoader::CAudioSvrLoader
41 // C++ default constructor can NOT contain any code, that
43 // -----------------------------------------------------------------------------
45 CAudioSvrLoader::CAudioSvrLoader()
50 // -----------------------------------------------------------------------------
51 // CAudioSvrLoader::~CAudioSvrLoader
53 // (other items were commented in a header).
54 // -----------------------------------------------------------------------------
56 CAudioSvrLoader::~CAudioSvrLoader()
62 // -----------------------------------------------------------------------------
63 // CAudioSvrLoaderImpl::CAudioSvrLoaderImpl
64 // C++ default constructor can NOT contain any code, that
66 // -----------------------------------------------------------------------------
68 CAudioSvrLoaderImpl::CAudioSvrLoaderImpl()
73 // -----------------------------------------------------------------------------
74 // CAudioSvrLoaderImpl::~CAudioSvrLoaderImpl
76 // (other items were commented in a header).
77 // -----------------------------------------------------------------------------
79 CAudioSvrLoaderImpl::~CAudioSvrLoaderImpl()
84 // -----------------------------------------------------------------------------
85 // CAudioSvrLoaderImpl::~CAudioSvrLoaderImpl
87 // (other items were commented in a header).
88 // -----------------------------------------------------------------------------
90 void CAudioSvrLoaderImpl::ConstructL()
92 iServer = CMMFAudioServer::NewL();