/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Contains all the resource definitions for the Location Notation
* Preferences plug-in
*
*/
// RESOURCE IDENTIFIER
NAME LNPR // 4 Letter Identifier
// SYSTEM INCLUDES
#include <data_caging_paths_strings.hrh>
#include <bldvariant.hrh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.mbg>
#include <eikcore.rsg>
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.loc>
// USER INCLUDES
#include <location.loc>
#include <locnotprefsettings.loc>
#include "locnotprefplugin.hrh"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE
{
}
//------------------------------------------------------------------------------
//
// r_locnotprefplugin_view
// Location Notation Preferences plug-in view
//
//------------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_locnotprefplugin_view
{
menubar = r_locnotprefplugin_menubar_view;
cba = r_locnotprefplugin_cba;
}
//------------------------------------------------------------------------------
//
// r_locnotprefplugin_cba
// CBA for Location Notation preferences plug-in
//
//-------------------------------------------------------------------------------
//
RESOURCE CBA r_locnotprefplugin_cba
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id = ELocNotPrefMSKChange;
txt = qtn_msk_change;
}
};
}
//------------------------------------------------------------------------------
//
// r_locnotprefplugin_menubar_view
//
// Menu bar for Location Notation preferences plug-in view.
//
//------------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_locnotprefplugin_menubar_view
{
titles=
{
MENU_TITLE
{
menu_pane = r_locnotprefplugin_menu; txt="";
}
};
}
//------------------------------------------------------------------------------
//
// r_locnotprefplugin_menu
//
// Menu Items for Location Notation preferences plug-in view.
//
//------------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_locnotprefplugin_menu
{
items=
{
MENU_ITEM
{
command = ELocNotPrefChange;
txt = qtn_options_change;
flags = EEikMenuItemAction;
},
MENU_ITEM
{
command = EAknCmdHelp;
txt = qtn_options_help;
},
MENU_ITEM
{
// Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit'
// This is to ensure that the Exit command is not handled by the
// ProcessCommandL of CAknView and is transferred to
// CAknViewAppUi::HandleCommandL. This behaviour is necessary
// for proper handling of the Exit command from an App Server's
// perspective.
command = EEikCmdExit;
txt = qtn_options_exit;
}
};
}
//------------------------------------------------------------------------------
// r_loc_settings_notations
//
// Caption text for Location Notation preferences settings
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_settings_notations
{
buf = qtn_loc_settings_notations;
}
//------------------------------------------------------------------------------
// r_loc_title_notations
//
// Title text for Location Notation preferences settings
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_title_notations
{
buf = qtn_loc_title_notations;
}
//------------------------------------------------------------------------------
// r_loc_notation_measures
//
// List box text for System of Measurements
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_notation_measures
{
buf = qtn_loc_notation_measures;
}
//------------------------------------------------------------------------------
// r_loc_notation_coordinate_format
//
// List box text for Co-ordinate display format
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_notation_coordinate_format
{
buf = qtn_loc_notation_coordinate_format;
}
//------------------------------------------------------------------------------
// r_loc_metric_system
//
// Settings value for System of measures. Indicates usage of Metric system of
// measurement for all location applications
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_metric_system
{
buf = qtn_loc_metric_system;
}
//------------------------------------------------------------------------------
// r_loc_imperial_system
//
// Settings value for System of measures. Indicates usage of Imperial system of
// measurement for all location applications
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_imperial_system
{
buf = qtn_loc_imperial_system;
}
//------------------------------------------------------------------------------
// r_loc_format_decimal_seconds
//
// Settings value for Co-ordinate display format. Indicates usage of Degrees,
// minutes, seconds and decimal seconds
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_format_decimal_seconds
{
buf = qtn_loc_format_decimal_seconds;
}
//------------------------------------------------------------------------------
// r_loc_format_decimal_minutes
//
// Settings value for Co-ordinate display format. Indicates usage of Degrees,
// minutes and decimal minutes
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_format_decimal_minutes
{
buf = qtn_loc_format_decimal_minutes;
}
//------------------------------------------------------------------------------
// r_loc_format_decimal_degrees
//
// Settings value for Co-ordinate display format. Indicates usage of Degrees
// and decimal degrees
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loc_format_decimal_degrees
{
buf = qtn_loc_format_decimal_degrees;
}
//------------------------------------------------------------------------------
// r_loc_sysofmeas_settings
//
// Settings page for manipulating System of measurement settings
//------------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_loc_sysofmeas_settings
{
label = qtn_loc_notation_measures;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
type = EAknSetListBox;
editor_resource_id = r_loc_not_settings_listbox;
}
//------------------------------------------------------------------------------
// r_loc_coorddisplay_settings
//
// Settings page for manipulating Co-ordinate display format settings
//------------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_loc_coorddisplay_settings
{
label = qtn_loc_notation_coordinate_format;
softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
type = EAknSetListBox;
editor_resource_id = r_loc_not_settings_listbox;
}
//------------------------------------------------------------------------------
//
// r_blid_settings_listbox
// Set Settings text
//
//------------------------------------------------------------------------------
//
RESOURCE LISTBOX r_loc_not_settings_listbox
{
flags = EEikListBoxMultipleSelection;
}
// End of File