os/mm/devsound/sounddevbt/inc/SwCodecWrapper/routingsounddeviceopenhandler.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2005-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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __ROUTINGSOUNDDEVICEOPENHANDLER_H__
    17 #define __ROUTINGSOUNDDEVICEOPENHANDLER_H__
    18 
    19 #include <mmfbthwdevice2.h>
    20 
    21 class CMMFSwCodecDataPath; //forward reference
    22 
    23 class CRoutingSoundPlayDevice;
    24 class CRoutingSoundRecordDevice;
    25 class CMMFSwCodecWrapper;
    26 
    27 /**
    28 AO to handle asynch initialisation of the routing sound device
    29 
    30 @internalComponent
    31 */ 
    32 class CRoutingSoundDeviceOpenHandler : public CActive
    33 	{
    34 public:
    35 	static CRoutingSoundDeviceOpenHandler* NewL(CMMFSwCodecWrapper* aObserver);
    36 	~CRoutingSoundDeviceOpenHandler();
    37 	void Start();
    38 private:
    39 	void RunL();
    40 	void DoCancel();
    41 	CRoutingSoundDeviceOpenHandler(CMMFSwCodecWrapper* aObserver);
    42 	void ConstructL();
    43 private:
    44 	CMMFSwCodecWrapper* iObserver;
    45 	};
    46 
    47 #endif //__ROUTINGSOUNDDEVICEOPENHANDLER_H__
    48