|
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: Allows change the screen size |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __GLX_RESOLUTION_MANAGER__ |
|
22 #define __GLX_RESOLUTION_MANAGER__ |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 |
|
27 // Forward Declarations |
|
28 class CGlxResolutionUtility; |
|
29 |
|
30 /** |
|
31 * Class Description |
|
32 * Restricted Resolution Implementation |
|
33 * Dont use this class directly, |
|
34 * use CGlxResolutionUtility instead |
|
35 * @author Loughlin |
|
36 */ |
|
37 NONSHARABLE_CLASS (CGlxResolutionManager) : public CBase |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Symbian Constructor |
|
42 * @return a CGlxResolutionManager object. |
|
43 */ |
|
44 IMPORT_C static CGlxResolutionManager* NewL(); |
|
45 |
|
46 /** |
|
47 * Destructor |
|
48 */ |
|
49 IMPORT_C ~CGlxResolutionManager(); |
|
50 |
|
51 |
|
52 private: |
|
53 /** |
|
54 * C++ Constructor |
|
55 */ |
|
56 CGlxResolutionManager(); |
|
57 |
|
58 public: |
|
59 /** |
|
60 * Sets the screen size |
|
61 * @param The screens size |
|
62 */ |
|
63 IMPORT_C void SetScreenSizeL( TSize aScrnSz ); |
|
64 |
|
65 |
|
66 private: |
|
67 |
|
68 /// Onw: the client side resolution implementation |
|
69 CGlxResolutionUtility* iResUtility; |
|
70 }; |
|
71 |
|
72 #endif // __GLX_RESOLUTION_MANAGER__ |
|
73 |