sl@0
|
1 |
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
//
|
sl@0
|
15 |
|
sl@0
|
16 |
// Standard EPOC32 includes required by this header file
|
sl@0
|
17 |
#include <e32base.h>
|
sl@0
|
18 |
#include <e32std.h>
|
sl@0
|
19 |
|
sl@0
|
20 |
|
sl@0
|
21 |
#ifndef TS_CODES_H
|
sl@0
|
22 |
#define TS_CODES_H
|
sl@0
|
23 |
|
sl@0
|
24 |
// These are Codes which are passed to and from functions via the Controller Framework.
|
sl@0
|
25 |
|
sl@0
|
26 |
const TInt KGetAudioQuality = 1;
|
sl@0
|
27 |
const TInt KSetAudionQuality = 2;
|
sl@0
|
28 |
const TInt KDummyFunc1 = 3;
|
sl@0
|
29 |
const TInt KDummyFunc1Return = -4;
|
sl@0
|
30 |
const TInt KDummyFunc2 = 5;
|
sl@0
|
31 |
const TInt KDummyFunc2Return = -6;
|
sl@0
|
32 |
const TInt KLogFunction = 7;
|
sl@0
|
33 |
const TInt KFuncComplete = 0;
|
sl@0
|
34 |
const TInt KModeFunction = 8;
|
sl@0
|
35 |
|
sl@0
|
36 |
const TInt KDescriptorSource = 9;
|
sl@0
|
37 |
const TInt KDescriptorSink = 10;
|
sl@0
|
38 |
#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
|
sl@0
|
39 |
const TInt KTestSetSubtitleAvailable = 11;
|
sl@0
|
40 |
#endif //SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
|
sl@0
|
41 |
const TInt KFuncThreadStackSize=12;
|
sl@0
|
42 |
//-----------------------------//
|
sl@0
|
43 |
// Leave Codes (Failure Tests) //
|
sl@0
|
44 |
//-----------------------------//
|
sl@0
|
45 |
|
sl@0
|
46 |
const TInt KOpenFailure = 201;
|
sl@0
|
47 |
const TInt KAddDataSourceFailure = 202;
|
sl@0
|
48 |
const TInt KAddDataSinkFailure = 203;
|
sl@0
|
49 |
const TInt KRemoveDataSourceFailure = 204;
|
sl@0
|
50 |
const TInt KRemoveDataSinkFailure = 205;
|
sl@0
|
51 |
const TInt KPrimeFailure = 206;
|
sl@0
|
52 |
const TInt KFailureCode1 = 210;
|
sl@0
|
53 |
const TInt KFailureCode2 = 211;
|
sl@0
|
54 |
|
sl@0
|
55 |
//------------------------------//
|
sl@0
|
56 |
//
|
sl@0
|
57 |
|
sl@0
|
58 |
enum TMMFTestCustomCommands
|
sl@0
|
59 |
{
|
sl@0
|
60 |
EMMFTestCustomCommandSetAudioQuality = 1,
|
sl@0
|
61 |
EMMFTestCustomCommandGetAudioQuality,
|
sl@0
|
62 |
EMMFTestCustomCommandGeneralSynchronous,
|
sl@0
|
63 |
EMMFTestCustomCommandGeneralSynchronousWithReturn,
|
sl@0
|
64 |
EMMFTestCustomCommandGeneralAsynchronous,
|
sl@0
|
65 |
EMMFTestCustomCommandGeneralAsynchronousWithReturn,
|
sl@0
|
66 |
EMMFTestCustomCommandRequestGeneralEvent,
|
sl@0
|
67 |
EMMFTestCustomCommandSimulateReloading,
|
sl@0
|
68 |
EMMFTestCustomCommandCheckUrl,
|
sl@0
|
69 |
EMMFTestCustomCommandCheckLongUrl,
|
sl@0
|
70 |
EMMFTestCustomCommandPanic
|
sl@0
|
71 |
};
|
sl@0
|
72 |
|
sl@0
|
73 |
_LIT8(KFirstParameter,"first");
|
sl@0
|
74 |
_LIT8(KSecondParameter,"second");
|
sl@0
|
75 |
_LIT8(KReturnParameter,"third");
|
sl@0
|
76 |
|
sl@0
|
77 |
//URL Test
|
sl@0
|
78 |
_LIT(KTestURL, "http://www.symbian.com/test.pav");
|
sl@0
|
79 |
_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
|
80 |
const TInt KTestIap = 5;
|
sl@0
|
81 |
|
sl@0
|
82 |
const TInt KTestCustomCommandSuccess = -4444;
|
sl@0
|
83 |
const TInt KTestCustomCommandFailure = -5555;
|
sl@0
|
84 |
const TInt KTestGeneralError = -7777;
|
sl@0
|
85 |
|
sl@0
|
86 |
const TInt KPlayStartTime = 1000000;
|
sl@0
|
87 |
const TInt KPlayEndTime = 2000000;
|
sl@0
|
88 |
const TInt KTestFrameRate = 25;
|
sl@0
|
89 |
|
sl@0
|
90 |
const TInt KUidTestController = 0x101F88D8;
|
sl@0
|
91 |
|
sl@0
|
92 |
#endif
|