Update contrib.
1 // Copyright (c) 2002-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.
16 // Standard EPOC32 includes required by this header file
21 #ifndef __TSI_MMFCODES_H__
22 #define __TSI_MMFCODES_H__
24 // These are Codes which are passed to and from functions via the Controller Framework.
26 const TInt KGetAudioQuality = 1;
27 const TInt KSetAudionQuality = 2;
28 const TInt KDummyFunc1 = 3;
29 const TInt KDummyFunc1Return = -4;
30 const TInt KDummyFunc2 = 5;
31 const TInt KDummyFunc2Return = -6;
32 const TInt KLogFunction = 7;
33 const TInt KFuncComplete = 0;
34 const TInt KModeFunction = 8;
36 const TInt KHeapAddressFunction = 21;
37 const TInt KThreadIdFunction = 22;
38 const TInt KPluginUidFunction = 23;
42 //-----------------------------//
43 // Leave Codes (Failure Tests) //
44 //-----------------------------//
46 const TInt KOpenFailure = 201;
47 const TInt KAddDataSourceFailure = 202;
48 const TInt KAddDataSinkFailure = 203;
49 const TInt KRemoveDataSourceFailure = 204;
50 const TInt KRemoveDataSinkFailure = 205;
51 const TInt KPrimeFailure = 206;
52 const TInt KFailureCode1 = 210;
53 const TInt KFailureCode2 = 211;
56 #endif // __TSI_MMFCODES_H__