⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 webclient.rss

📁 http与cmwap建立连接(Symbian)
💻 RSS
字号:
/*
* ==============================================================================
*  Name        : WebClient.rss
*  Part of     : WebClient
*  Interface   : 
*  Description : 
*  Version     : 
*
*  Copyright (c) 2005-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation.
* ==============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    WEBC // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <appinfo.rh>
#include "WebClient.hrh"
#include "WebClient.rls"


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "WebClient"; }

RESOURCE EIK_APP_INFO
    {
    hotkeys = r_webclient_hotkeys;
    menubar = r_webclient_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;     
    }

//----------------------------------------------------
//   
//    r_webclient_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_webclient_hotkeys
    {
    control =
        {
        HOTKEY { command = EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_webclient_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_webclient_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_webclient_menu; }
        };
    }

//----------------------------------------------------
//   
//    r_webclient_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_webclient_menu
    {
    items =
        {
        MENU_ITEM { command = EWebClientCmdReqUrl; txt = STRING_webclient_mo_request; },
        MENU_ITEM { command = EWebClientCmdHeader; txt = STRING_webclient_mo_header; },
        MENU_ITEM { command = EWebClientCmdSource; txt = STRING_webclient_mo_source; },
        MENU_ITEM { command = EWebClientCmdStatus; txt = STRING_webclient_mo_status; },
        MENU_ITEM { command = EAknCmdExit; txt = STRING_webclient_mo_exit; }
        };
    }

//----------------------------------------------------------------------------
//
//    r_webclient_localisable_app_info
//
//----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_webclient_localisable_app_info
    {
    short_caption = STRING_app_short_caption_string;
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = STRING_app_caption_string;
        number_of_icons = 1;
        icon_file = "\\resource\\apps\\WebClient.mif";
        };
    }

// ---------------------------------------------------------
//   
//   r_webclient_dialog_uri_query
//   Query dialog for url
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_webclient_dialog_url_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = gtn_webclient_url_dialog;
                control = EDWIN
                    {
                    maxlength = KMaxUriNameLength;
                    };
                };
            }
        };
    }

//----------------------------------------------------------------------------
//
//    r_webclient_dialog_user_password_query
//    Resource of text and password Query.
//
//----------------------------------------------------------------------------
//
RESOURCE DIALOG r_webclient_dialog_user_password_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtMultilineQuery;
            id = EMultilineFirstLine;
            control = AVKON_DATA_QUERY
                {
                layout = EMultiDataFirstEdwin;
                label = gtn_webclient_psw_dialog_username;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                    width = 25;
                    lines = 1;
                    maxlength = KMaxUserNameLength;
                    };
                };
            },
        DLG_LINE
            {
            type = EAknCtMultilineQuery;
            id = EMultilineSecondLine;
            control = AVKON_DATA_QUERY
                {
                layout = EMultiDataSecondSecEd;
                label = gtn_webclient_psw_dialog_password;
                control = SECRETED
                    {
                    num_letters = KMaxPasswordLength;
                    };
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//   
//    r_webclient_download_wait_note
//    Downloading URL progress note
//    
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_webclient_download_wait_note
    {
    flags   = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = EWebClientWaitNote;
            control = AVKON_NOTE
                {
                layout         = EWaitLayout;
                singular_label = gtn_webclient_url_downloading;
                plural_label   = "";
                animation      = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_webclient_iap_conf_err { buf=STRING_webclient_iap_conf_err; }
RESOURCE TBUF r_webclient_connecting { buf=STRING_webclient_connecting; }
RESOURCE TBUF r_webclient_transaction_cancel { buf=STRING_webclient_transaction_cancel; }
RESOURCE TBUF r_webclient_header_received { buf=STRING_webclient_header_received; }
RESOURCE TBUF r_webclient_body_part_received { buf=STRING_webclient_body_part_received; }
RESOURCE TBUF r_webclient_body_received { buf=STRING_webclient_body_received; }
RESOURCE TBUF r_webclient_transaction_complete { buf=STRING_webclient_transaction_complete; }
RESOURCE TBUF r_webclient_transaction_succeed { buf=STRING_webclient_transaction_succeed; }
RESOURCE TBUF r_webclient_transaction_failed { buf=STRING_webclient_transaction_failed; }
RESOURCE TBUF r_webclient_transaction_error { buf=STRING_webclient_transaction_error; }
RESOURCE TBUF r_webclient_unrecognised_event { buf=STRING_webclient_unrecognised_event; }
RESOURCE TBUF r_webclient_mhfrun_error { buf=STRING_webclient_mhfrun_error; }


// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -