equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2008 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: Utility that contains HUI related slideshow code |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __SHWHUIUTILITY_H__ |
|
22 #define __SHWHUIUTILITY_H__ |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32std.h> |
|
26 #include <e32base.h> |
|
27 #include <alf/alfdisplay.h> |
|
28 |
|
29 // Forward declarations |
|
30 class MGlxVisualList; |
|
31 class CHuiDisplay; |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * ShwHuiUtility. |
|
37 * Isolates HUI runtime dependency so that tests can stub it |
|
38 * @lib shwslideshowengine.lib |
|
39 */ |
|
40 NONSHARABLE_CLASS( ShwUiUtility ) |
|
41 { |
|
42 private: // Constructors and destructor |
|
43 |
|
44 /** |
|
45 * C++ constructor. Not to be used. |
|
46 */ |
|
47 ShwUiUtility(); |
|
48 |
|
49 /** |
|
50 * Destructor. Not to be used. |
|
51 */ |
|
52 ~ShwUiUtility(); |
|
53 |
|
54 public: // the API |
|
55 |
|
56 /** |
|
57 * This method shows the given visual list on the HUI display |
|
58 * @param aDisplay the HUI display to use |
|
59 * @param aVisualList the visual list to display |
|
60 */ |
|
61 static void ShowVisualListL( CAlfDisplay* aDisplay, MGlxVisualList* aVisualList ); |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // __SHWHUIUTILITY_H__ |