00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 NAME DBMS
00031
00032
00033
00034 #include <eikon.rh>
00035 #include <avkon.rh>
00036 #include <avkon.rsg>
00037 #include "DBMS.hrh"
00038
00039
00040
00041
00042
00043
00044
00045
00046 RESOURCE RSS_SIGNATURE
00047 {
00048 }
00049
00050
00051
00052
00053
00054
00055
00056 RESOURCE TBUF
00057 {
00058 buf="";
00059 }
00060
00061
00062
00063
00064
00065
00066
00067 RESOURCE EIK_APP_INFO
00068 {
00069 menubar = r_main_menubar;
00070 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00071 }
00072
00073
00074
00075
00076
00077
00078
00079
00080 RESOURCE MENU_BAR r_main_menubar
00081 {
00082 titles =
00083 {
00084 MENU_TITLE
00085 {
00086 menu_pane = r_main_menu;
00087 }
00088 };
00089 }
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100 RESOURCE MENU_PANE r_main_menu
00101 {
00102 items =
00103 {
00104 MENU_ITEM { command = EOpenCmd; txt = "Open"; },
00105 MENU_ITEM { command = ECreateCmd; txt = "New database"; },
00106 MENU_ITEM { command = ERemoveDbCmd; txt = "Remove database"; },
00107 MENU_ITEM { command = EAddBookCmd; txt = "Add a book"; },
00108 MENU_ITEM { command = EBackCmd; txt = "Back"; },
00109 MENU_ITEM { command = EAddBookAPICmd; txt = "Add using API"; },
00110 MENU_ITEM { command = EAddBookSQLCmd; txt = "Add with SQL"; },
00111 MENU_ITEM { command = ERemoveBookCmd; txt = "Remove"; },
00112 MENU_ITEM { command = ERemoveAllBooksCmd; txt = "Remove all books"; },
00113 MENU_ITEM { command = EChangeTitleCmd; txt = "Change title"; },
00114 MENU_ITEM { command = EGetAllBooksCmd; txt = "Get All books"; },
00115 MENU_ITEM { command = ESearchBooksCmd; txt = "Multiple search"; },
00116 MENU_ITEM { command = EQuickFindCmd; txt = "Details"; },
00117 MENU_ITEM { command = EAddDateCmd; txt = "Add a date column"; },
00118 MENU_ITEM { command = ERemoveDateCmd; txt = "Remove date column"; },
00119 MENU_ITEM { command = EColumnNamesCmd; txt = "Get columns"; },
00120 MENU_ITEM { command = ECloseCmd; txt = "Close database"; }
00121 };
00122 }
00123
00124
00125
00126
00127
00128
00129 RESOURCE EDWIN r_simple_edwin
00130 {
00131 flags = EAknEditorFlagDefault;
00132 width = 10;
00133 lines= 1;
00134 maxlength = 15;
00135 allowed_input_modes = EAknEditorAllInputModes;
00136 default_input_mode = EAknEditorTextInputMode;
00137 }
00138
00139
00140
00141
00142
00143
00144
00145 RESOURCE AVKON_SETTING_ITEM_LIST r_entry_settings_list
00146 {
00147 title = "Example";
00148 }
00149
00150
00151
00152
00153
00154 RESOURCE DIALOG r_simple_text_query
00155 {
00156 flags=EAknGeneralQueryFlags;
00157 buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
00158 items=
00159 {
00160 DLG_LINE
00161 {
00162 type=EAknCtQuery;
00163 id=EGeneralQuery;
00164 control=AVKON_DATA_QUERY
00165 {
00166 layout=EDataLayout;
00167 control=EDWIN
00168 {
00169 maxlength = 256;
00170 };
00171 };
00172 }
00173 };
00174 }
00175
00176
00177
00178
00179
00180
00181
00182 RESOURCE AVKON_SETTING_PAGE r_text_setting_page
00183 {
00184 type = EEikCtEdwin;
00185 editor_resource_id = r_name_edwin;
00186 }
00187
00188 RESOURCE EDWIN r_name_edwin
00189 {
00190 width = 10;
00191 maxlength = 15;
00192 }
00193
00194
00195
00196
00197
00198
00199
00200
00201 #include <appinfo.rh>
00202
00203 RESOURCE LOCALISABLE_APP_INFO r_dbms_localisable_app_info
00204 {
00205 short_caption = "DBMS";
00206 caption_and_icon =
00207 CAPTION_AND_ICON_INFO
00208 {
00209 caption = "DBMS";
00210
00211 number_of_icons = 1;
00212 icon_file = "\\resource\\apps\\DBMS.mif";
00213 };
00214 }