--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wlanutilities/wlansniffer/mainapplication/data/wlansniffer.rss Wed Sep 01 12:20:32 2010 +0100
@@ -0,0 +1,723 @@
+/*
+* Copyright (c) 2007-2008 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 MainApplication
+ *
+*/
+
+NAME HELL
+
+#include <eikon.rh>
+#include <eikon.rsg>
+#include <avkon.rh>
+#include <avkon.rsg>
+#include <avkon.loc>
+#include <avkon.hrh>
+#include <avkon.mbg>
+#include <appinfo.rh>
+#include <data_caging_paths_strings.hrh>
+#include <wsfmainapplication.loc>
+
+#include "wsfmainapplication.hrh"
+
+// ---------------------------------------------------------
+//
+// Define the resource file signature
+// This resource should be empty.
+//
+// ---------------------------------------------------------
+//
+RESOURCE RSS_SIGNATURE
+ {}
+
+// ---------------------------------------------------------
+//
+// Default Document Name
+//
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_default_document_name
+ {
+ buf="";
+ }
+
+// ---------------------------------------------------------
+//
+// Define default menu and CBA key.
+//
+// ---------------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+ {
+ menubar = r_sniffer_menubar;
+ }
+
+// ---------------------------------------------------------
+//
+// r_sniffer_cp_mainview
+// Control Panel Mainview
+//
+// ---------------------------------------------------------
+//
+RESOURCE CBA r_sniffer_cp_options_back_menu
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyOptions; txt = text_softkey_option;
+ },
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyExit; txt = text_softkey_back;
+ },
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyContextOptions; txt = text_softkey_option;
+ }
+ };
+ }
+
+RESOURCE AVKON_VIEW r_sniffer_cp_mainview
+ {
+ menubar = r_sniffer_menubar;
+ cba = r_sniffer_cp_options_back_menu;
+ }
+
+// ---------------------------------------------------------
+//
+// r_Sniffer_mainview
+// Mainview
+//
+// ---------------------------------------------------------
+//
+RESOURCE CBA r_sniffer_options_back_menu
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyOptions; txt = text_softkey_option;
+ },
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyExit; txt = text_softkey_exit;
+ },
+ CBA_BUTTON
+ {
+ id=EAknSoftkeyContextOptions; txt = text_softkey_option;
+ }
+ };
+ }
+
+RESOURCE AVKON_VIEW r_sniffer_mainview
+ {
+ menubar = r_sniffer_menubar;
+ cba = r_sniffer_options_back_menu;
+ }
+
+// ---------------------------------------------------------
+//
+// r_Sniffer_menubar
+// Menubar for Sniffer example
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_sniffer_menubar
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_sniffer_menu;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_Sniffer_menu
+// Menu for "Options"
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_sniffer_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ESnifferCmdStartBrowsing;
+ txt = qtn_sniffer_opt_start_web_browsing;
+ flags = EEikMenuItemSpecific;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdContinueBrowsing;
+ txt = qtn_sniffer_opt_continue_web_browsing;
+ flags = EEikMenuItemSpecific;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdConnect;
+ txt = qtn_sniffer_opt_connect;
+ flags = EEikMenuItemSpecific;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdDisconnect;
+ txt = qtn_sniffer_opt_disconnect_wlan;
+ flags = EEikMenuItemSpecific;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdRefresh;
+ txt = qtn_sniffer_opt_refresh;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdFilterWlans;
+ txt = qtn_sniffer_opt_filter_out_wlans;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdDetails;
+ txt = qtn_sniffer_opt_details;
+ flags = EEikMenuItemSpecific;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdSettings;
+ txt = qtn_sniffer_opt_settings;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdHelp;
+ txt = qtn_options_help;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+RESOURCE MENU_BAR r_sniffer_context_menubar
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_sniffer_context_menu;
+ }
+ };
+ }
+
+RESOURCE MENU_PANE r_sniffer_context_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ESnifferCmdStartBrowsing;
+ txt = qtn_sniffer_opt_start_web_browsing;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdContinueBrowsing;
+ txt = qtn_sniffer_opt_continue_web_browsing;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdConnect;
+ txt = qtn_sniffer_opt_connect;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdDisconnect;
+ txt = qtn_sniffer_opt_disconnect_wlan;
+ },
+ MENU_ITEM
+ {
+ command = ESnifferCmdDetails;
+ txt = qtn_sniffer_opt_details;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_sniffer_detailsview
+// Details
+//
+// ---------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_sniffer_detailsview
+ {
+ menubar = r_sniffer_detailsview_menubar;
+ cba = R_AVKON_SOFTKEYS_OK_EMPTY;
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_sniffer_detailsview_menubar
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_sniffer_detailsview_menubar
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = R_AVKON_MENUPANE_EMPTY;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Details view listbox headings resources
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE TBUF r_qtn_cmon_heading_conn_name
+ {
+ buf = qtn_cmon_heading_conn_name;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_heading_wlan_network_name
+ {
+ buf = qtn_cmon_heading_wlan_network_name;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_heading_wlan_signal_strength
+ {
+ buf = qtn_cmon_heading_wlan_signal_strength;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_heading_wlan_network_mode
+ {
+ buf = qtn_cmon_heading_wlan_network_mode;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_heading_wlan_security_mode
+ {
+ buf = qtn_cmon_heading_wlan_security_mode;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_heading_wlan_nw_ap_amount
+ {
+ buf = qtn_cmon_heading_wlan_nw_ap_amount;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_heading_wlan_nw_max_rate
+ {
+ buf = qtn_cmon_heading_wlan_nw_max_rate;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Details View signal strength detail definitions
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE TBUF r_qtn_sniffer_wlan_signal_strength_low
+ {
+ buf = qtn_cmon_wlan_signal_strength_low;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_signal_strength_medium
+ {
+ buf = qtn_cmon_wlan_signal_strength_medium;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_signal_strength_strong
+ {
+ buf = qtn_cmon_wlan_signal_strength_good;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_signal_strength_no_signal
+ {
+ buf = qtn_cmon_wlan_signal_strength_no_signal;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Details View Wlan mode definitions
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_newtwork_mode_adhoc
+ {
+ buf = qtn_cmon_wlan_network_mode_adhoc;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_newtwork_mode_infra
+ {
+ buf = qtn_cmon_wlan_network_mode_infra;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Details View Wlan security definitions
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_security_mode_open
+ {
+ buf = qtn_wlan_sett_security_mode_open;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_security_mode_wep
+ {
+ buf = qtn_wlan_sett_security_mode_wep;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_security_mode_802_1x
+ {
+ buf = qtn_wlan_sett_security_mode_802_1x;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_security_mode_wpa
+ {
+ buf = qtn_wlan_sett_security_mode_wpa;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_security_mode_wapi
+ {
+ buf = qtn_wlan_sett_security_mode_wapi;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Details View Wlan security definitions
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE TBUF r_qtn_sniffer_wlan_ap_amount_in_range
+ {
+ buf = qtn_cmon_wlan_ap_amount_in_range_1;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_ap_amount_in_range_many
+ {
+ buf = qtn_cmon_wlan_ap_amount_in_range_many;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Details View Wlan speed definitions
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE TBUF r_qtn_sniffer_wlan_max_data_rate
+ {
+ buf = qtn_cmon_wlan_max_data_rate;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Details View Wlan technology definitions
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_technology_802_11b
+ {
+ buf = "802.11b";
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_technology_802_11g
+ {
+ buf = "802.11g";
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_technology_802_11bg
+ {
+ buf = "802.11b/g";
+ }
+
+RESOURCE TBUF r_qtn_sniffer_wlan_sett_technology_802_11n
+ {
+ buf = "802.11n";
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Connected Details Pop-up heading text:
+//
+//-----------------------------------------------------------------------------
+RESOURCE TBUF r_qtn_wlan_heading_connection_details
+ {
+ buf = qtn_wlan_heading_connection_details;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Connected Details Pop-up item heading texts:
+//
+//-----------------------------------------------------------------------------
+RESOURCE TBUF r_qtn_wlan_item_heading_text_wlan
+ {
+ buf = qtn_wlan_item_heading_text_wlan;
+ }
+
+RESOURCE TBUF r_qtn_wlan_item_heading_duration
+ {
+ buf = qtn_wlan_item_heading_duration;
+ }
+
+RESOURCE TBUF r_qtn_wlan_item_heading_transf
+ {
+ buf = qtn_wlan_item_heading_transf;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Connected Details Pop-up item texts:
+//
+//-----------------------------------------------------------------------------
+RESOURCE TBUF r_qtn_wlan_item_kb
+ {
+ buf = qtn_wlan_item_kb;
+ }
+
+RESOURCE TBUF r_qtn_wlan_item_mb
+ {
+ buf = qtn_wlan_item_mb;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Waitnote
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE DIALOG r_waitnote_searching_wlans
+ {
+ flags = EAknWaitNoteFlags;
+ buttons = R_AVKON_SOFTKEYS_CANCEL;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EWaitNoteSearchingWlans;
+ control = AVKON_NOTE
+ {
+ layout = EWaitLayout;
+ singular_label = qtn_wlan_wait_searching_networks;
+ animation = R_QGN_GRAF_WAIT_BAR_ANIM;
+ };
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Connecting waitnote
+//
+//-----------------------------------------------------------------------------
+
+RESOURCE DIALOG r_waitnote_connecting
+ {
+ flags = EAknWaitNoteFlags;
+ buttons = R_AVKON_SOFTKEYS_CANCEL;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EWaitNoteConnecting;
+ control = AVKON_NOTE
+ {
+ layout = EWaitLayout;
+ animation = R_QGN_GRAF_WAIT_BAR_ANIM;
+ };
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Connected Details Dialog
+//
+//-----------------------------------------------------------------------------
+RESOURCE AVKON_LIST_QUERY r_qtn_connected_details_dialog
+ {
+ softkeys = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
+ items =
+ {
+ AVKON_LIST_QUERY_DLG_LINE
+ {
+ control = AVKON_LIST_QUERY_CONTROL
+ {
+ listtype = EAknCtSingleHeadingPopupMenuListBox;
+ listbox = AVKON_LIST_QUERY_LIST
+ {
+ flags = EAknListBoxDisableItemSpecificMenu |
+ EAknListBoxViewerFlag;
+ };
+ heading = qtn_wlan_heading_connection_details;
+ };
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// Connected Details Dialog
+//
+//-----------------------------------------------------------------------------
+RESOURCE DIALOG r_restart_browsing_confirmation_query
+ {
+ flags=EGeneralQueryFlags;
+ buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
+ items=
+ {
+ DLG_LINE
+ {
+ type=EAknCtQuery;
+ id = EGeneralQuery;
+ control= AVKON_CONFIRMATION_QUERY
+ {
+ layout = EConfirmationQueryLayout;
+ };
+ }
+ };
+ }
+
+RESOURCE TBUF r_qtn_options_exit
+ {
+ buf = qtn_options_exit;
+ }
+
+RESOURCE TBUF r_qtn_options_help
+ {
+ buf = qtn_options_help;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_opt_settings
+ {
+ buf = qtn_sniffer_opt_settings;
+ }
+
+RESOURCE TBUF r_sniffer_opt_define_access_point
+ {
+ buf = qtn_sniffer_opt_define_access_point;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_opt_details
+ {
+ buf = qtn_sniffer_opt_details;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_opt_refresh
+ {
+ buf = qtn_sniffer_opt_refresh;
+ }
+RESOURCE TBUF r_qtn_sniffer_opt_filter_out_wlans
+ {
+ buf = qtn_sniffer_opt_filter_out_wlans;
+ }
+RESOURCE TBUF r_qtn_sniffer_opt_disconnect
+ {
+ buf = qtn_sniffer_opt_disconnect_wlan;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_opt_start_web_browsing
+ {
+ buf = qtn_sniffer_opt_start_web_browsing;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_opt_continue_web_browsing
+ {
+ buf = qtn_sniffer_opt_continue_web_browsing;
+ }
+
+RESOURCE TBUF r_text_softkey_exit
+ {
+ buf = text_softkey_exit;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_unknown
+ {
+ buf = qtn_sniffer_unknown;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_known
+ {
+ buf = qtn_sniffer_known;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_connecting
+ {
+ buf = qtn_sniffer_connecting;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_connected
+ {
+ buf = qtn_sniffer_connected;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_hidden_wlan
+ {
+ buf = qtn_sniffer_plug_in_hidden_ssid_label;
+ }
+
+RESOURCE TBUF r_qtn_wlan_info_no_networks_found
+ {
+ buf = qtn_wlan_info_no_networks_found;
+ }
+
+RESOURCE TBUF r_qtn_wlan_info_connection_already_active
+ {
+ buf = qtn_wlan_info_connection_already_active;
+ }
+
+RESOURCE TBUF r_qtn_wlan_wait_searching_networks
+ {
+ buf = qtn_wlan_wait_searching_networks;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_title
+ {
+ buf = qtn_sniffer_title;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_navi_one_wlan_nw_available
+ {
+ buf = qtn_cmon_navi_one_wlan_nw_available;
+ }
+
+RESOURCE TBUF r_qtn_sniffer_navi_many_wlan_nws_available
+ {
+ buf = qtn_cmon_navi_many_wlan_nws_available;
+ }
+
+//-----------------------------------------------------------------------------
+
+RESOURCE LOCALISABLE_APP_INFO r_sniffer_localisable_app_info
+ {
+ short_caption = qtn_sniffer_title;
+ caption_and_icon =
+ CAPTION_AND_ICON_INFO
+ {
+ caption = qtn_sniffer_title;
+ icon_file = "Z:"APP_BITMAP_DIR"\\wsficons_aif.mif";
+ };
+ }
+
+// END OF FILE