|
1 /* |
|
2 * Copyright (c) 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: Parameters used between CCApp and CCApp plugin views |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "ccappheaders.h" |
|
20 |
|
21 // --------------------------------------------------------------------------- |
|
22 // CCCAppPluginParameter::NewL |
|
23 // --------------------------------------------------------------------------- |
|
24 // |
|
25 CCCAppPluginParameter* CCCAppPluginParameter::NewL( CCCAppView& aAppView ) |
|
26 { |
|
27 return new (ELeave) CCCAppPluginParameter( aAppView ); |
|
28 } |
|
29 |
|
30 // --------------------------------------------------------------------------- |
|
31 // CCCAppPluginParameter::CCCAppPluginParameter |
|
32 // --------------------------------------------------------------------------- |
|
33 // |
|
34 CCCAppPluginParameter::CCCAppPluginParameter( CCCAppView& aAppView ) |
|
35 : iVersion ( 1 ), |
|
36 iAppView ( aAppView ) |
|
37 { |
|
38 // no implementation required |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------------------------- |
|
42 // CCCAppPluginParameter::~CCCAppPluginParameter |
|
43 // --------------------------------------------------------------------------- |
|
44 // |
|
45 CCCAppPluginParameter::~CCCAppPluginParameter() |
|
46 { |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------------------------- |
|
50 // CCCAppPluginParameter::Version |
|
51 // --------------------------------------------------------------------------- |
|
52 // |
|
53 TInt CCCAppPluginParameter::Version() |
|
54 { |
|
55 return iVersion; |
|
56 } |
|
57 |
|
58 // --------------------------------------------------------------------------- |
|
59 // CCCAppPluginParameter::CCAppLaunchParameter |
|
60 // --------------------------------------------------------------------------- |
|
61 // |
|
62 MCCAParameter& CCCAppPluginParameter::CCAppLaunchParameter() |
|
63 { |
|
64 return iAppView.AppUi().Parameter(); |
|
65 } |
|
66 |
|
67 // --------------------------------------------------------------------------- |
|
68 // CCCAppPluginParameter::ReservedKeys |
|
69 // --------------------------------------------------------------------------- |
|
70 // |
|
71 const RArray<TInt>& CCCAppPluginParameter::ReservedKeys() |
|
72 { |
|
73 return iAppView.AppUi().ReservedKeys(); |
|
74 } |
|
75 |
|
76 |
|
77 //End Of File |
|
78 |