os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/Ctlfrm/TSI_MmfCodes.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/Ctlfrm/TSI_MmfCodes.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,56 @@
     1.4 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +// Standard EPOC32 includes required by this header file
    1.20 +#include <e32base.h>
    1.21 +#include <e32std.h>
    1.22 +
    1.23 +
    1.24 +#ifndef __TSI_MMFCODES_H__
    1.25 +#define __TSI_MMFCODES_H__
    1.26 +
    1.27 +// These are Codes which are passed to and from functions via the Controller Framework.
    1.28 +
    1.29 +const TInt KGetAudioQuality = 1;
    1.30 +const TInt KSetAudionQuality = 2;
    1.31 +const TInt KDummyFunc1 = 3;
    1.32 +const TInt KDummyFunc1Return = -4;
    1.33 +const TInt KDummyFunc2 = 5;
    1.34 +const TInt KDummyFunc2Return = -6;
    1.35 +const TInt KLogFunction = 7;
    1.36 +const TInt KFuncComplete = 0;
    1.37 +const TInt KModeFunction = 8;
    1.38 +
    1.39 +const TInt KHeapAddressFunction = 21;
    1.40 +const TInt KThreadIdFunction = 22;
    1.41 +const TInt KPluginUidFunction = 23;
    1.42 +
    1.43 +
    1.44 +
    1.45 +//-----------------------------//
    1.46 +// Leave Codes (Failure Tests) //
    1.47 +//-----------------------------//
    1.48 +
    1.49 +const TInt KOpenFailure = 201;
    1.50 +const TInt KAddDataSourceFailure = 202;
    1.51 +const TInt KAddDataSinkFailure = 203;
    1.52 +const TInt KRemoveDataSourceFailure = 204;
    1.53 +const TInt KRemoveDataSinkFailure = 205;
    1.54 +const TInt KPrimeFailure = 206;
    1.55 +const TInt KFailureCode1 = 210;
    1.56 +const TInt KFailureCode2 = 211;
    1.57 +
    1.58 +
    1.59 +#endif // __TSI_MMFCODES_H__