photosgallery/viewframework/visuallistmanager/inc/mglxvisualobjectstatusobserver.h
equal
deleted
inserted
replaced
|
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: Visual object status observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef M_GLXVISUALOBJECTSTATUSOBSERVER_H |
|
22 #define M_GLXVISUALOBJECTSTATUSOBSERVER_H |
|
23 |
|
24 #include <e32std.h> |
|
25 |
|
26 class CGlxVisualObject; |
|
27 |
|
28 /** |
|
29 * Observer interface for notification when visual thumbnail status changes. |
|
30 * |
|
31 * @author Dan Rhodes |
|
32 */ |
|
33 NONSHARABLE_CLASS( MGlxVisualObjectStatusObserver ) |
|
34 { |
|
35 public: |
|
36 /** |
|
37 * Called when the visual thumbnail status changes. |
|
38 * @param aObject The visual whose status has changed. |
|
39 * @param aListIndex Media list index. |
|
40 * @param aHasThumbnail Whether the thumbnail texture has content. |
|
41 */ |
|
42 virtual void VisualStatusChangedL( CGlxVisualObject& aObject, |
|
43 TInt aListIndex, TBool aHasThumbnail ) = 0; |
|
44 /** |
|
45 * Called when a thumbnail has been loaded for an item which previously |
|
46 * didn't have one. |
|
47 * @param aObject The visual whose status has changed. |
|
48 */ |
|
49 virtual void ThumbnailLoadedL( CGlxVisualObject& aObject ) = 0; |
|
50 }; |
|
51 |
|
52 #endif // M_GLXVISUALOBJECTSTATUSOBSERVER_H |