28
|
1 |
/*
|
|
2 |
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
/** @file
|
|
19 |
@internalComponent
|
|
20 |
@test
|
|
21 |
*/
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
#ifndef NCMTESTDEFINES_HRH
|
|
26 |
#define NCMTESTDEFINES_HRH
|
|
27 |
|
|
28 |
// H4 screen can have 22 lines of text on it at once
|
|
29 |
// H4 screen can have 53 characters per line.
|
|
30 |
#define NUM_CHARACTERS_ON_LINE 53
|
|
31 |
#define NUM_EVENT_ON_SCREEN 12
|
|
32 |
|
|
33 |
|
|
34 |
enum TNcmTestConsolePanic
|
|
35 |
{
|
|
36 |
//The event is null.
|
|
37 |
ENcmEventIsNull = 300000,
|
|
38 |
//The lengh of event info is larger than allowed
|
|
39 |
ENcmEventLengthValid,
|
|
40 |
//The index of display item is valid
|
|
41 |
ENcmDisplayItemVaild,
|
|
42 |
//The command instance is null
|
|
43 |
ENcmCommandIsNull,
|
|
44 |
//The ncm start command is null
|
|
45 |
ENcmStartCommandIsNull,
|
|
46 |
//The command key exists
|
|
47 |
ENcmCommandKeyExists,
|
|
48 |
//InsertCommandError
|
|
49 |
ENcmInsertCommandError,
|
|
50 |
//The index of array item is valid
|
|
51 |
ENcmArrayBound
|
|
52 |
|
|
53 |
};
|
|
54 |
#endif // NCMTESTDEFINES_HRH
|