os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/Ctlfrm/TSI_MmfCodes.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 // Standard EPOC32 includes required by this header file
    17 #include <e32base.h>
    18 #include <e32std.h>
    19 
    20 
    21 #ifndef __TSI_MMFCODES_H__
    22 #define __TSI_MMFCODES_H__
    23 
    24 // These are Codes which are passed to and from functions via the Controller Framework.
    25 
    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;
    35 
    36 const TInt KHeapAddressFunction = 21;
    37 const TInt KThreadIdFunction = 22;
    38 const TInt KPluginUidFunction = 23;
    39 
    40 
    41 
    42 //-----------------------------//
    43 // Leave Codes (Failure Tests) //
    44 //-----------------------------//
    45 
    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;
    54 
    55 
    56 #endif // __TSI_MMFCODES_H__