dependencies/extended_ui_framework_definations/aknPriv.rh
author Christian Morlok <symbian.org@christianmorlok.de>
Sat, 27 Mar 2010 10:22:08 +0100
branchv5backport
changeset 37 03b332946b95
parent 26 bef183758dfa
permissions -rw-r--r--
remove mifconv sources
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     1
/*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     2
* Copyright (c) 2004-2008 Nokia Corporation and/or its subsidiary(-ies).
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     3
* All rights reserved.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     4
* This component and the accompanying materials are made available
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     6
* which accompanies this distribution, and is available
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     8
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     9
* Initial Contributors:
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    11
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    12
* Contributors:
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    13
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    14
* Description:  Private resource headers for project AVKON.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    15
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    16
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    17
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    18
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    19
#include <AknPriv.hrh>
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    20
#include <akntouchpane.hrh>
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    21
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    22
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    23
STRUCT AKNPRIV_HARDWARE_STATE_KEY
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    24
	{
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    25
	// key press that triggers this state - will be captured by eiksrv
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    26
	WORD keycode;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    27
	// state id, stored globally, meaning is product specific.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    28
	WORD state;	
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    29
	}
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    30
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    31
STRUCT AKNPRIV_HARDWARE_STATE_KEY_MAP
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    32
	{
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    33
	STRUCT key_state_map[];		// AKNPRIV_HARDWARE_STATE_KEY
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    34
	}
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    35
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    36
STRUCT AKNPRIV_HARDWARE_STATE_SCREEN
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    37
	{
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    38
	// state id that the following screen parameters apply to
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    39
	WORD state;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    40
	// the screen width - will be the natural device screen width if not specified
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    41
	WORD screen_width = EAknPrivParameterNotSet;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    42
	// the screen height - will be the natural device screen height if not specified
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    43
	WORD screen_height = EAknPrivParameterNotSet;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    44
	// the screen rotation - will be the natural device screen height if not specified
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    45
	// see TAknPrivScreenRotation for values
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    46
	WORD screen_rotation = EAknPrivParameterNotSet;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    47
	// rotation to use for apps that want the opposite orientation, eg portrait vs landscape.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    48
	// default values will be used if not specified
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    49
	WORD rotation_for_other_orientation = EAknPrivParameterNotSet;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    50
	}
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    51
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    52
STRUCT AKNPRIV_HARDWARE_STATE_SCREEN_MAP
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    53
	{
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    54
	STRUCT state_screen_map[];	// AKNPRIV_HARDWARE_STATE_SCREEN
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    55
	WORD default_portrait_rotation = EAknPrivScreenRotationNormal;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    56
	WORD default_landscape_rotation = EAknPrivScreenRotationNormal;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    57
	}
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    58
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    59
STRUCT AKNPRIV_HARDWARE_SOFTKEY_LOCATION
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    60
	{
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    61
	WORD location;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    62
    }
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    63
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    64
// ---------------------------------------------------------------------------
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    65
// Resource strucure for default touch pane.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    66
// ---------------------------------------------------------------------------
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    67
//
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    68
STRUCT AKNPRIV_TOUCHPANE
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    69
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    70
    // Possible flags are defined in @c TAknPrivTouchPaneResourceFlags
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    71
    // enumeration in aknpriv.hrh.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    72
    LONG flags = 0;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    73
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    74
    // Default touch pane items. This should be left empty, if product does
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    75
    // not use touch pane.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    76
    STRUCT items[]; // AKNPRIV_TOUCHPANE_ITEM
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    77
    }
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    78
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    79
// ---------------------------------------------------------------------------
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    80
// Resource structure for default touch pane items.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    81
// ---------------------------------------------------------------------------
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    82
//
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    83
STRUCT AKNPRIV_TOUCHPANE_ITEM
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    84
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    85
    BYTE version = 1; // Do not change!
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    86
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    87
    // Priority indicates the order in which the components in default
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    88
    // resource are replaced by customized touch pane content. Items with
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    89
    // lower priorities will be replaced before items with higher priorites.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    90
    // 0 = Mandatory, 1 = Highest priority, ... , 255 = Lowest priority.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    91
    BYTE priority; 
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    92
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    93
    // One of the pre-defined element identifiers defined in akntouchpane.hrh
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    94
    BYTE id;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    95
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    96
    // UID for specifying an implementation for touch pane ECom plug-in
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    97
    // interface. When plug-in implementation is used, the id field must be
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    98
    // set to value @c ETouchPaneElementPlugin.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    99
    LONG plugin = 0;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   100
    }