|
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: Cloud view implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef C_GLXCLOUDVIEW_H |
|
22 #define C_GLXCLOUDVIEW_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <glxmedialistviewbase.h> // For CGlxMediaListViewBase |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Cloud view which displays weihted list of items associated with gallery items |
|
31 * |
|
32 * @lib glxcloudview.lib |
|
33 */ |
|
34 NONSHARABLE_CLASS(CGlxCloudView): public CGlxMediaListViewBase |
|
35 { |
|
36 public: |
|
37 /** |
|
38 * @function NewL |
|
39 * @since S60 3.2 |
|
40 * Perform the two phase construction |
|
41 * @param aMediaListFactory - Handle to the medialist provider |
|
42 * @param aViewResId - Resource id of the View |
|
43 * @param aTitleResId - Resource id for the Title text |
|
44 * @param aEmptyListResId - Resource id for the empty listbox text |
|
45 * @param aSoftKeyResId - Resource id for the softkey text |
|
46 * @paramaSoftkeyMskDisabledId - Resource id for msk disabled. |
|
47 * @return Pointer to newly created object |
|
48 */ |
|
49 IMPORT_C static CGlxCloudView *NewL(MGlxMediaListFactory |
|
50 *aMediaListFactory, const TDesC &aFileName, TInt aViewResId, |
|
51 TInt aEmptyListResId, TInt aSoftKeyResId, TInt aSoftkeyMskDisabledId); |
|
52 |
|
53 /** |
|
54 * @function NewLC |
|
55 * @since S60 3.2 |
|
56 * Perform the two phase construction |
|
57 * @param aMediaListFactory - Handle to the medialist provider |
|
58 * @param aViewResId - Resource id of the View |
|
59 * @param aTitleResId - Resource id for the Title text |
|
60 * @param aEmptyListResId - Resource id for the empty listbox text |
|
61 * @param aSoftKeyResId - Resource id for the softkey text |
|
62 * @paramaSoftkeyMskDisabledId - Resource id for msk disabled. |
|
63 * @return Pointer to newly created object |
|
64 */ |
|
65 IMPORT_C static CGlxCloudView *NewLC(MGlxMediaListFactory |
|
66 *aMediaListFactory, const TDesC &aFileName, TInt aViewResId, |
|
67 TInt aEmptyListResId, TInt aSoftKeyResId, TInt aSoftkeyMskDisabledId); |
|
68 |
|
69 /** |
|
70 * Destructor |
|
71 */ |
|
72 virtual ~CGlxCloudView(); |
|
73 }; |
|
74 |
|
75 #endif // C_GLXCLOUDVIEW_H |
|
76 |
|
77 // End of File |