|
1 /* |
|
2 * Copyright (c) 2002-2004 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 * Viewmanager inline functions |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef XNVIEWMANAGER_INL |
|
20 #define XNVIEWMANAGER_INL |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // ----------------------------------------------------------------------------- |
|
24 // |
|
25 inline void CXnViewManager::SetUiEngine( CXnUiEngine& aUiEngine ) |
|
26 { |
|
27 iUiEngine = &aUiEngine; |
|
28 }; |
|
29 |
|
30 // ----------------------------------------------------------------------------- |
|
31 // ----------------------------------------------------------------------------- |
|
32 // |
|
33 inline CXnUiEngine& CXnViewManager::UiEngine() const |
|
34 { |
|
35 return *iUiEngine; |
|
36 }; |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 inline CXnComposer& CXnViewManager::Composer() const |
|
42 { |
|
43 return *iComposer; |
|
44 }; |
|
45 |
|
46 // ----------------------------------------------------------------------------- |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 inline CXnEditor& CXnViewManager::Editor() const |
|
50 { |
|
51 return *iEditor; |
|
52 }; |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 inline CXnAppUiAdapter& CXnViewManager::AppUiAdapter() const |
|
58 { |
|
59 return iAppUiAdapter; |
|
60 }; |
|
61 |
|
62 #endif |