|
1 /* |
|
2 * Copyright (c) 2008-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: List view plugin definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef C_GLXMAINLISTVIEWPLUGIN_H |
|
22 #define C_GLXMAINLISTVIEWPLUGIN_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <glxlistviewpluginbase.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Gallery main list view plugin. |
|
31 * |
|
32 * @ingroup list_view |
|
33 */ |
|
34 NONSHARABLE_CLASS( CGlxMainListViewPlugin ) : public CGlxListViewPluginBase |
|
35 { |
|
36 public: |
|
37 /** |
|
38 * Two-phased constructor for main list view plugin. |
|
39 */ |
|
40 static CGlxMainListViewPlugin* NewL(); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 virtual ~CGlxMainListViewPlugin(); |
|
46 |
|
47 private: // From CGlxListViewPluginBase |
|
48 /** |
|
49 * Construct the list view |
|
50 * |
|
51 * @param aMediaListFactory object providing media list |
|
52 * |
|
53 * @return pointer to created list view |
|
54 */ |
|
55 CGlxListView* ConstructListViewLC(MGlxMediaListFactory* aMediaListFactory); |
|
56 |
|
57 /** |
|
58 * Add view specific command handlers |
|
59 */ |
|
60 void AddCommandHandlersL(); |
|
61 |
|
62 private: |
|
63 /** |
|
64 * C++ default constructor. |
|
65 */ |
|
66 CGlxMainListViewPlugin(); |
|
67 |
|
68 /** |
|
69 * By default Symbian 2nd phase constructor is private. |
|
70 */ |
|
71 void ConstructL(); |
|
72 }; |
|
73 |
|
74 #endif // C_GLXMAINLISTVIEWPLUGIN_H |
|
75 |
|
76 // End of File |