📄 httpexample.rss
字号:
/**
*
* @brief Resource file for HTTPExample application
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// RESOURCE IDENTIFIER
NAME HTTP // 4 letter ID
// INCLUDES
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <eikon.rh>
#include "httpexample.loc"
#include "HTTPExample.hrh" // Command IDs
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf="HTTPExample"; }
RESOURCE EIK_APP_INFO
{
cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
menubar = r_httpexample_menubar;
}
//----------------------------------------------------
//
// r_httpexample_menubar
// options menu bar for the application
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_httpexample_menubar
{
titles=
{
MENU_TITLE
{
txt = ""; // the text is not used in Series 60
menu_pane = r_httpexample_menu_pane;
}
};
}
//----------------------------------------------------
//
// r_httpexample_menu_pane
// options menu pane for the application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_httpexample_menu_pane
{
items =
{
MENU_ITEM
{
command = EHTTPExampleCmdGet;
txt = HTTPEX_MENU_GET;
},
MENU_ITEM
{
command = EHTTPExampleCmdPost;
txt = HTTPEX_MENU_POST;
},
MENU_ITEM
{
command = EAknCmdExit;
txt = HTTPEX_MENU_EXIT;
}
};
}
//-----------------------------------------------------------------------------
//
// r_httpexample_uri_query
// Resource of URI query dialog.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_httpexample_uri_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = HTTPEX_URI_QUERY_PROMPT;
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
maxlength = EMaxUrlLength;
max_view_height_in_lines = 6;
// if you have the line above, you must have this.
// It's calculable from LAF
base_line_delta = 21;
};
};
}
};
}
//-----------------------------------------------------------------------------
//
// r_httpexample_name_query
// Resource of Name query dialog
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_httpexample_name_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = HTTPEX_NAME_QUERY_PROMPT;
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
maxlength = EMaxUrlLength;
max_view_height_in_lines = 6;
// if you have the line above, you must have this.
// It's calculable from LAF
base_line_delta = 21;
};
};
}
};
}
//-----------------------------------------------------------------------------
//
// r_httpexample_wait_note
// Resource of wait note displayed while HTTP transaction is ongoing
//
//-----------------------------------------------------------------------------
//
/*RESOURCE DIALOG r_httpexample_wait_note
{
flags = EAknWaitNoteFlags;
buttons = R_AVKON_SOFTKEYS_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtNote;
id = EGeneralNote;
control= AVKON_NOTE
{
layout = EWaitLayout;
singular_label = HTTPEX_WAIT_LABEL;
imagefile = AVKON_BMPFILE_NAME;
imageid = EMbmAvkonQgn_note_voice;
imagemask = EMbmAvkonQgn_note_voice_mask;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
};
}
};
}
*/
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -