vpnui/vpnmanagementui/data/vpnmanagementuirsc.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 10:54:34 +0300
branchRCL_3
changeset 38 9f4e37332ce5
parent 0 33413c0669b9
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2003-2007 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 definitions for project vpnmanagementui
*
*/



//  RESOURCE IDENTIFIER
NAME    VPNM // 4 letter ID

//  INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <avkon.hrh>

#include <avkon.loc>
#include <vpnmanagementui.loc>
#include <vpnnotifier.loc>

#include <vpnmanagementui.mbg>

#include "vpnmanagementui.hrh"

//  RESOURCE DEFINITIONS 
RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="vpnui"; }


// **MANAGEMENT VIEW
//----------------------------------------------------
//   
//    r_vpn_management_title
//    Management view's title.
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_vpn_management_title
    {
    txt = qtn_vpn_management_title;        
    }
    
RESOURCE TBUF r_vpn_management_title_buf
    {
    buf= qtn_set_folder_conn_vpn; 
    }

//----------------------------------------------------
//   
//    r_vpnui_management_view
//    ?description
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_vpnui_management_view
    {
    menubar=r_vpnui_menubar_management_view;  
    cba=R_AVKON_SOFTKEYS_SELECTION_LIST; 
    }

//----------------------------------------------------
//
//    r_msk_open
//    MiddleSoftKey in vpn management view
//
//----------------------------------------------------
//
RESOURCE TBUF r_msk_open
    {
    buf= qtn_msk_open; 
    }

//----------------------------------------------------
//   
//    r_vpnui_menubar_management_view
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_vpnui_menubar_management_view
    {
    titles=
        {
        //MENU_TITLE { menu_pane=r_vpnui_app_menu; txt="App"; },
        MENU_TITLE { menu_pane=r_vpnui_management_view_menu; txt="View"; }
        };
    }

//----------------------------------------------------
//   
//    r_vpnui_management_view_menu
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vpnui_management_view_menu
    {
    items=
        {
        MENU_ITEM { command=EVpnUiCmdOpen; txt = qtn_set_options_open; flags = EEikMenuItemAction; },
        #ifdef __SERIES60_HELP
        MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
        #endif //__SERIES60_HELP

        MENU_ITEM { command=EAknCmdExit; txt = qtn_options_exit; }
        };
    }

//----------------------------------------------------
//
//    r_vpn_policies
//    First item in VPN management view's list
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_policies
    {
    buf= "\t"qtn_vpn_policies; 
    }

//----------------------------------------------------
//
//    r_vpn_policy_servers
//    Second item in VPN management view's list
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_policy_servers
    {
    buf= "\t"qtn_vpn_policy_servers; 
    }

//----------------------------------------------------
//
//    r_vpn_log
//    Third item in VPN management view's list
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_log
    {
    buf= "\t"qtn_vpn_log; 
    }

// **VPN Policies view
//----------------------------------------------------
//    
//     r_vpn_policies_title
//     VPN policies view's title
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_vpn_policies_title
    {
    txt= qtn_vpn_policies_title;       
    }

//----------------------------------------------------
//    
//     r_vpnui_policies_view
//     VPN UI Policies View Menubar & Soft keys
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_vpnui_policies_view
     {
     menubar=r_vpnui_policies_view_menubar;  
     cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
     }

//----------------------------------------------------
//
//    r_msk_install_vpn_policies
//    MiddleSoftKey for empty policies view
//
//----------------------------------------------------
//
RESOURCE TBUF r_msk_install_vpn_policies
    {
    buf= qtn_msk_install_vpn_policies; 
    }

//----------------------------------------------------
//
//    r_msk_vpn_details
//    MiddleSoftKey for policies view
//
//----------------------------------------------------
//
RESOURCE TBUF r_msk_vpn_details
    {
    buf= qtn_msk_vpn_details; 
    }

//----------------------------------------------------
//    
//     r_vpnui_policies_view_menubar
//     Menubar for VPN policies view
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_vpnui_policies_view_menubar
    {
     titles=
        {
        MENU_TITLE { menu_pane=r_vpnui_policies_view_menu; }
        };
    }

//----------------------------------------------------
//    
//     r_vpnui_policies_view_menu
//     Menu pane for VPN policies view
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vpnui_policies_view_menu
    {
    items=
        {
        MENU_ITEM { 
            command=EVpnUiCmdPolicyDetails;
            txt = qtn_vpn_options_policy_details;
            flags=EEikMenuItemSpecific;
             },

        MENU_ITEM { 
            command=EVpnUiCmdDeletePolicy; 
            txt = qtn_vpn_options_delete_policy;
            flags=EEikMenuItemSpecific;
             },
        
#ifdef __SERIES60_HELP
        MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
#endif //__SERIES60_HELP

        MENU_ITEM { command=EAknCmdExit; txt = qtn_options_exit; }
        };
    }

