author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 2 |
// All rights reserved. |
sl@0 | 3 |
// This component and the accompanying materials are made available |
sl@0 | 4 |
// under the terms of "Eclipse Public License v1.0" |
sl@0 | 5 |
// which accompanies this distribution, and is available |
sl@0 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
sl@0 | 7 |
// |
sl@0 | 8 |
// Initial Contributors: |
sl@0 | 9 |
// Nokia Corporation - initial contribution. |
sl@0 | 10 |
// |
sl@0 | 11 |
// Contributors: |
sl@0 | 12 |
// |
sl@0 | 13 |
// Description: |
sl@0 | 14 |
// |
sl@0 | 15 |
|
sl@0 | 16 |
/** |
sl@0 | 17 |
@file |
sl@0 | 18 |
@publishedAll |
sl@0 | 19 |
@released |
sl@0 | 20 |
*/ |
sl@0 | 21 |
|
sl@0 | 22 |
#if !defined(__UIKON_RH__) |
sl@0 | 23 |
#define __UIKON_RH__ |
sl@0 | 24 |
|
sl@0 | 25 |
#if !defined(__BADEF_RH__) |
sl@0 | 26 |
#include <badef.rh> |
sl@0 | 27 |
#endif |
sl@0 | 28 |
|
sl@0 | 29 |
#if !defined(__UIKON_HRH__) |
sl@0 | 30 |
#include <uikon.hrh> |
sl@0 | 31 |
#endif |
sl@0 | 32 |
|
sl@0 | 33 |
#if !defined(__BAERRRSVR_RH__) |
sl@0 | 34 |
#include <baerrrsvr.rh> |
sl@0 | 35 |
#endif |
sl@0 | 36 |
|
sl@0 | 37 |
STRUCT RESOURCE_LINK |
sl@0 | 38 |
{ |
sl@0 | 39 |
LLINK id; |
sl@0 | 40 |
} |
sl@0 | 41 |
|
sl@0 | 42 |
STRUCT HOTKEY |
sl@0 | 43 |
{ |
sl@0 | 44 |
LONG command; |
sl@0 | 45 |
LONG key; |
sl@0 | 46 |
} |
sl@0 | 47 |
|
sl@0 | 48 |
STRUCT HOTKEYS |
sl@0 | 49 |
{ |
sl@0 | 50 |
STRUCT plain[]; |
sl@0 | 51 |
STRUCT control[]; |
sl@0 | 52 |
STRUCT shift_control[]; |
sl@0 | 53 |
} |
sl@0 | 54 |
|
sl@0 | 55 |
// Removed by Bill |
sl@0 | 56 |
//#include <eikfont.rh> // for STRUCT FONT |
sl@0 | 57 |
|
sl@0 | 58 |
STRUCT NUMBER_INT8 |
sl@0 | 59 |
{ |
sl@0 | 60 |
BYTE value=0; |
sl@0 | 61 |
} |
sl@0 | 62 |
|
sl@0 | 63 |
STRUCT NUMBER_INT16 |
sl@0 | 64 |
{ |
sl@0 | 65 |
WORD value=0; |
sl@0 | 66 |
} |
sl@0 | 67 |
|
sl@0 | 68 |
STRUCT NUMBER_INT32 |
sl@0 | 69 |
{ |
sl@0 | 70 |
LONG value=0; |
sl@0 | 71 |
} |
sl@0 | 72 |
|
sl@0 | 73 |
|
sl@0 | 74 |
// EIKCOLOR.RH |
sl@0 | 75 |
// |
sl@0 | 76 |
// Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 77 |
// |
sl@0 | 78 |
|
sl@0 | 79 |
STRUCT COLOR |
sl@0 | 80 |
{ |
sl@0 | 81 |
BYTE red; |
sl@0 | 82 |
BYTE green; |
sl@0 | 83 |
BYTE blue; |
sl@0 | 84 |
} |
sl@0 | 85 |
|
sl@0 | 86 |
STRUCT CTRL_COLOR |
sl@0 | 87 |
{ |
sl@0 | 88 |
WORD logical_color; |
sl@0 | 89 |
STRUCT color; // COLOR |
sl@0 | 90 |
} |
sl@0 | 91 |
|
sl@0 | 92 |
STRUCT COLORLIST |
sl@0 | 93 |
{ |
sl@0 | 94 |
LLINK array_id=0; |
sl@0 | 95 |
} |
sl@0 | 96 |
|
sl@0 | 97 |
STRUCT EIKCOLORLIST |
sl@0 | 98 |
{ |
sl@0 | 99 |
LLINK array_id=0; |
sl@0 | 100 |
LLINK ext_id; |
sl@0 | 101 |
} |
sl@0 | 102 |
|
sl@0 | 103 |
#include <eikcolor.hrh> |
sl@0 | 104 |
|
sl@0 | 105 |
// EIKFONT.RH |
sl@0 | 106 |
// |
sl@0 | 107 |
// Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 108 |
// |
sl@0 | 109 |
|
sl@0 | 110 |
//#include <eikfont.hrh> |
sl@0 | 111 |
|
sl@0 | 112 |
STRUCT FONT |
sl@0 | 113 |
{ |
sl@0 | 114 |
LONG fontid; // a value from fontids.h |
sl@0 | 115 |
WORD flags=0; // a combination of EGulFontFlagXxxxs |
sl@0 | 116 |
} |
sl@0 | 117 |
|
sl@0 | 118 |
STRUCT NAMED_FONT |
sl@0 | 119 |
{ |
sl@0 | 120 |
LTEXT name; |
sl@0 | 121 |
WORD height; // in twips |
sl@0 | 122 |
WORD flags=0; // a combination of EGulFontFlagXxxxs |
sl@0 | 123 |
} |
sl@0 | 124 |
|
sl@0 | 125 |
// EIKPRIV.RH |
sl@0 | 126 |
// |
sl@0 | 127 |
// Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 128 |
// |
sl@0 | 129 |
|
sl@0 | 130 |
STRUCT INT16 |
sl@0 | 131 |
{ |
sl@0 | 132 |
WORD value; |
sl@0 | 133 |
} |
sl@0 | 134 |
|
sl@0 | 135 |
|
sl@0 | 136 |
// EIKPRTPV.RH |
sl@0 | 137 |
// |
sl@0 | 138 |
// Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 139 |
// |
sl@0 | 140 |
|
sl@0 | 141 |
// EIKDEF.RH |
sl@0 | 142 |
// |
sl@0 | 143 |
// Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 144 |
// |
sl@0 | 145 |
|
sl@0 | 146 |
STRUCT RSS_SIGNATURE |
sl@0 | 147 |
{ |
sl@0 | 148 |
LONG signature=EEikResourceSignatureValue; |
sl@0 | 149 |
SRLINK self; |
sl@0 | 150 |
} |
sl@0 | 151 |
|
sl@0 | 152 |
STRUCT TBUF1 { BUF<1> buf; } |
sl@0 | 153 |
STRUCT TBUF2 { BUF<2> buf; } |
sl@0 | 154 |
STRUCT TBUF4 { BUF<4> buf; } |
sl@0 | 155 |
STRUCT TBUF8 { BUF<8> buf; } |
sl@0 | 156 |
STRUCT TBUF9 { BUF<9> buf; } |
sl@0 | 157 |
STRUCT TBUF16 { BUF<16> buf; } |
sl@0 | 158 |
STRUCT TBUF32 { BUF<32> buf; } |
sl@0 | 159 |
STRUCT TBUF40 { BUF<40> buf; } |
sl@0 | 160 |
STRUCT TBUF64 { BUF<64> buf; } |
sl@0 | 161 |
STRUCT TBUF80 { BUF<80> buf; } |
sl@0 | 162 |
STRUCT TBUF128 { BUF<128> buf; } |
sl@0 | 163 |
STRUCT TBUF256 { BUF<256> buf; } |
sl@0 | 164 |
|
sl@0 | 165 |
STRUCT EIK_APP_INFO |
sl@0 | 166 |
{ |
sl@0 | 167 |
LLINK hotkeys=0; |
sl@0 | 168 |
LLINK menubar=0; |
sl@0 | 169 |
LLINK toolbar=0; |
sl@0 | 170 |
LLINK toolband=0; |
sl@0 | 171 |
LLINK cba=0; |
sl@0 | 172 |
LLINK status_pane=0; |
sl@0 | 173 |
LLINK custom_app_info_extension=0; |
sl@0 | 174 |
} |
sl@0 | 175 |
|
sl@0 | 176 |
STRUCT PAGESIZE |
sl@0 | 177 |
{ |
sl@0 | 178 |
LONG width=0; |
sl@0 | 179 |
LONG height=0; |
sl@0 | 180 |
} |
sl@0 | 181 |
|
sl@0 | 182 |
STRUCT VIEW_ID |
sl@0 | 183 |
{ |
sl@0 | 184 |
LONG appuid; |
sl@0 | 185 |
LONG viewuid; |
sl@0 | 186 |
} |
sl@0 | 187 |
|
sl@0 | 188 |
// EIKSPANE.RH |
sl@0 | 189 |
// |
sl@0 | 190 |
// Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 191 |
// |
sl@0 | 192 |
|
sl@0 | 193 |
|
sl@0 | 194 |
STRUCT STATUS_PANE_SYSTEM_MODEL // System wide status pane declaration |
sl@0 | 195 |
{ |
sl@0 | 196 |
STRUCT panes[]; // entire set of valid SPANE_PANEs |
sl@0 | 197 |
LLINK default_layout; // default STATUS_PANE_LAYOUT |
sl@0 | 198 |
LLINK layouts[]; // entire set of STATUS_PANE_LAYOUTs |
sl@0 | 199 |
} |
sl@0 | 200 |
|
sl@0 | 201 |
STRUCT SPANE_PANE |
sl@0 | 202 |
{ |
sl@0 | 203 |
LONG id; |
sl@0 | 204 |
WORD flags=EEikStatusPaneServerOwned; |
sl@0 | 205 |
WORD type; |
sl@0 | 206 |
LLINK resource=0; |
sl@0 | 207 |
} |
sl@0 | 208 |
|
sl@0 | 209 |
STRUCT STATUS_PANE_LAYOUT |
sl@0 | 210 |
{ |
sl@0 | 211 |
WORD position; |
sl@0 | 212 |
STRUCT pane_tree; // SPANE_LAYOUT_TREE_NODE root of the layout tree |
sl@0 | 213 |
} |
sl@0 | 214 |
|
sl@0 | 215 |
STRUCT SPANE_LAYOUT_TREE_NODE |
sl@0 | 216 |
{ |
sl@0 | 217 |
LONG id=0; |
sl@0 | 218 |
WORD flags; |
sl@0 | 219 |
WORD size; |
sl@0 | 220 |
STRUCT sub_panes[]; // SPANE_LAYOUT_TREE_NODE sub panes |
sl@0 | 221 |
} |
sl@0 | 222 |
|
sl@0 | 223 |
STRUCT STATUS_PANE_APP_MODEL // Application specific status pane |
sl@0 | 224 |
{ |
sl@0 | 225 |
LLINK layout=EEikStatusPaneUseDefaults; // STATUS_PANE_LAYOUT to use for this app |
sl@0 | 226 |
STRUCT panes[]; // SPANE_PANE overrides to use for this app |
sl@0 | 227 |
} |
sl@0 | 228 |
|
sl@0 | 229 |
// Notifiers |
sl@0 | 230 |
|
sl@0 | 231 |
STRUCT NOTIFIER_LIST |
sl@0 | 232 |
{ |
sl@0 | 233 |
LONG dll_uid; |
sl@0 | 234 |
|
sl@0 | 235 |
LEN WORD STRUCT notifier_list[]; // notifier data |
sl@0 | 236 |
} |
sl@0 | 237 |
|
sl@0 | 238 |
STRUCT NOTIFIER_DATA |
sl@0 | 239 |
{ |
sl@0 | 240 |
LONG notifier_uid; |
sl@0 | 241 |
} |
sl@0 | 242 |
|
sl@0 | 243 |
#endif |