rop_other.rss
上传用户:zhongxx05
上传日期:2007-06-06
资源大小:33641k
文件大小:14k
- /*============================================================================*
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- *============================================================================*/
-
- // >>> controls
- /*******************************************************************
- >>> arrays
- note: settings lists require two lists to be fully
- implemented; the array with AVKON_ENUMERATED_TEXT items is used
- in the settings list box itself; the other array that has LBUF
- items is used in the setting page (i.e., when you select change)
- *******************************************************************/
- RESOURCE ARRAY r_rop_array_save_playlist_or_clip
- {
- items =
- {
- // order is important
- LBUF {txt = qtn_save_item_playlist; },
- LBUF {txt = qtn_save_item_clip; }
- };
- }
- RESOURCE ARRAY r_rop_array_insert_before_after
- {
- items =
- {
- // order is important
- LBUF {txt = qtn_insert_before; },
- LBUF {txt = qtn_insert_after; }
- };
- }
- RESOURCE ARRAY r_rop_array_connection_bw
- {
- items =
- {
- AVKON_ENUMERATED_TEXT { value = 0/*9050*/; text = set_bw_1_text; },
- AVKON_ENUMERATED_TEXT { value = 1/*13400*/; text = set_bw_2_text; },
- AVKON_ENUMERATED_TEXT { value = 2/*19000*/; text = set_bw_3_text; },
- AVKON_ENUMERATED_TEXT { value = 3/*26800*/; text = set_bw_4_text; },
- AVKON_ENUMERATED_TEXT { value = 4/*28500*/; text = set_bw_5_text; },
- AVKON_ENUMERATED_TEXT { value = 5/*40200*/; text = set_bw_6_text; }
- };
- }
- RESOURCE ARRAY r_rop_array_connection_bw_
- {
- items =
- {
- LBUF{ txt = set_bw_1_text;},
- LBUF{ txt = set_bw_2_text;},
- LBUF{ txt = set_bw_3_text;},
- LBUF{ txt = set_bw_4_text;},
- LBUF{ txt = set_bw_5_text;},
- LBUF{ txt = set_bw_6_text;}
- };
- }
- //
- // SCAN TIME aka CLIP INTRO
- //
- RESOURCE ARRAY r_rop_array_scan_time
- {
- items =
- {
- AVKON_ENUMERATED_TEXT { value = 0; text = set_scan_time_0; },
- AVKON_ENUMERATED_TEXT { value = 1; text = set_scan_time_1; },
- AVKON_ENUMERATED_TEXT { value = 2; text = set_scan_time_2; },
- AVKON_ENUMERATED_TEXT { value = 3; text = set_scan_time_3; },
- AVKON_ENUMERATED_TEXT { value = 4; text = set_scan_time_4; },
- AVKON_ENUMERATED_TEXT { value = 5; text = set_scan_time_5; }
- };
- }
- RESOURCE ARRAY r_rop_array_scan_time_
- {
- items =
- {
- LBUF{ txt = set_scan_time_0;},
- LBUF{ txt = set_scan_time_1;},
- LBUF{ txt = set_scan_time_2;},
- LBUF{ txt = set_scan_time_3;},
- LBUF{ txt = set_scan_time_4;},
- LBUF{ txt = set_scan_time_5;}
- };
- }
- //
- // ON OFF
- //
- RESOURCE ARRAY r_rop_array_settings_on_off_text
- {
- items =
- {
- AVKON_ENUMERATED_TEXT
- {
- value = 1; text = qtn_mrp_setting_on;
- },
- AVKON_ENUMERATED_TEXT
- {
- value = 0; text = qtn_mrp_setting_off;
- }
- };
- }
- RESOURCE ARRAY r_rop_array_settings_on_off_text_
- {
- items = {
- LBUF{ txt = qtn_mrp_setting_on;},
- LBUF{ txt = qtn_mrp_setting_off;}
- };
- }
- //
- // REPEAT ON/OFF
- //
- RESOURCE ARRAY r_avp_settings_repeat_on_off_text_array
- {
- items =
- {
- AVKON_ENUMERATED_TEXT
- {
- value = 1; text = qtn_mrp_setting_on_repeat;
- },
- AVKON_ENUMERATED_TEXT
- {
- value = 0; text = qtn_mrp_setting_off_repeat;
- }
- };
- }
- RESOURCE ARRAY r_avp_settings_repeat_on_off_text_array_
- {
- items = {
- LBUF{ txt = qtn_mrp_setting_on_repeat;},
- LBUF{ txt = qtn_mrp_setting_off_repeat;}
- };
- }
- //
- // PERFORMANCE (POSTFILTER) ON/OFF
- //
- RESOURCE ARRAY r_rop_array_settings_postfilter_on_off_text
- {
- items =
- {
- AVKON_ENUMERATED_TEXT
- {
- value = 1; text = qtn_mrp_setting_postfilter_on;
- },
- AVKON_ENUMERATED_TEXT
- {
- value = 0; text = qtn_mrp_setting_postfilter_off;
- }
- };
- }
- RESOURCE ARRAY r_rop_array_settings_postfilter_on_off_text_
- {
- items = {
- LBUF{ txt = qtn_mrp_setting_postfilter_on;},
- LBUF{ txt = qtn_mrp_setting_postfilter_off;}
- };
- }
- RESOURCE ARRAY r_rop_array_settings_enable_disable_text
- {
- items =
- {
- AVKON_ENUMERATED_TEXT
- {
- value = 1; text = qtn_mrp_setting_enable;
- },
- AVKON_ENUMERATED_TEXT
- {
- value = 0; text = qtn_mrp_setting_disable;
- }
- };
- }
- RESOURCE ARRAY r_rop_array_settings_enable_disable_text_
- {
- items = {
- LBUF{ txt = qtn_mrp_setting_enable;},
- LBUF{ txt = qtn_mrp_setting_disable;}
- };
- }
- RESOURCE ARRAY r_rop_array_settings_man_auto_text
- {
- items =
- {
- AVKON_ENUMERATED_TEXT
- {
- value = 1; text = qtn_mrp_settings_manual;
- },
- AVKON_ENUMERATED_TEXT
- {
- value = 0; text = qtn_mrp_settings_auto;
- }
- };
- }
- RESOURCE ARRAY r_rop_array_settings_man_auto_text_
- {
- items = {
- LBUF{ txt = qtn_mrp_settings_manual;},
- LBUF{ txt = qtn_mrp_settings_auto;}
- };
- }
- /*******************************************************************
- >>> controls
- *******************************************************************/
- RESOURCE EDWIN r_avp_setting_list_edwin
- {
- width = 20;
- lines = 1;
- maxlength = 256;
- }
- RESOURCE AVKON_INTEGER_EDWIN r_avp_setting_list_int_edwin_percent
- {
- min = 0;
- max = 100;
- }
- RESOURCE AVKON_INTEGER_EDWIN r_avp_setting_list_int_edwin_bw
- {
- min = 0;
- max = 100000000;
- }
- RESOURCE AVKON_INTEGER_EDWIN r_avp_setting_list_int_edwin_port
- {
- min = 0;
- max = 65535;
- }
- RESOURCE AVKON_INTEGER_EDWIN r_avp_setting_list_int_edwin_data_port
- {
- min = 6970;
- max = 32000;
- }
- // <**>slider
- RESOURCE SLIDER r_avp_setting_list_timeout_slider
- {
- layout = EAknSettingsItemSliderLayout;
- minvalue = 10;
- maxvalue = 120;
- step = 5;
- valuelabel = qtn_timeout_slider_valuelabel;
- minlabel = qtn_timeout_slider_minlabel;
- maxlabel = qtn_timeout_slider_maxlabel;
- }
- /*******************************************************************
- >>> settings pages // pops up when you select an item for editing
- *******************************************************************/
- //
- // binary popup setting page
- //
- RESOURCE AVKON_SETTING_PAGE r_avp_default_binary_setting_page
- {
- number = EAknSettingPageNoOrdinalDisplayed;
- label = ""; // not used?
- type = EAknCtPopupSettingList;
- editor_resource_id = r_avp_popup_setting_list_binary;
- }
- //
- // enumerated list setting page
- //
- RESOURCE AVKON_SETTING_PAGE r_avp_default_enum_list_setting_page
- {
- number = EAknSettingPageNoOrdinalDisplayed;
- type = EAknCtPopupSettingList;
- editor_resource_id = r_avp_popup_setting_list_default;
- }
- //
- // integer edwin settings
- //
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_proxy_port
- {
- label = qtn_mrp_setting_proxy_port;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_avp_setting_list_int_edwin_port;
- }
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_min_data_port
- {
- label = qtn_mrp_sett_min_port;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_avp_setting_list_int_edwin_data_port;
- }
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_max_data_port
- {
- label = qtn_mrp_sett_max_port;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_avp_setting_list_int_edwin_data_port;
- }
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_min_delivery_bw
- {
- label = MRP_SETTING_MIN_DEL_BW;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_avp_setting_list_int_edwin_bw;
- }
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_max_delivery_bw
- {
- label = MRP_SETTING_MAX_DEL_BW;
- type = EAknCtIntegerEdwin;
- editor_resource_id = r_avp_setting_list_int_edwin_bw;
- }
- //
- // slider settings
- //
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_connection_timeout
- {
- label = qtn_mrp_setting_connect_timeout;
- type = EAknCtSlider;
- editor_resource_id = r_avp_setting_list_timeout_slider;
- }
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_server_timeout
- {
- label = qtn_mrp_settings_server_timeout;
- type = EAknCtSlider;
- editor_resource_id = r_avp_setting_list_timeout_slider;
- }
- //
- // text settings
- //
- RESOURCE AVKON_SETTING_PAGE r_avp_setting_page_proxy_host
- {
- label = qtn_mrp_setting_proxy_host;
- type = EEikCtEdwin;
- editor_resource_id = r_avp_setting_list_edwin;
- }
- /*******************************************************************
- >>> popup settings lists
- *******************************************************************/
- // for lists
- RESOURCE POPUP_SETTING_LIST r_avp_popup_setting_list_default
- {
- flags = 0; //EAknPopupSettingListFlagAllowsUserDefinedEntry;
- }
- // for binary items
- RESOURCE POPUP_SETTING_LIST r_avp_popup_setting_list_binary
- {
- flags = 0;
- }
- /*******************************************************************
- >>> settings texts // aggregate arrays of text
- *******************************************************************/
- RESOURCE AVKON_POPUP_SETTING_TEXTS r_avp_settings_on_off_texts
- {
- flags = 0;
- setting_texts_resource = r_rop_array_settings_on_off_text;
- popped_up_texts_resource = r_rop_array_settings_on_off_text_;
- }
- RESOURCE AVKON_POPUP_SETTING_TEXTS r_avp_settings_repeat_on_off_texts
- {
- flags = 0;
- setting_texts_resource = r_avp_settings_repeat_on_off_text_array;
- popped_up_texts_resource = r_avp_settings_repeat_on_off_text_array_;
- }
- RESOURCE AVKON_POPUP_SETTING_TEXTS r_avp_settings_postfilter_on_off_texts
- {
- flags = 0;
- setting_texts_resource = r_rop_array_settings_postfilter_on_off_text;
- popped_up_texts_resource = r_rop_array_settings_postfilter_on_off_text_;
- }
- RESOURCE AVKON_POPUP_SETTING_TEXTS r_avp_settings_enable_disable_texts
- {
- flags = 0;
- setting_texts_resource = r_rop_array_settings_enable_disable_text;
- popped_up_texts_resource = r_rop_array_settings_enable_disable_text_;
- }
- RESOURCE AVKON_POPUP_SETTING_TEXTS r_avp_settings_man_auto_texts
- {
- flags = 0;
- setting_texts_resource = r_rop_array_settings_man_auto_text;
- popped_up_texts_resource = r_rop_array_settings_man_auto_text_;
- }
- RESOURCE AVKON_POPUP_SETTING_TEXTS r_avp_settings_bw_selection_texts
- {
- flags = 0;
- setting_texts_resource = r_rop_array_connection_bw;
- popped_up_texts_resource = r_rop_array_connection_bw_;
- }
- RESOURCE AVKON_POPUP_SETTING_TEXTS r_avp_settings_scantime_selection_texts
- {
- flags = 0;
- setting_texts_resource = r_rop_array_scan_time;
- popped_up_texts_resource = r_rop_array_scan_time_;
- }
- /*******************************************************************
- >>> settings lists
- *******************************************************************/
- //
- // video settings list
- //
- RESOURCE AVKON_SETTING_ITEM_LIST r_avp_video_settings_list
- {
- flags = EAknSettingPageNoOrdinalDisplayed;
- title = qtn_mrp_sett_title_video;
- items =
- {
- AVKON_SETTING_ITEM
- {
- identifier = ESetPostFilter;
- setting_page_resource = r_avp_default_binary_setting_page;
- associated_resource = r_avp_settings_postfilter_on_off_texts;
- name = qtn_mrp_setting_post_filter;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetAutoScaleVideo;
- setting_page_resource = r_avp_default_binary_setting_page;
- associated_resource = r_avp_settings_on_off_texts;
- name = qtn_mrp_sett_auto_scale_video;
- }
-
- };
- }
- RESOURCE AVKON_SETTING_ITEM_LIST r_avp_playback_settings_list
- {
- flags = EAknSettingPageNoOrdinalDisplayed;
- title = qtn_mrp_sett_title_playback;
- items =
- {
- AVKON_SETTING_ITEM
- {
- identifier = ESetLoopMode;
- setting_page_resource = r_avp_default_binary_setting_page;
- associated_resource = r_avp_settings_repeat_on_off_texts;
- name = qtn_mrp_settings_repeat;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetShuffleMode;
- setting_page_resource = r_avp_default_binary_setting_page;
- associated_resource = r_avp_settings_repeat_on_off_texts;
- name = qtn_mrp_settings_shuffle_mode;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetClipIntroSecs;
- setting_page_resource = r_avp_default_enum_list_setting_page;
- associated_resource = r_avp_settings_scantime_selection_texts;
- name = qtn_mrp_settings_clip_intro_secs;
- }
- };
- }
- //
- // network settings list
- //
- RESOURCE AVKON_SETTING_ITEM_LIST r_avp_network_settings_list
- {
- flags = EAknSettingPageNoOrdinalDisplayed;
- title = qtn_mrp_sett_title_network;
- items =
- {
- AVKON_SETTING_ITEM
- {
- identifier = ESetDefaultAccessPoint;
- name = qtn_mrp_sett_default_ap;
- },
- /*
- AVKON_SETTING_ITEM
- {
- identifier = ESetUseManualBW;
- setting_page_resource = r_avp_default_binary_setting_page;
- associated_resource = r_avp_settings_man_auto_texts;
- name = qtn_mrp_settings_automatic_bw;
- },*/
- AVKON_SETTING_ITEM
- {
- identifier = ESetNetworkBandwidth;
- setting_page_resource = r_avp_default_enum_list_setting_page;
- associated_resource = r_avp_settings_bw_selection_texts;
- name = qtn_mrp_setting_bw;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetConnectTimeOut;
- setting_page_resource = r_avp_setting_page_connection_timeout;
- name = qtn_mrp_setting_connect_timeout;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetServerTimeOut;
- setting_page_resource = r_avp_setting_page_server_timeout;
- name = qtn_mrp_settings_server_timeout;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetMinUdpPort;
- setting_page_resource = r_avp_setting_page_min_data_port;
- name = qtn_mrp_sett_min_port;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetMaxUdpPort;
- setting_page_resource = r_avp_setting_page_max_data_port;
- name = qtn_mrp_sett_max_port;
- }
- };
- }
- //
- // proxy settings list
- //
- RESOURCE AVKON_SETTING_ITEM_LIST r_avp_proxy_settings_list
- {
- flags = EAknSettingPageNoOrdinalDisplayed;
- title = qtn_mrp_sett_title_proxy;
- items =
- {
- AVKON_SETTING_ITEM
- {
- identifier = ESetUseProxyHost;
- setting_page_resource = r_avp_default_binary_setting_page;
- associated_resource = r_avp_settings_enable_disable_texts;
- name = qtn_mrp_settings_use_proxy;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetProxyHost;
- setting_page_resource = r_avp_setting_page_proxy_host;
- name = qtn_mrp_setting_proxy_host;
- },
- AVKON_SETTING_ITEM
- {
- identifier = ESetProxyPort;
- setting_page_resource = r_avp_setting_page_proxy_port;
- name = qtn_mrp_setting_proxy_port;
- }
- };
- }