equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef HBTHEMESYMBIANCOMMON_P_H |
|
19 #define HBTHEMESYMBIANCOMMON_P_H |
|
20 |
|
21 #include <e32base.h> |
|
22 #include "cpthemecommon_p.h" |
|
23 struct TIconParams |
|
24 { |
|
25 TBuf<256> fileName; |
|
26 TReal width; |
|
27 TReal height; |
|
28 TUint8 aspectRatioMode; |
|
29 TUint8 mode; |
|
30 TUint8 options; |
|
31 TBool mirrored; |
|
32 TUint32 rgba; |
|
33 TBool colorflag; |
|
34 }; |
|
35 |
|
36 struct TMultiIconSymbParams |
|
37 { |
|
38 TBuf<256> multiPartIconId; |
|
39 TBuf<256> multiPartIconList[9]; |
|
40 TRect sources[9]; |
|
41 TRect targets[9]; |
|
42 TSize pixmapSizes[9]; |
|
43 QSizeF size; |
|
44 TInt aspectRatioMode; |
|
45 TInt mode; |
|
46 TInt options; |
|
47 TBool mirrored; |
|
48 TInt rgba; |
|
49 TBool colorflag; |
|
50 }; |
|
51 |
|
52 // server name |
|
53 _LIT(KThemeServerName,"hbthemeserver"); |
|
54 const TUid KServerUid3={0x20022E82}; |
|
55 |
|
56 // A version must be specifyed when creating a session with the server |
|
57 |
|
58 |
|
59 const TUint KThemeServerMajorVersionNumber=0; |
|
60 const TUint KThemeServerMinorVersionNumber=1; |
|
61 const TUint KThemeServerBuildVersionNumber=1; |
|
62 |
|
63 enum TThemeServerLeave |
|
64 { |
|
65 ENonNumericString = 99 |
|
66 }; |
|
67 |
|
68 #endif // HBTHEMESYMBIANCOMMON_P_H |
|
69 |
|