author | William Roberts <williamr@symbian.org> |
Mon, 08 Mar 2010 21:42:58 +0000 | |
branch | CompilerCompatibility |
changeset 47 | a3637f7e2d6c |
parent 13 | 73107a0bc259 |
child 45 | 01c1ffcc4fca |
permissions | -rw-r--r-- |
13
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
1 |
/* |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
3 |
* All rights reserved. |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
8 |
* |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
11 |
* |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
12 |
* Contributors: |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
13 |
* |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
14 |
* Description: |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
15 |
* |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
16 |
*/ |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
17 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
18 |
#ifndef __SYBORGVARIANT_SOUND_H__ |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
19 |
#define __SYBORGVARIANT_SOUND_H__ |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
20 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
21 |
#include "shared_sound.h" |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
22 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
23 |
class DDriverSyborgSoundScPddFactory : public DPhysicalDevice |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
24 |
{ |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
25 |
public: |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
26 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
27 |
DDriverSyborgSoundScPddFactory(); |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
28 |
TInt Install(); |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
29 |
void GetCaps(TDes8 &aDes) const; |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
30 |
TInt Create(DBase*& aChannel, TInt aUnit, const TDesC8* anInfo, const TVersion &aVer); |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
31 |
TInt Validate(TInt aUnit, const TDesC8* anInfo, const TVersion &aVer); |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
32 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
33 |
public: |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
34 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
35 |
/** The DFC queue to be used by both the LDD and the PDD to serialise access to the PDD */ |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
36 |
TDfcQue* iDfcQ; |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
37 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
38 |
}; |
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
39 |
|
73107a0bc259
Merged patch from Johnathan White (@accenture)
Martin Trojer <martin.trojer@nokia.com>
parents:
diff
changeset
|
40 |
#endif |