--- a/presencesettingsui/data/psuigspluginrsc.rss Thu Jul 01 14:09:06 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,453 +0,0 @@
-/*
-* 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: Resource file for Presence Settings UI GS plugin
-*
-*/
-
-
-
-
-// RESOURCE IDENTIFIER
-NAME UIPS // 4 letter ID
-
-// INCLUDES
-#include <bldvariant.hrh>
-#include <avkon.rh>
-#include <avkon.hrh>
-#include <avkon.rsg>
-#include <avkon.mbg>
-#include <eikcore.rsg>
-#include <eikon.rh>
-#include <eikon.rsg>
-#include <avkon.loc>
-#include <data_caging_paths_strings.hrh>
-#include <psuigsplugin.loc>
-#include "psuigsplugin.hrh"
-
-// CONSTANTS
-#define KPSUICompulsoryChar "*"
-#define KPSUIMaxServerNameLength 100
-#define KPSUIURILength 255
-#define KPSUIMaxObjectSize 999999999
-#define KPSUIObjectSizeEditorLength 9
-#define KPSUIPublIntervalEditorLength 6
-#define KPSUISubscriptionsEditorLength 4
-
-// RESOURCE DEFINITIONS
-
-// ---------------------------------------------------------------------------
-// RSS_SIGNATURE
-// ---------------------------------------------------------------------------
-//
-RESOURCE RSS_SIGNATURE {}
-
-// ---------------------------------------------------------------------------
-// r_psui_mainview_menubar - menubar
-// Settings mainview's titles
-// ---------------------------------------------------------------------------
-//
-RESOURCE MENU_BAR r_psui_mainview_menubar
- {
- titles =
- {
- MENU_TITLE { menu_pane = r_psui_mainview_menupane; }
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_mainview_menupane - menupane
-// Settings mainview's menuitems
-// ---------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_psui_mainview_menupane
- {
- items =
- {
- MENU_ITEM { command = EPSUICmdEdit; txt = qtn_presence_settings_edit; },
- MENU_ITEM { command = EPSUICmdNewSettings; txt = qtn_presence_settings_new;
- cascade = r_psui_newsettings_menu; },
- MENU_ITEM { command = EPSUICmdDelete; txt = qtn_presence_settings_delete; },
- MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
- MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_newsettings_menu - titlepane
-// Settings mainview's menuitems in New Settings cascade menu
-// ---------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_psui_newsettings_menu
- {
- items =
- {
- MENU_ITEM { command = EPSUICmdNewSettingsDefault; txt = qtn_presence_settings_new_default; },
- MENU_ITEM { command = EPSUICmdNewSettingsExisting; txt = qtn_presence_settings_new_existing; }
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_mainview_title - titlepane
-// Settings mainview's title
-// ---------------------------------------------------------------------------
-//
-RESOURCE TITLE_PANE r_psui_mainview_title
- {
- txt = qtn_presence_settings_title;
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_main_view - view
-// Settings mainview's menubar and command button area definitions
-// ---------------------------------------------------------------------------
-//
-RESOURCE AVKON_VIEW r_psui_main_view
- {
- menubar = r_psui_mainview_menubar;
- cba = r_psui_mainview_softkeys;
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_mainview_softkeys - cba
-// Settings mainview's command button area definitions
-// ---------------------------------------------------------------------------
-//
-RESOURCE CBA r_psui_mainview_softkeys
- {
- flags = 0;
- buttons =
- {
- CBA_BUTTON {id=EAknSoftkeyOptions; txt= text_softkey_option;},
- CBA_BUTTON {id=EAknSoftkeyBack; txt= text_softkey_back;},
- CBA_BUTTON {id=EPSUICmdEdit; txt= qtn_msk_edit ;}
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_setting_view - view
-// Setting view's menubar and command button area definitions
-// ---------------------------------------------------------------------------
-//
-RESOURCE AVKON_VIEW r_psui_setting_view
- {
- menubar = r_psui_settingview_menubar;
- cba = r_psui_settingview_softkeys;
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_settingview_softkeys - cba
-// Settings mainview's command button area definitions
-// ---------------------------------------------------------------------------
-//
-RESOURCE CBA r_psui_settingview_softkeys
- {
- flags = 0;
- buttons =
- {
- CBA_BUTTON {id=EAknSoftkeyOptions; txt= text_softkey_option;},
- CBA_BUTTON {id=EAknSoftkeyBack; txt= text_softkey_back;},
- CBA_BUTTON {id=EPSUICmdChange; txt= qtn_msk_change ;}
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_settingview_menubar - menubar
-// Settingview's titles
-// ---------------------------------------------------------------------------
-//
-RESOURCE MENU_BAR r_psui_settingview_menubar
- {
- titles =
- {
- MENU_TITLE { menu_pane = r_psui_settingview_menupane; }
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_settingview_menupane - menupane
-// Settingview's menuitems
-// ---------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_psui_settingview_menupane
- {
- items =
- {
- MENU_ITEM { command = EPSUICmdChange; txt = qtn_presence_settings_change; },
- MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
- MENU_ITEM { command = EEikCmdExit; txt = qtn_options_exit; }
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_setting_items - AVKON_SETTING_ITEM_LIST
-// Setting items for presence settings
-// ---------------------------------------------------------------------------
-//
-RESOURCE AVKON_SETTING_ITEM_LIST r_psui_setting_items
- {
- items =
- {
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIServerNameId;
- setting_page_resource = r_psui_server_name_setting_page;
- name = qtn_presence_settings_name;
- compulsory_ind_string = KPSUICompulsoryChar;
- empty_item_text = qtn_selec_setting_compulsory;
- },
- AVKON_SETTING_ITEM
- {
- identifier = EPSUISIPProfileId;
- setting_page_resource = r_radiobutton_setting_page;
- name = qtn_presence_settings_sip_profile;
- compulsory_ind_string = KPSUICompulsoryChar;
- empty_item_text = qtn_selec_setting_compulsory;
- },
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIXDMSettingsId;
- setting_page_resource = r_radiobutton_setting_page;
- name = qtn_presence_settings_xdm_settings;
- },
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIObjectSizeId;
- setting_page_resource = r_psui_object_size_setting_page;
- name = qtn_presence_settings_object_size;
- compulsory_ind_string = KPSUICompulsoryChar;
- empty_item_text = qtn_selec_setting_compulsory;
- },
-/* server address disabled
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIServerAddrId;
- setting_page_resource = r_psui_server_addr_setting_page;
- name = qtn_presence_settings_url;
- },*/
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIPublishingIntervalId;
- setting_page_resource = r_psui_publ_interval_setting_page;
- name = qtn_presence_settings_time_interval;
- },
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIMaxSubscriptionsId;
- setting_page_resource = r_psui_subscriptions_setting_page;
- name = qtn_presence_settings_number_subscriptions;
- },
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIMaxContactsInListId;
- setting_page_resource = r_psui_subscriptions_list_setting_page;
- name = qtn_presence_settings_number_subsc_lists;
- },
- AVKON_SETTING_ITEM
- {
- identifier = EPSUIDomainSyntaxId;
- setting_page_resource = r_psui_domain_syntax_setting_page;
- name = qtn_presence_settings_domain;
- compulsory_ind_string = KPSUICompulsoryChar;
- empty_item_text = qtn_selec_setting_compulsory;
- }
- };
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_server_name_setting_page
-// ---------------------------------------------------------------------------
-RESOURCE AVKON_SETTING_PAGE r_psui_server_name_setting_page
- {
- label= qtn_presence_settings_name;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EEikCtEdwin;
- editor_resource_id = r_psui_server_name_editor;
- }
-
-RESOURCE EDWIN r_psui_server_name_editor
- {
- flags = EEikEdwinNoLineOrParaBreaks;
- width = 0;
- lines = 0;
- maxlength = KPSUIMaxServerNameLength;
- }
-
-// ---------------------------------------------------------------------------
-// r_radiobutton_setting_page
-// ---------------------------------------------------------------------------
-RESOURCE AVKON_SETTING_PAGE r_radiobutton_setting_page
- {
- number = EAknSettingPageNoOrdinalDisplayed;
- label = qtn_presence_settings_sip_profile;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EAknSetListBox;
- editor_resource_id = r_setting_listbox;
- }
-
-RESOURCE LISTBOX r_setting_listbox
- {
- flags = EAknListBoxMultiselectionList;//no actual multiselection, just to make radiobutton visible in previously chosen item
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_object_size_setting_page
-// ---------------------------------------------------------------------------
-RESOURCE AVKON_SETTING_PAGE r_psui_object_size_setting_page
- {
- label= qtn_presence_settings_object_size;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_psui_object_size_editor;
- }
-
-RESOURCE AVKON_INTEGER_EDWIN r_psui_object_size_editor
- {
- maxlength = KPSUIObjectSizeEditorLength;
- min = 1;
- max = KPSUIMaxObjectSize;// needed since default value is smaller
- unset_value = -1;//KErrNotFound
- }
-
-// ---------------------------------------------------------------------------
-// r_server_addr_setting_page
-// ---------------------------------------------------------------------------
-/* server address disabled
-RESOURCE AVKON_SETTING_PAGE r_psui_server_addr_setting_page
- {
- label= qtn_presence_settings_url;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EEikCtEdwin;
- editor_resource_id = r_psui_uri_editor;
- }*/
-
-RESOURCE EDWIN r_psui_uri_editor
- {
- width = 0;
- lines = 0;
- maxlength = KPSUIURILength;
- flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks;
- allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase;
- numeric_keymap=EAknEditorCalculatorNumberModeKeymap;
- allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
- default_input_mode = EAknEditorTextInputMode;
- special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG;
- default_case = EAknEditorLowerCase;
- avkon_flags = EAknEditorFlagLatinInputModesOnly;
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_publ_interval_setting_page
-// ---------------------------------------------------------------------------
-RESOURCE AVKON_SETTING_PAGE r_psui_publ_interval_setting_page
- {
- label= qtn_presence_settings_time_interval;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_psui_publ_interval_editor;
- }
-
-RESOURCE AVKON_INTEGER_EDWIN r_psui_publ_interval_editor
- {
- maxlength = KPSUIPublIntervalEditorLength;
- min = 1;
- unset_value = -1;//KErrNotFound
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_subscriptions_setting_page
-// ---------------------------------------------------------------------------
-RESOURCE AVKON_SETTING_PAGE r_psui_subscriptions_setting_page
- {
- label= qtn_presence_settings_number_subscriptions;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_psui_subscriptions_editor;
- }
-
-RESOURCE AVKON_INTEGER_EDWIN r_psui_subscriptions_editor
- {
- maxlength = KPSUISubscriptionsEditorLength;
- min = 0;
- unset_value = -1;//KErrNotFound
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_subscriptions_setting_page
-// ---------------------------------------------------------------------------
-RESOURCE AVKON_SETTING_PAGE r_psui_subscriptions_list_setting_page
- {
- label= qtn_presence_settings_number_subsc_lists;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_psui_subscriptions_editor;
- }
-
-// ---------------------------------------------------------------------------
-// r_psui_domain_syntax_setting_page
-// ---------------------------------------------------------------------------
-RESOURCE AVKON_SETTING_PAGE r_psui_domain_syntax_setting_page
- {
- label= qtn_presence_settings_domain;
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
- invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
- type = EEikCtEdwin;
- editor_resource_id = r_psui_uri_editor;
- }
-
-// ---------------------------------------------------------
-// r_deletesettingsconf_query - query
-// Query when deleting settings
-// ---------------------------------------------------------
-//
-RESOURCE DIALOG r_psui_conf_query
- {
- flags=EGeneralQueryFlags;
- buttons=R_AVKON_SOFTKEYS_YES_NO;
- items=
- {
- DLG_LINE
- {
- type=EAknCtQuery;
- id=EGeneralQuery;
- control= AVKON_CONFIRMATION_QUERY
- {
- layout = EConfirmationLayout;
- };
- }
- };
- }
-
-// ---------------------------------------------------------------------------
-// resource texts
-// ---------------------------------------------------------------------------
-//
-RESOURCE TBUF r_qtn_presence_settings_empty_primary { buf = qtn_presence_settings_empty_primary; }
-RESOURCE TBUF r_qtn_presence_settings_empty_secondary { buf = qtn_presence_settings_empty_secondary; }
-RESOURCE TBUF r_qtn_presence_propmt_use_exist { buf = qtn_presence_propmt_use_exist; }
-RESOURCE TBUF r_qtn_presence_name_default { buf = qtn_presence_name_default; }
-RESOURCE TBUF r_qtn_presence_name_default_number { buf = qtn_presence_name_default_number; }
-RESOURCE TBUF r_qtn_query_common_conf_delete { buf = qtn_query_common_conf_delete; }
-RESOURCE TBUF r_qtn_presence_settings_delete_last { buf = qtn_presence_settings_delete_last; }
-RESOURCE TBUF r_qtn_presence_settings_not_filled { buf = qtn_presence_settings_not_filled; }
-RESOURCE TBUF r_qtn_presence_settings_name_exists { buf = qtn_presence_settings_name_exists; }
-RESOURCE TBUF r_qtn_set_folder_presence { buf = qtn_set_folder_presence; }
-
-//End of File