sl@0: // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: // Standard EPOC32 includes required by this header file sl@0: #include sl@0: #include sl@0: sl@0: sl@0: #ifndef TS_CODES_H sl@0: #define TS_CODES_H sl@0: sl@0: // These are Codes which are passed to and from functions via the Controller Framework. sl@0: sl@0: const TInt KGetAudioQuality = 1; sl@0: const TInt KSetAudionQuality = 2; sl@0: const TInt KDummyFunc1 = 3; sl@0: const TInt KDummyFunc1Return = -4; sl@0: const TInt KDummyFunc2 = 5; sl@0: const TInt KDummyFunc2Return = -6; sl@0: const TInt KLogFunction = 7; sl@0: const TInt KFuncComplete = 0; sl@0: const TInt KModeFunction = 8; sl@0: sl@0: const TInt KDescriptorSource = 9; sl@0: const TInt KDescriptorSink = 10; sl@0: #ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT sl@0: const TInt KTestSetSubtitleAvailable = 11; sl@0: #endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT sl@0: const TInt KFuncThreadStackSize=12; sl@0: //-----------------------------// sl@0: // Leave Codes (Failure Tests) // sl@0: //-----------------------------// sl@0: sl@0: const TInt KOpenFailure = 201; sl@0: const TInt KAddDataSourceFailure = 202; sl@0: const TInt KAddDataSinkFailure = 203; sl@0: const TInt KRemoveDataSourceFailure = 204; sl@0: const TInt KRemoveDataSinkFailure = 205; sl@0: const TInt KPrimeFailure = 206; sl@0: const TInt KFailureCode1 = 210; sl@0: const TInt KFailureCode2 = 211; sl@0: sl@0: //------------------------------// sl@0: // sl@0: sl@0: enum TMMFTestCustomCommands sl@0: { sl@0: EMMFTestCustomCommandSetAudioQuality = 1, sl@0: EMMFTestCustomCommandGetAudioQuality, sl@0: EMMFTestCustomCommandGeneralSynchronous, sl@0: EMMFTestCustomCommandGeneralSynchronousWithReturn, sl@0: EMMFTestCustomCommandGeneralAsynchronous, sl@0: EMMFTestCustomCommandGeneralAsynchronousWithReturn, sl@0: EMMFTestCustomCommandRequestGeneralEvent, sl@0: EMMFTestCustomCommandSimulateReloading, sl@0: EMMFTestCustomCommandCheckUrl, sl@0: EMMFTestCustomCommandCheckLongUrl, sl@0: EMMFTestCustomCommandPanic sl@0: }; sl@0: sl@0: _LIT8(KFirstParameter,"first"); sl@0: _LIT8(KSecondParameter,"second"); sl@0: _LIT8(KReturnParameter,"third"); sl@0: sl@0: //URL Test sl@0: _LIT(KTestURL, "http://www.symbian.com/test.pav"); sl@0: _LIT(KTestLongURL, "http://www.symbian.com/stream/clip/urls/aaaaaaaaa50-aaaaaaa60-aaaaaaa70-aaaaaaa80-aaaaaaa90-aaaaaa99/aaaaaaa110-aaaaaa120-aaaaaa130-aaaaaa140-aaaaaa150-aaaaaa160-aaaaaa170-aaaaaa180-aaaaaa190-aaaaa199/aaaaaaa210-aaaaaa220-aaaaaa230-aaaaaa240-aaaaaa250-aaaaaa260-aaaaaa270-aaaaaa280-aaaaaa290-aaaaa299/aaaaaaa310-aaaaaa320-aaaaaa330-aaaaaa340-aaaaaa350-aaaaaa360-aaaaaa370-aaaaaa380-aaaaaa390-aaaaa399/aaaaaaa410-aaaaaa420-aaaaaa430-aaaaaa440-aaaaaa450-aaaaaa460-aaaaaa470-aaaaaa480-aaaaaa490-aaaaa499/test.pav"); sl@0: const TInt KTestIap = 5; sl@0: sl@0: const TInt KTestCustomCommandSuccess = -4444; sl@0: const TInt KTestCustomCommandFailure = -5555; sl@0: const TInt KTestGeneralError = -7777; sl@0: sl@0: const TInt KPlayStartTime = 1000000; sl@0: const TInt KPlayEndTime = 2000000; sl@0: const TInt KTestFrameRate = 25; sl@0: sl@0: const TInt KUidTestController = 0x101F88D8; sl@0: sl@0: #endif