📄 movino.rss
字号:
NAME MVNO#include <eikon.rh>#include <avkon.rh>#include <avkon.rsg>#include <avkon.mbg>#include "movino.hrh"#include "movino.loc"#include "movinoversion.hrh"RESOURCE RSS_SIGNATURE {}RESOURCE TBUF r_default_document_name {#ifdef EKA2 buf = "MovinoSettings";#else buf = "\\system\\data\\MovinoSettings";#endif}RESOURCE EIK_APP_INFO {/* menubar = r_movino_menubar; cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;*/}RESOURCE AVKON_VIEW r_movino_stream_view { menubar = r_movino_menubar; cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;}RESOURCE AVKON_VIEW r_movino_settings_view { menubar = r_movino_settings_menubar; cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;}RESOURCE MENU_BAR r_movino_menubar { titles = { MENU_TITLE { menu_pane = r_movino_main_menu; } };}RESOURCE MENU_BAR r_movino_settings_menubar { titles = { MENU_TITLE { menu_pane = r_movino_settings_menu; } };}RESOURCE MENU_PANE r_movino_settings_menu { items = { MENU_ITEM { command = EMovinoEditSetting; txt = qtn_movino_edit_setting; }, MENU_ITEM { command = EAknSoftkeyBack; txt = qtn_movino_back; }, MENU_ITEM { command = EAknSoftkeyExit; txt = qtn_movino_exit; } };}RESOURCE MENU_PANE r_movino_main_menu { items = { MENU_ITEM { command = EMovinoConnectMenuCmd; cascade = r_movino_conn_menu; txt = qtn_movino_conn_menu; }, MENU_ITEM { command = EMovinoCloseConn; txt = qtn_movino_close_conn; }, MENU_ITEM { command = EMovinoTestBandwidth; txt = qtn_movino_test_bandwidth; }, MENU_ITEM { command = EMovinoSettings; txt = qtn_movino_settings; }, MENU_ITEM { command = EMovinoVersion; txt = qtn_movino_version; flags = EEikMenuItemSeparatorAfter; }, MENU_ITEM { command = EAknSoftkeyExit; txt = qtn_movino_exit; } };}RESOURCE MENU_PANE r_movino_conn_menu { items = { MENU_ITEM { command = EMovinoConnectBT; txt = qtn_movino_connect_bt; },/* MENU_ITEM { command = EMovinoAcceptBT; txt = qtn_movino_accept_bt; },*/ MENU_ITEM { command = EMovinoConnectTCP; txt = qtn_movino_connect_tcp; }/* MENU_ITEM { command = EMovinoAcceptTCP; txt = qtn_movino_accept_tcp; }*//**/ };}RESOURCE TBUF32 r_movino_version_number { buf = qtn_movino_version_number; }RESOURCE TBUF32 r_movino_warn_unknown_state { buf = qtn_movino_warn_unknown_state; }RESOURCE TBUF32 r_movino_warn_services { buf = qtn_movino_warn_services; }RESOURCE TBUF32 r_movino_bad_server { buf = qtn_movino_bad_server; }RESOURCE TBUF32 r_movino_connection_closed { buf = qtn_movino_connection_closed; }RESOURCE TBUF32 r_movino_could_not_connect { buf = qtn_movino_could_not_connect; }RESOURCE TBUF32 r_movino_camera_orientation_outwards { buf = qtn_movino_camera_orientation_outwards; }RESOURCE TBUF32 r_movino_camera_orientation_inwards { buf = qtn_movino_camera_orientation_inwards; }RESOURCE TBUF32 r_movino_camera_orientation_mobile { buf = qtn_movino_camera_orientation_mobile; }RESOURCE TBUF32 r_movino_camera_orientation_unknown { buf = qtn_movino_camera_orientation_unknown; }RESOURCE TBUF32 r_movino_video_type_uncompressed { buf = qtn_movino_video_type_uncompressed; }RESOURCE TBUF32 r_movino_video_type_jpeg { buf = qtn_movino_video_type_jpeg; }RESOURCE TBUF32 r_movino_video_type_mpeg { buf = qtn_movino_video_type_mpeg; }RESOURCE TBUF32 r_movino_video_type_theora { buf = qtn_movino_video_type_theora; }RESOURCE DIALOG r_movino_waiting_server { flags = EAknWaitNoteFlags; items = { DLG_LINE { type = EAknCtNote; id = EGeneralQuery; control = AVKON_NOTE { layout = EWaitLayout; singular_label = qtn_movino_waiting_server;#ifdef EKA2 imagefile = "z:\\resource\\apps\\avkon2.mif";#else imagefile = "z:\\system\\data\\avkon.mbm";#endif imageid = EMbmAvkonQgn_note_progress; imagemask = EMbmAvkonQgn_note_progress_mask; animation = R_QGN_GRAF_WAIT_BAR_ANIM; }; } };}RESOURCE DIALOG r_movino_waiting_client { flags = EAknWaitNoteFlags; items = { DLG_LINE { type = EAknCtNote; id = EGeneralQuery; control = AVKON_NOTE { layout = EWaitLayout; singular_label = qtn_movino_waiting_client;#ifdef EKA2 imagefile = "z:\\resource\\apps\\avkon2.mif";#else imagefile = "z:\\system\\data\\avkon.mbm";#endif imageid = EMbmAvkonQgn_note_progress; imagemask = EMbmAvkonQgn_note_progress_mask; animation = R_QGN_GRAF_WAIT_BAR_ANIM; }; } };}RESOURCE DIALOG r_movino_connect_query { flags = EGeneralQueryFlags; buttons = R_AVKON_SOFTKEYS_OK_CANCEL; items = { DLG_LINE { type = EAknCtMultilineQuery; id = EMultilineFirstLine; control = AVKON_DATA_QUERY { layout = EMultiDataFirstEdwin; label = qtn_movino_hostname; control = EDWIN { width = 100; lines = 1; maxlength = 100; default_case = EAknEditorLowerCase; avkon_flags = EAknEditorFlagDefault; }; }; }, DLG_LINE { type = EAknCtMultilineQuery; id = EMultilineSecondLine; control = AVKON_DATA_QUERY { layout = EMultiDataSecondNumEd; label = qtn_movino_port; control = AVKON_INTEGER_EDWIN { min = 1; max = 65535; }; }; } };}RESOURCE DIALOG r_movino_accept_query { flags = EGeneralQueryFlags; buttons = R_AVKON_SOFTKEYS_OK_CANCEL; items = { DLG_LINE { type = EAknCtQuery; id = 0x1337; control = AVKON_DATA_QUERY { layout = ENumberLayout; label = qtn_movino_port; control = AVKON_INTEGER_EDWIN { min = 1; max = 65535; }; }; } };}RESOURCE DIALOG r_movino_username_password_query { flags = EGeneralQueryFlags; buttons = R_AVKON_SOFTKEYS_OK_CANCEL; items = { DLG_LINE { type = EAknCtMultilineQuery; id = EMultilineFirstLine; control = AVKON_DATA_QUERY { layout = EMultiDataFirstEdwin; label = qtn_movino_dialog_username; control = EDWIN { width = 100; lines = 1; maxlength = 100; default_case = EAknEditorLowerCase; avkon_flags = EAknEditorFlagDefault; }; }; }, DLG_LINE { type = EAknCtMultilineQuery; id = EMultilineSecondLine; control = AVKON_DATA_QUERY { layout = EMultiDataSecondSecEd; label = qtn_movino_dialog_password; control = SECRETED { num_letters = 50; }; }; } };}RESOURCE DIALOG r_movino_password_query { flags = EGeneralQueryFlags; buttons = R_AVKON_SOFTKEYS_OK_CANCEL; items = { DLG_LINE { type = EAknCtQuery; id = EGeneralQuery; control = AVKON_DATA_QUERY { layout = ECodeLayout; label = qtn_movino_dialog_password; control = SECRETED { num_letters = 50; }; }; } };}RESOURCE AVKON_SETTING_ITEM_LIST r_movino_settings_list { flags = 0; title = qtn_movino_settings_title; initial_number = 1; items = { AVKON_SETTING_ITEM { identifier = ESettingCamera; name = qtn_movino_setting_camera; setting_page_resource = r_movino_camera_setting_page; associated_resource = r_movino_camera_setting_texts; }, AVKON_SETTING_ITEM { identifier = ESettingVideoType; name = qtn_movino_setting_video_type; setting_page_resource = r_movino_video_type_setting_page; associated_resource = r_movino_video_type_setting_texts; }, AVKON_SETTING_ITEM { identifier = ESettingVideoSize; name = qtn_movino_setting_video_size; setting_page_resource = r_movino_video_size_setting_page; associated_resource = r_movino_video_size_setting_texts; }, AVKON_SETTING_ITEM { identifier = ESettingVideoQuality; name = qtn_movino_setting_video_quality; setting_page_resource = r_movino_video_quality_setting_page; }, AVKON_SETTING_ITEM { identifier = ESettingAudioType; name = qtn_movino_setting_audio_type; setting_page_resource = r_movino_audio_type_setting_page; associated_resource = r_movino_audio_type_setting_texts; }, AVKON_SETTING_ITEM { identifier = ESettingAuthor; name = qtn_movino_setting_author; setting_page_resource = r_movino_author_setting_page; }, AVKON_SETTING_ITEM { identifier = ESettingTitle; name = qtn_movino_setting_title; setting_page_resource = r_movino_title_setting_page; }, AVKON_SETTING_ITEM { identifier = ESettingArchive; name = qtn_movino_setting_archive; setting_page_resource = r_movino_archive_setting_page; associated_resource = r_movino_archive_setting_texts; } };}RESOURCE AVKON_SETTING_PAGE r_movino_video_quality_setting_page { label = qtn_movino_setting_video_quality; type = EAknCtSlider; editor_resource_id = r_movino_video_quality;}RESOURCE SLIDER r_movino_video_quality { layout = EAknSettingsItemSliderLayout; minvalue = 0; maxvalue = 9; step = 1; valuetype = EAknSliderValueNone; minlabel = qtn_movino_setting_quality_min; maxlabel = qtn_movino_setting_quality_max;}RESOURCE AVKON_SETTING_PAGE r_movino_camera_setting_page { type = EAknCtPopupSettingList; editor_resource_id = r_movino_popup_setting_list;}RESOURCE AVKON_POPUP_SETTING_TEXTS r_movino_camera_setting_texts { setting_texts_resource = r_movino_camera_types; popped_up_texts_resource = r_movino_camera_types_popped_up;}RESOURCE AVKON_SETTING_PAGE r_movino_video_type_setting_page { type = EAknCtPopupSettingList; editor_resource_id = r_movino_popup_setting_list;}RESOURCE AVKON_POPUP_SETTING_TEXTS r_movino_video_type_setting_texts { setting_texts_resource = r_movino_video_types; popped_up_texts_resource = r_movino_video_types_popped_up;}RESOURCE AVKON_SETTING_PAGE r_movino_video_size_setting_page { type = EAknCtPopupSettingList; editor_resource_id = r_movino_popup_setting_list;}RESOURCE AVKON_POPUP_SETTING_TEXTS r_movino_video_size_setting_texts { setting_texts_resource = r_movino_video_sizes; popped_up_texts_resource = r_movino_video_sizes_popped_up;}RESOURCE AVKON_SETTING_PAGE r_movino_audio_type_setting_page { type = EAknCtPopupSettingList; editor_resource_id = r_movino_popup_setting_list;}RESOURCE AVKON_POPUP_SETTING_TEXTS r_movino_audio_type_setting_texts { setting_texts_resource = r_movino_audio_types; popped_up_texts_resource = r_movino_audio_types_popped_up;}RESOURCE AVKON_SETTING_PAGE r_movino_author_setting_page { type = EEikCtEdwin; editor_resource_id = r_movino_edwin;}RESOURCE AVKON_SETTING_PAGE r_movino_title_setting_page { type = EEikCtEdwin; editor_resource_id = r_movino_edwin;}RESOURCE AVKON_SETTING_PAGE r_movino_archive_setting_page { type = EAknCtPopupSettingList; editor_resource_id = r_movino_popup_setting_list;}RESOURCE AVKON_POPUP_SETTING_TEXTS r_movino_archive_setting_texts { setting_texts_resource = r_movino_archive_choices; popped_up_texts_resource = r_movino_archive_popped_up;}RESOURCE POPUP_SETTING_LIST r_movino_popup_setting_list {}RESOURCE EDWIN r_movino_edwin { width = 9; lines = 1; maxlength = 100;}// most of these are created dynamicallyRESOURCE ARRAY r_movino_camera_types { items = { }; }RESOURCE ARRAY r_movino_camera_types_popped_up { items = { }; }RESOURCE ARRAY r_movino_video_types { items = { }; }RESOURCE ARRAY r_movino_video_types_popped_up { items = { }; }RESOURCE ARRAY r_movino_video_sizes { items = { }; }RESOURCE ARRAY r_movino_video_sizes_popped_up { items = { }; }RESOURCE ARRAY r_movino_audio_types { items = { AVKON_ENUMERATED_TEXT { value = EAudioOff; text = qtn_movino_audio_type_off; }, AVKON_ENUMERATED_TEXT { value = EAudioPCM; text = qtn_movino_audio_type_pcm; }, AVKON_ENUMERATED_TEXT { value = EAudioMuLaw; text = qtn_movino_audio_type_mulaw; }, AVKON_ENUMERATED_TEXT { value = EAudioAMR; text = qtn_movino_audio_type_amr; } };}RESOURCE ARRAY r_movino_audio_types_popped_up { items = { }; }RESOURCE ARRAY r_movino_archive_choices { items = { AVKON_ENUMERATED_TEXT { value = 1; text = qtn_movino_yes; }, AVKON_ENUMERATED_TEXT { value = 0; text = qtn_movino_no; } };}RESOURCE ARRAY r_movino_archive_popped_up { items = { }; }#ifdef EKA2#include <appinfo.rh>RESOURCE LOCALISABLE_APP_INFO r_movino_localisable_app_info { short_caption = qtn_movino_short_caption_string; caption_and_icon = CAPTION_AND_ICON_INFO { caption = qtn_movino_caption_string; number_of_icons = 1; icon_file = "\\resource\\apps\\movino_icon.mif"; };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -