equal
deleted
inserted
replaced
|
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: ESMR ui factory base class |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MESMRUIFACTORY_H |
|
19 #define MESMRUIFACTORY_H |
|
20 |
|
21 class MMRInfoProvider; |
|
22 class MESMRCalEntry; |
|
23 class MESMRUiBase; |
|
24 class MAgnEntryUiCallback; |
|
25 |
|
26 /** |
|
27 * MESMRUiFactory is responsible of creating correct UI |
|
28 * implemenation based on given policy (CESMRPolicy). |
|
29 * Created UI can use callback object for executing commands. |
|
30 * |
|
31 * @see cesmruibase.h, cesmruifactory.h |
|
32 * @lib esmrgui.lib |
|
33 */ |
|
34 class MESMRUiFactory |
|
35 { |
|
36 public: // Destruction |
|
37 /** |
|
38 * C++ destructor |
|
39 */ |
|
40 virtual ~MESMRUiFactory() { } |
|
41 |
|
42 public: |
|
43 /** |
|
44 * Creates UI view |
|
45 * @param aInfoProvider Reference to MR Info provider |
|
46 * @param aCallback Reference to callback object |
|
47 */ |
|
48 virtual MESMRUiBase* CreateUIL( |
|
49 MMRInfoProvider& aInfoProvider, |
|
50 MAgnEntryUiCallback& aCallback ) = 0; |
|
51 }; |
|
52 |
|
53 #endif // M_ESMRUIFACTORY_H |
|
54 |
|
55 // EOF |