|
1 /* |
|
2 * Copyright (c) 2007-2007 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: Parameter class between CCApp and actual plugins |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_CCAPPPLUGINPARAMETER_H |
|
20 #define C_CCAPPPLUGINPARAMETER_H |
|
21 |
|
22 #include "ccappheaders.h" |
|
23 |
|
24 class CCCAppView; |
|
25 |
|
26 /** |
|
27 * This class is the concrete implementation of |
|
28 * MCCAppPluginParameter-parameter class. |
|
29 * |
|
30 * If specific parameter is not supported by certain version |
|
31 * of this class, NULL is returned. |
|
32 * |
|
33 * @code |
|
34 * ?good_class_usage_example(s) todo! |
|
35 * @endcode |
|
36 * |
|
37 * @lib CCA application |
|
38 * @since S60 v5.0 |
|
39 */ |
|
40 class CCCAppPluginParameter: |
|
41 public CBase, |
|
42 public MCCAppPluginParameter |
|
43 { |
|
44 |
|
45 public: |
|
46 |
|
47 /** |
|
48 * Two-phased constructor. |
|
49 */ |
|
50 static CCCAppPluginParameter* NewL( CCCAppView& aAppView ); |
|
51 |
|
52 /** |
|
53 * Destructor. |
|
54 */ |
|
55 virtual ~CCCAppPluginParameter(); |
|
56 |
|
57 public: |
|
58 |
|
59 // Interface methods |
|
60 |
|
61 /** |
|
62 * From MCCAppPluginParameter |
|
63 */ |
|
64 TInt Version(); |
|
65 |
|
66 /** |
|
67 * From MCCAppPluginParameter |
|
68 */ |
|
69 MCCAParameter& CCAppLaunchParameter(); |
|
70 |
|
71 /** |
|
72 * From MCCAppPluginParameter |
|
73 */ |
|
74 const RArray<TInt>& ReservedKeys(); |
|
75 |
|
76 private: |
|
77 |
|
78 /** |
|
79 * Constructor. |
|
80 */ |
|
81 CCCAppPluginParameter( CCCAppView& aAppView ); |
|
82 |
|
83 private: // data |
|
84 |
|
85 /** |
|
86 * Version information |
|
87 */ |
|
88 TInt iVersion; |
|
89 |
|
90 /** |
|
91 * Reference to AppView |
|
92 */ |
|
93 CCCAppView& iAppView; |
|
94 |
|
95 }; |
|
96 |
|
97 |
|
98 #endif // C_CCAPPPLUGINPARAMETER_H |