equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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: Wireless Village CSP version selector. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __PENGWVCSPVERSION_H |
|
19 #define __PENGWVCSPVERSION_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <E32std.h> |
|
23 |
|
24 |
|
25 // DATA TYPES |
|
26 /** |
|
27 * WV CSP versions. |
|
28 * |
|
29 * @since 3.0 |
|
30 */ |
|
31 enum TPEngWVCspVersion |
|
32 { |
|
33 EWVCspV11 = 11, |
|
34 EWVCspV12 = 12, |
|
35 }; |
|
36 |
|
37 |
|
38 // CLASS DECLARATION |
|
39 /** |
|
40 * Wireless Village CSP version selector. |
|
41 * |
|
42 * @lib PEngAttrLib |
|
43 * @since 3.0 |
|
44 */ |
|
45 class PEngWVCspVersion |
|
46 { |
|
47 public: // New functions |
|
48 |
|
49 /** |
|
50 * Selects which WV CSP version to use. |
|
51 * Loads used WV CSP version from WV Engine CenRep file. |
|
52 * |
|
53 * @since 3.0 |
|
54 * @return CSP version enumeration. |
|
55 */ |
|
56 IMPORT_C static TPEngWVCspVersion SelectVersionL(); |
|
57 |
|
58 |
|
59 /** |
|
60 * Sets used WV CSP version to WV Engine CenRep file. |
|
61 * |
|
62 * @since 3.0 |
|
63 * @param CSP version enumeration. |
|
64 */ |
|
65 IMPORT_C static void SetVersionL( TPEngWVCspVersion aVersion ); |
|
66 |
|
67 |
|
68 protected: // Prohibited constructor & destructor |
|
69 |
|
70 PEngWVCspVersion(); |
|
71 ~PEngWVCspVersion(); |
|
72 }; |
|
73 |
|
74 #endif // __PENGWVCSPVERSION_H |
|
75 |
|
76 // End of File |
|
77 |