1 /* |
|
2 * Copyright (c) 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: StifMeasurement plugin names declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef STIF_MEASUREMENT_H |
|
19 #define STIF_MEASUREMENT_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 |
|
24 // Maximum length of measurement types(see literals below) |
|
25 const TInt KStifMeasurementTypeLength = 30; |
|
26 |
|
27 /** |
|
28 * Literals for measurement types. |
|
29 */ |
|
30 _LIT( KStifMeasurementEnableAll, "stifmeasurementenableall" ); |
|
31 _LIT( KStifMeasurementDisableAll, "stifmeasurementdisableall" ); |
|
32 _LIT( KStifMeasurement01, "stifmeasurementplugin01" ); |
|
33 _LIT( KStifMeasurement02, "stifmeasurementplugin02" ); |
|
34 _LIT( KStifMeasurement03, "stifmeasurementplugin03" ); |
|
35 _LIT( KStifMeasurement04, "stifmeasurementplugin04" ); |
|
36 _LIT( KStifMeasurement05, "stifmeasurementplugin05" ); |
|
37 _LIT( KStifMeasurementBappea, "stifbappeaprofiler" ); |
|
38 // Next is used in testframework.ini file |
|
39 _LIT( KStifMeasurementDisableNone, "stifmeasurementdisablenone" ); |
|
40 |
|
41 |
|
42 // Measurement module types definition(used in keyword's parameters) |
|
43 _LIT( KParamMeasurement01, "measurementplugin01" ); |
|
44 _LIT( KParamMeasurement02, "measurementplugin02" ); |
|
45 _LIT( KParamMeasurement03, "measurementplugin03" ); |
|
46 _LIT( KParamMeasurement04, "measurementplugin04" ); |
|
47 _LIT( KParamMeasurement05, "measurementplugin05" ); |
|
48 _LIT( KParamMeasurementBappea, "stifbappeaprofiler" ); |
|
49 |
|
50 /** |
|
51 * Enumeration for measurement disable and enable. |
|
52 */ |
|
53 enum TDisableMeasurement |
|
54 { |
|
55 EDisableAll = 0xFFFFFFFF, // Disable all measurement, 1111 |
|
56 EEnableAll = ~EDisableAll, // This allowes all measurements, 0000 |
|
57 EMeasurement01 = 1<<0, // User specific measurement |
|
58 EMeasurement02 = 1<<1, // User specific measurement |
|
59 EMeasurement03 = 1<<2, // User specific measurement |
|
60 EMeasurement04 = 1<<3, // User specific measurement |
|
61 EMeasurement05 = 1<<4, // User specific measurement |
|
62 EBappea = 1<<25, // Disable bappea measurement |
|
63 }; |
|
64 |
|
65 #endif // STIF_MEASUREMENT_H |
|
66 |
|
67 // End of File |
|