audiostubs/devsoundextensions_stubs/mmfaudioserverfactorystub/inc/mmfaudioserverfactorystub.h
changeset 46 e1758cbb96ac
parent 40 b7e5ed8c1342
equal deleted inserted replaced
43:e71858845f73 46:e1758cbb96ac
       
     1 /*
       
     2 * Copyright (c) 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: Audio Stubs -  CMMFAudioServerFactoryStub class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MMFAUDIOSERVERFACTORYSTUB_H
       
    19 #define MMFAUDIOSERVERFACTORYSTUB_H
       
    20 
       
    21 #include <a3f/mmfaudiosvrservice.h>
       
    22 
       
    23 // FORWARD DECLARATION
       
    24 class CTelephonyAudioRoutingManagerStub;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class CMMFAudioServerFactoryStub : public CBase,
       
    28                                    public MAudioSvrService
       
    29     {
       
    30     public:
       
    31     IMPORT_C static MAudioSvrService* NewL();
       
    32 
       
    33     virtual void PassDestructorKey(TUid aUid);
       
    34     virtual TInt Load();
       
    35     virtual TInt Start();
       
    36     virtual void Stop();
       
    37     virtual void Release();
       
    38 
       
    39     private:
       
    40     CMMFAudioServerFactoryStub();
       
    41     TUid iDestructorKeyUid;
       
    42 
       
    43     private:
       
    44     CTelephonyAudioRoutingManagerStub* iTelephonyAudioRoutingManStub;
       
    45     };
       
    46 
       
    47 #endif // MMFAUDIOSERVERFACTORYSTUB_H