?? httpclientexample.rss
字號:
/*
* ============================================================================
* Name : HTTPClientExample.rss
* Part of : HTTP Client Example
* Created : 06/26/2006 by Forum Nokia
* Version : 2.0
* Copyright: Forum Nokia
* ============================================================================
*/
NAME HTTP
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include "Client.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_exampleclient_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_exampleclient_menubar
// Menubar for HTTP Example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_exampleclient_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_exampleclient_menu;
}
};
}
// ---------------------------------------------------------
//
// r_exampleclient_menu
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_exampleclient_menu
{
items =
{
MENU_ITEM
{
command = EClientGet;
txt = "HTTP Get";
},
MENU_ITEM
{
command = EClientPost;
txt = "HTTP Post";
},
MENU_ITEM
{
command = EClientCancel;
txt = "Cancel";
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = "Exit";
}
};
}
//----------------------------------------------------------------------------
//
// r_dialog_user_password_query
// Resource of text and password Query.
//
//----------------------------------------------------------------------------
//
RESOURCE DIALOG r_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 = "User name";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 25;
lines = 1;
maxlength = 128;
};
};
},
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineSecondLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataSecondSecEd;
label = "Password";
control = SECRETED
{
num_letters = 128;
};
};
}
};
}
// ---------------------------------------------------------
//
// r_dialog_uri_query
// Query dialog for uri
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_dialog_uri_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = "URI";
control = EDWIN
{
maxlength = 128;
};
};
}
};
}
//----------------------------------------------------------------------------
//
// r_dialog_uri_post_query
// Resource of uri & post data query.
//
//----------------------------------------------------------------------------
//
RESOURCE DIALOG r_dialog_uri_post_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineFirstLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataFirstEdwin;
label = "URI";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 25;
lines = 1;
maxlength = 128;
};
};
},
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineSecondLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataSecondEdwin;
label = "Data to post";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 25;
lines = 1;
maxlength = 128;
};
};
}
};
}
// End of file
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -