- /*
- GDSMS.CPP - resource file for GDSMS application
- */
- NAME GDSM
- #include <eikon.rh>
- #include <eikon.rsg>
- #include "gdsms.hrh"
- RESOURCE RSS_SIGNATURE {}
- RESOURCE TBUF {buf="";}
- RESOURCE EIK_APP_INFO
- {
- menubar=r_gdsms_menubar;
- hotkeys=r_gdsms_hotkeys;
- cba=r_gdsms_cba;
- }
- RESOURCE MENU_BAR r_gdsms_menubar
- {
- titles =
- {
- MENU_TITLE { menu_pane = r_gdsms_file_menu; txt = "File";},
- MENU_TITLE { menu_pane = r_gdsms_messaging_menu; txt = "Messaging";}
- };
- }
- RESOURCE MENU_PANE r_gdsms_file_menu
- {
- items =
- {
- MENU_ITEM { command = EEikCmdExit; txt = "Close"; }
- };
- }
- RESOURCE MENU_PANE r_gdsms_messaging_menu
- {
- items =
- {
- MENU_ITEM { command = EGDSMSCmdSend; txt = "Send message"; }
- };
- }
- RESOURCE HOTKEYS r_gdsms_hotkeys
- {
- control =
- {
- HOTKEY {command = EEikCmdExit; key = 'e'; }
- };
- plain =
- {
- HOTKEY {command = EGDSMSCmdSend; key = 's'; }
- };
- }
- RESOURCE CBA r_gdsms_cba
- {
- breadth=80;
- buttons=
- {
- CBA_BUTTON
- {
- id = EGDSMSCmdSend;
- txt = "Send";
- },
- CBA_BUTTON
- {
- id = EEikBidBlank;
- txt = "";
- },
- CBA_BUTTON
- {
- id = EEikBidBlank;
- txt = "";
- },
- CBA_BUTTON
- {
- id = EEikCmdExit;
- txt = "Close";
- }
- };
- }
- RESOURCE DIALOG r_gdsms_tel_number_dialog
- {
- title = "Telephone Number";
- buttons = R_EIK_BUTTONS_CANCEL_OK;
- flags = EEikDialogFlagWait;
- items =
- {
- DLG_LINE
- {
- type = EEikCtTelephoneNumberEditor;
- prompt = "Recipient";
- id = EGDSMSTelNumEditor;
- control = TELNUMBER
- {
- country_prompt = "[country]";
- area_prompt = "[area]";
- number_prompt = "[number]";
- widthinpixels = 200;
- };
- }
- };
- }