//----------------------------------------------------
//    
//     r_vpn_policies_empty
//     Empty Policy list text
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_policies_empty
    {
    buf = qtn_vpn_policies_empty;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_dl_policies_now
//     Install policies from server query 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_dl_policies_now
    {
    buf = qtn_vpn_quest_dl_policies_now;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_delete_policy
//     Delete a VPN policy query not associated 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_delete_policy
    {
    buf = qtn_vpn_quest_delete_policy;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_delete_policy_associated
//     Delete a VPN policy query associated 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_delete_policy_associated
    {
    buf = qtn_vpn_quest_delete_policy_associated;
    }


// **VPN policy servers view
//----------------------------------------------------
//    
//     r_vpn_policy_servers_title
//     VPN policy servers view's title
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_vpn_policy_servers_title
    {
    txt= qtn_vpn_policy_servers_title;       
    }


//----------------------------------------------------
//    
//     r_vpnui_policy_servers_view
//     VPN UI Policy Server View Menubar & Soft keys
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_vpnui_policy_servers_view
     {
     menubar=r_vpnui_policy_servers_view_menubar;  
     cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
     }

//----------------------------------------------------
//
//    r_msk_add_vpn_server
//    MiddleSoftKey for servers view
//
//----------------------------------------------------
//
RESOURCE TBUF r_msk_add_vpn_server
    {
    buf= qtn_msk_add_vpn_server; 
    }

//----------------------------------------------------
//
//    r_msk_edit
//    MiddleSoftKey for servers view
//
//----------------------------------------------------
//
RESOURCE TBUF r_msk_edit
    {
    buf= qtn_msk_edit; 
    }

//----------------------------------------------------
//    
//     r_vpnui_policy_servers_view_menubar
//     Menubar for VPN policy servers view
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_vpnui_policy_servers_view_menubar
    {
     titles=
        {
        MENU_TITLE { menu_pane=r_vpnui_policy_servers_view_menu; }
        };
    }

//----------------------------------------------------
//    
//     r_vpnui_policy_servers_view_menu
//     Menu pane for VPN policy servers view
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vpnui_policy_servers_view_menu
    {
    items=
        {
        MENU_ITEM { 
            command=EVpnUiCmdEditServer; 
            txt = qtn_vpn_options_edit_server; },
        MENU_ITEM { 
            command=EVpnUiCmdAddServer; 
            txt = qtn_vpn_options_add_new_server; },
        MENU_ITEM { 
            command=EVpnUiCmdSynchronise; 
            txt = qtn_vpn_options_synchronise_server; },
        MENU_ITEM { 
            command=EVpnUiCmdDeleteServer; 
            txt = qtn_vpn_options_delete_server; },
        
#ifdef __SERIES60_HELP
        MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
#endif //__SERIES60_HELP

        MENU_ITEM { command=EAknCmdExit; txt = qtn_options_exit; }
        };
    }

//----------------------------------------------------
//    
//     r_vpn_policy_servers_empty
//     Empty Policy servers list text
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_policy_servers_empty
    {
    buf =    qtn_vpn_policy_servers_empty;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_define_new_server
//     Define a policy server query 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_define_new_server
    {
    buf = qtn_vpn_quest_define_new_server;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_synchronise_server
//     Synchronise server query 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_synchronise_server
    {
    buf = qtn_vpn_quest_synchronise_server;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_delete_server
//     Delete a VPN policy server 
//     No policies related to the server
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_delete_server
    {
    buf = qtn_vpn_quest_delete_server;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_delete_server_associated
//     Delete a VPN policy server 
//     Policies related to the server
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_delete_server_associated
    {
    buf = qtn_vpn_quest_delete_server_associated;
    }

//----------------------------------------------------
//    
//     r_vpn_info_policy_server_in_use
//     Policy server currently in use information note 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_info_policy_server_in_use
    {
    buf = qtn_vpn_info_policy_server_in_use;
    }

//----------------------------------------------------
//    
//     r_list_query
//     Policy server selection pop-up 
//
//----------------------------------------------------
//
RESOURCE DIALOG r_list_query
    {
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_SELECT_CANCEL;
    items=
        {
        DLG_LINE
            {
            type = EAknCtListQueryControl;
            id = EListQueryControl;             //Avkon.hrh
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = LISTBOX
                    {
                    flags = EAknListBoxMenuList;
                    };
                heading = qtn_vpn_prmpt_policy_server_selection;
                };
            }
        };
    }

//----------------------------------------------------
//
//    r_msk_change
//    MiddleSoftKey in vpn server parameters view
//
//----------------------------------------------------
//
RESOURCE TBUF r_msk_change
    {
    buf= qtn_msk_change; 
    }


// **VPN log view
//----------------------------------------------------
//    
//     r_vpn_log_title
//     VPN log view's title
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_vpn_log_title
    {
    txt= qtn_vpn_log_title;       
    }

//----------------------------------------------------
//    
//     r_vpnui_log_view
//     VPN UI Log View Menubar & Soft keys
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_vpnui_log_view
     {
     menubar=r_vpnui_log_view_menubar;  
     cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
     }

//----------------------------------------------------
//
//    r_msk_refresh_vpn_log
//    MiddleSoftKey for log view
//
//----------------------------------------------------
//
RESOURCE TBUF r_msk_refresh_vpn_log
    {
    buf= qtn_msk_refresh_vpn_log; 
    }

//----------------------------------------------------
//    
//     r_vpnui_log_view_menubar
//     Menubar for VPN log view
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_vpnui_log_view_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_vpnui_log_view_menu; txt="View log"; }
        };
    }


//----------------------------------------------------
//    
//     r_vpnui_log_view_menu
//     Menu pane for VPN log view
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vpnui_log_view_menu
    {
    items=
        {
        MENU_ITEM { 
            command=EVpnUiCmdLogDetails; 
            txt = qtn_logs_cmd_details; 
            flags=EEikMenuItemSpecific;
            },
        MENU_ITEM { 
            command=EVpnUiCmdRefreshLog; 
            txt = qtn_vpn_options_refresh_log; },
        MENU_ITEM { 
            command=EVpnUiCmdClearLog; 
            txt = qtn_logs_cmd_clear_list; },
        
#ifdef __SERIES60_HELP
        MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
#endif //__SERIES60_HELP

        MENU_ITEM { command=EAknCmdExit; txt = qtn_options_exit; }
        };
    }

//----------------------------------------------------
//    
//     r_vpn_log_empty
//     Empty VPN log list text
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_log_empty
    {
    buf = qtn_vpn_log_empty;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_clear_log
//     Clear a VPN log confirmation query
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_clear_log
    {
    buf = qtn_vpn_quest_clear_log;
    }

//----------------------------------------------------
//    
//     r_vpn_navi_client_version 
//     Version text in VPN log navi pane
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_navi_client_version 
    {
    buf = qtn_vpn_navi_client_version;
    }


//----------------------------------------------------
//   
//    r_vpn_log_icon_array
//    Icons in the vpn log view.
//
//----------------------------------------------------
//    
RESOURCE AKN_ICON_ARRAY r_vpn_log_icon_array
    {
    bmpfile = "\\resource\\apps\\vpnmanagementui.mbm";
   
    icons =
        {
        AKN_ICON
            {
            iconId = EMbmVpnmanagementuiQgn_prop_vpn_log_info;
            maskId = EMbmVpnmanagementuiQgn_prop_vpn_log_info_mask;
            },
        AKN_ICON
            {
            iconId = EMbmVpnmanagementuiQgn_prop_vpn_log_warn;
            maskId = EMbmVpnmanagementuiQgn_prop_vpn_log_warn_mask;
            },
        AKN_ICON
            {
            iconId = EMbmVpnmanagementuiQgn_prop_vpn_log_error;
            maskId = EMbmVpnmanagementuiQgn_prop_vpn_log_error_mask;
            }
        };
    }


// **VPN Policy and VPN log details
//----------------------------------------------------
//    
//     r_message_query_details_view
//     VPN policy and VPN log details message query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_message_query_details_view
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    items=
         {
        DLG_LINE 
              {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                    {
                };
            },
         DLG_LINE
              {
            type = EAknCtMessageQuery;
              id = EAknMessageQueryContentId;
                control = AVKON_MESSAGE_QUERY
                    {
                     };
              }
        };
    }

//----------------------------------------------------
//    
//     r_confirmation_query
//     Confirmation query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_confirmation_query
    {
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_YES_NO;
     items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_CONFIRMATION_QUERY
                {
                    layout = EConfirmationLayout;
                };
            }
        };
    }

//***************************

//----------------------------------------------------
//   
//    r_vpn_detail_policy_description
//    Text for detail's topic
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_policy_description
    { 
    buf = qtn_vpn_detail_policy_description;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_policy_status
//    Text for detail's topic
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_policy_status
    { 
    buf = qtn_vpn_detail_policy_status;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_cert_status
//    Text for detail's topic
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_cert_status
    { 
    buf = qtn_vpn_detail_cert_status;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_policy_name
//    Text for detail's topic
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_policy_name
    { 
    buf = qtn_vpn_detail_policy_name;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_source_server_name
//    Text for detail's topic
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_source_server_name
    { 
    buf = qtn_vpn_detail_source_server_name;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_policy_update_time
//    Text for detail's topic
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_policy_update_time
    { 
    buf = qtn_vpn_detail_policy_update_time;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_policy_not_associated
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_policy_not_associated
    { 
    buf = qtn_vpn_detail_policy_not_associated;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_policy_associated
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_policy_associated
    { 
    buf = qtn_vpn_detail_policy_associated;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_policy_active
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_policy_active
    { 
    buf = qtn_vpn_detail_policy_active;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_cert_status_ok
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_cert_status_ok
    { 
    buf = qtn_vpn_detail_cert_status_ok;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_cert_status_expired
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_cert_status_expired
    { 
    buf = qtn_vpn_detail_cert_status_expired;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_cert_status_missing
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_cert_status_missing
    { 
    buf = qtn_vpn_detail_cert_status_missing;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_cert_status_not_yet_valid
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_cert_status_not_yet_valid
    { 
    buf = qtn_vpn_detail_cert_status_not_yet_valid;
    }

//----------------------------------------------------
//   
//    r_vpn_detail_log_entry_info
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_log_entry_info
    { 
    buf = "Information:";
    }

//----------------------------------------------------
//   
//    r_vpn_detail_log_entry_warning
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_log_entry_warning
    { 
    buf = "Warning:";
    }

//----------------------------------------------------
//   
//    r_vpn_detail_log_entry_error
//    Text for detailed info
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_detail_log_entry_error
    { 
    buf = "Error:";
    }

// **VPN Policy server parameters view

//----------------------------------------------------
//    
//     r_vpnmanagementui_server_parameters_view
//     Server parameters view Menubar & Soft keys
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_vpnmanagementui_server_parameters_view
     {
     menubar=r_vpnmanagementui_server_parameters_view_menubar;  
     cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
     }

//----------------------------------------------------
//    
//     r_vpnmanagementui_server_parameters_view_menubar
//     Menubar for VPN policy server parameters view
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_vpnmanagementui_server_parameters_view_menubar
    {
     titles=
        {
        MENU_TITLE { menu_pane=r_vpnmanagementui_server_parameters_view_menu; txt="View parameters"; }
        };
    }

//----------------------------------------------------
//    
//     r_vpnmanagementui_server_parameters_view_menu
//     Menu pane for VPN policy server parameters view
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_vpnmanagementui_server_parameters_view_menu
    {
    items=
        {
        MENU_ITEM { command=EVpnUiCmdChange;txt = qtn_set_options_change; },
        
#ifdef __SERIES60_HELP
        MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
#endif //__SERIES60_HELP

        MENU_ITEM { command=EAknCmdExit; txt = qtn_options_exit; }
        };
    }

//---------------------------------------------------- 
//     r_text_resource_server_parameters_view_empty_list 
//----------------------------------------------------
//
RESOURCE TBUF  r_text_resource_server_parameters_view_empty_list
    {
    buf =    qtn_log_empty_list;
    }

//----------------------------------------------------
//    
//     r_vpn_quest_incomplete_server_def_delete
//     Incomplete VPN policy server definition query 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_quest_incomplete_server_def_delete
    {
    buf = qtn_vpn_quest_incomplete_server_def_delete;
    }

//----------------------------------------------------
//    
//     r_fldr_name_already_used
//     Name already in use note 
//
//----------------------------------------------------
//
RESOURCE TBUF r_fldr_name_already_used
    {
    buf = qtn_fldr_name_already_used;
    }


// **VPN policy server name text setting page
//----------------------------------------------------
//    
//    r_server_name_setting_page    
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_server_name_setting_page
    {    
    label= qtn_vpn_sett_policy_server_name;
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;  
    type = EEikCtEdwin;
    editor_resource_id = r_server_name_edwin;
    }

//----------------------------------------------------
//    
//    r_server_name_edwin    
//    Server name editor.
//
//----------------------------------------------------
//
RESOURCE EDWIN r_server_name_edwin 
    {
    width = 9;
    lines = 5;    
    maxlength = 30;
    allowed_input_modes = EAknEditorTextInputMode |EAknEditorNumericInputMode;
    avkon_flags = EAknEditorFlagNoT9;
    flags= EEikEdwinNoLineOrParaBreaks;
    }

// **VPN policy server address text setting page
//----------------------------------------------------
//    
//    r_server_address_setting_page    
//
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_server_address_setting_page
    {    
    label= qtn_vpn_sett_policy_server_address;
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
    type = EEikCtEdwin;
    editor_resource_id = r_server_address_edwin;
    }

//----------------------------------------------------
//    
//    r_server_address_edwin    
//    Server address editor.
//
//----------------------------------------------------
//
RESOURCE EDWIN r_server_address_edwin 
    {
    width = 9;
    lines = 5;        
    maxlength = 512;
    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;
	allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase;
    avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagLatinInputModesOnly;
    flags= EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks;
    }

// *****************************************************
// **CONFIRMATION QUERIES

// **CONFIRMATION NOTES
//----------------------------------------------------
//    
//     r_vpn_conf_policy_server_sync_ok
//     VPN synchronisation OK confirmation note
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_conf_policy_server_sync_ok
    {
    buf = qtn_vpn_conf_policy_server_sync_ok;
    }

//----------------------------------------------------
//    
//     r_vpn_conf_policy_update_complete
//     VPN policy update OK confirmation note
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_conf_policy_update_complete
    {
    buf = qtn_vpn_conf_policy_update_complete;
    }

// **INFORMATION NOTES

//----------------------------------------------------
//    
//     r_vpn_info_cannot_modify_server_def
//     Cannot be modified information note
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_info_cannot_modify_server_def
    {
    buf = qtn_vpn_info_cannot_modify_server_def;
    }

//----------------------------------------------------
//    
//     r_vpn_info_policy_dl_error
//     Policy update failed information note
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_info_policy_dl_error
    {
    buf = qtn_vpn_info_policy_dl_error;
    }

//----------------------------------------------------
//    
//     r_vpn_info_server_cert_expired
//     Server certificate expired information note 
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_info_server_cert_expired
    {
    buf = qtn_vpn_info_server_cert_expired;
    }

//----------------------------------------------------
//    
//     r_vpn_info_policy_server_sync_error
//     Synchronisation failed information note
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_info_policy_server_sync_error
    {
    buf = qtn_vpn_info_policy_server_sync_error;
    }


// **WAIT NOTES

//----------------------------------------------------
//    
//     r_vpn_connecting_via_ap
//     wait note text for synchronise and update notes
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_connecting_via_ap
    {
    buf = qtn_vpn_connecting_via_ap;
    }

//----------------------------------------------------
//    
//     r_vpn_wait_policy_dl_processing
//     wait note text for synchronise and update notes
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_wait_policy_dl_processing
    {
    buf = qtn_vpn_wait_policy_dl_processing;
    }

//----------------------------------------------------
//    
//     r_vpn_wait_importing_policy
//     wait note for synchronizing and importing policy
//
//----------------------------------------------------
//
RESOURCE TBUF r_vpn_wait_importing_policy
    {
    buf = qtn_vpn_wait_importing_policy;
    }

//----------------------------------------------------
//    
//     r_vpn_wait_note
//     wait note for synchronise and update process
//
//----------------------------------------------------
//
RESOURCE DIALOG r_vpn_wait_note
    {
    flags = EAknProgressNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EVpnUiWaitNote;
            control= AVKON_NOTE 
                { 
                layout = EWaitLayout;
                singular_label = "";
                plural_label = "";
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

//------------------------------------------------------------------------------
//   r_vpn_server_setting_list
//------------------------------------------------------------------------------
//     
RESOURCE AVKON_SETTING_ITEM_LIST r_vpn_server_setting_list
    {
    items =
        {
        AVKON_SETTING_ITEM
            {
            identifier = EVpnUiSettingServerName;
            setting_page_resource = r_server_name_setting_page;
            name = qtn_vpn_sett_policy_server_name;
            empty_item_text = qtn_selec_sett_val_field_none;
            },
        AVKON_SETTING_ITEM
            {
            identifier = EVpnUiSettingServerAddress;
            setting_page_resource = r_server_address_setting_page;
            name = qtn_vpn_sett_policy_server_address;
	        empty_item_text = qtn_set_compulsory;
	        compulsory_ind_string = "*";
            },
        AVKON_SETTING_ITEM
            {
            identifier = EVpnUiSettingIap;
            name = qtn_vpn_sett_vpn_iap_real_netw_reference;
            empty_item_text = qtn_set_compulsory;
            compulsory_ind_string = "*";  
            }

        };
    }
    

// End of File