equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __SCREENINFO_H__ |
|
17 #define __SCREENINFO_H__ |
|
18 |
|
19 #include <e32def.h> //TAny declaration |
|
20 |
|
21 //Forward declarations |
|
22 class TSize; |
|
23 |
|
24 //TScreenInfo structure contains an information about video memory address and |
|
25 //screen size of a particular screen. It is used by TScreenDeviceFactory::CreateInstanceL |
|
26 //method. |
|
27 struct TScreenInfo |
|
28 { |
|
29 TScreenInfo(TAny* aScreenAddress, const TSize& aScreenSize) : |
|
30 iAddress(aScreenAddress), |
|
31 iSize(aScreenSize) |
|
32 { |
|
33 } |
|
34 TAny* iAddress;// The linear address of the screen |
|
35 TSize iSize; // The size of the screen |
|
36 }; |
|
37 |
|
38 #endif//__SCREENINFO_H__ |