resource.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. //stamp:109a4b4a5aaaf432
  2. /*<------------------------------------------------------------------------------------------------->*/
  3. /*该文件由uiresbuilder生成,请不要手动修改*/
  4. /*<------------------------------------------------------------------------------------------------->*/
  5. #pragma once
  6. #include <res.mgr/snamedvalue.h>
  7. #define ROBJ_IN_CPP \
  8. namespace SOUI \
  9. {\
  10. const _R R;\
  11. const _UIRES UIRES;\
  12. }
  13. namespace SOUI
  14. {
  15. class _UIRES{
  16. public:
  17. class _UIDEF{
  18. public:
  19. _UIDEF(){
  20. XML_INIT = _T("UIDEF:XML_INIT");
  21. }
  22. const TCHAR * XML_INIT;
  23. }UIDEF;
  24. class _LAYOUT{
  25. public:
  26. _LAYOUT(){
  27. XML_MAINWND = _T("LAYOUT:XML_MAINWND");
  28. XML_LOGIN = _T("LAYOUT:XML_LOGIN");
  29. tabtype_control = _T("LAYOUT:tabtype_control");
  30. XML_PAGEHOME = _T("LAYOUT:XML_PAGEHOME");
  31. XML_NODE = _T("LAYOUT:XML_NODE");
  32. }
  33. const TCHAR * XML_MAINWND;
  34. const TCHAR * XML_LOGIN;
  35. const TCHAR * tabtype_control;
  36. const TCHAR * XML_PAGEHOME;
  37. const TCHAR * XML_NODE;
  38. }LAYOUT;
  39. class _values{
  40. public:
  41. _values(){
  42. string = _T("values:string");
  43. color = _T("values:color");
  44. skin = _T("values:skin");
  45. }
  46. const TCHAR * string;
  47. const TCHAR * color;
  48. const TCHAR * skin;
  49. }values;
  50. class _IMG{
  51. public:
  52. _IMG(){
  53. bg_login_png = _T("IMG:bg-login_png");
  54. bg_home_png = _T("IMG:bg-home_png");
  55. bg_user_png = _T("IMG:bg-user_png");
  56. ID_DEF_VSCROLL = _T("IMG:ID_DEF_VSCROLL");
  57. btn_border = _T("IMG:btn-border");
  58. bg_user = _T("IMG:bg-user");
  59. line_2 = _T("IMG:line-2");
  60. user = _T("IMG:user");
  61. password = _T("IMG:password");
  62. tyte_selection = _T("IMG:tyte_selection");
  63. btn_switch_off = _T("IMG:btn-switch-off");
  64. btn_switch_on = _T("IMG:btn-switch-on");
  65. default_cpp = _T("IMG:default");
  66. btn_selection = _T("IMG:btn-selection");
  67. btn_back = _T("IMG:btn-back");
  68. }
  69. const TCHAR * bg_login_png;
  70. const TCHAR * bg_home_png;
  71. const TCHAR * bg_user_png;
  72. const TCHAR * ID_DEF_VSCROLL;
  73. const TCHAR * btn_border;
  74. const TCHAR * bg_user;
  75. const TCHAR * line_2;
  76. const TCHAR * user;
  77. const TCHAR * password;
  78. const TCHAR * tyte_selection;
  79. const TCHAR * btn_switch_off;
  80. const TCHAR * btn_switch_on;
  81. const TCHAR * default_cpp;
  82. const TCHAR * btn_selection;
  83. const TCHAR * btn_back;
  84. }IMG;
  85. class _ICON{
  86. public:
  87. _ICON(){
  88. ICON_LOGO = _T("ICON:ICON_LOGO");
  89. }
  90. const TCHAR * ICON_LOGO;
  91. }ICON;
  92. class _SMENU{
  93. public:
  94. _SMENU(){
  95. menu_tray = _T("SMENU:menu_tray");
  96. }
  97. const TCHAR * menu_tray;
  98. }SMENU;
  99. };
  100. const SNamedID::NAMEDVALUE namedXmlID[]={
  101. {L"_name_start",65535},
  102. {L"app_version",65550},
  103. {L"btn_close",65537},
  104. {L"con",65542},
  105. {L"connect_touch",65544},
  106. {L"edit_password",65539},
  107. {L"edit_username",65538},
  108. {L"list_back",65551},
  109. {L"node_delay",65547},
  110. {L"node_name",65546},
  111. {L"nodeclass",65541},
  112. {L"nodelistview",65552},
  113. {L"onlogin",65540},
  114. {L"routemode",65549},
  115. {L"selectnode",65545},
  116. {L"serverms",65554},
  117. {L"servername",65553},
  118. {L"start_Acc",65555},
  119. {L"sysmode",65548},
  120. {L"tabmain",65536},
  121. {L"text_touch",65543} };
  122. class _R{
  123. public:
  124. class _name{
  125. public:
  126. _name(){
  127. _name_start = namedXmlID[0].strName;
  128. app_version = namedXmlID[1].strName;
  129. btn_close = namedXmlID[2].strName;
  130. con = namedXmlID[3].strName;
  131. connect_touch = namedXmlID[4].strName;
  132. edit_password = namedXmlID[5].strName;
  133. edit_username = namedXmlID[6].strName;
  134. list_back = namedXmlID[7].strName;
  135. node_delay = namedXmlID[8].strName;
  136. node_name = namedXmlID[9].strName;
  137. nodeclass = namedXmlID[10].strName;
  138. nodelistview = namedXmlID[11].strName;
  139. onlogin = namedXmlID[12].strName;
  140. routemode = namedXmlID[13].strName;
  141. selectnode = namedXmlID[14].strName;
  142. serverms = namedXmlID[15].strName;
  143. servername = namedXmlID[16].strName;
  144. start_Acc = namedXmlID[17].strName;
  145. sysmode = namedXmlID[18].strName;
  146. tabmain = namedXmlID[19].strName;
  147. text_touch = namedXmlID[20].strName;
  148. }
  149. const wchar_t * _name_start;
  150. const wchar_t * app_version;
  151. const wchar_t * btn_close;
  152. const wchar_t * con;
  153. const wchar_t * connect_touch;
  154. const wchar_t * edit_password;
  155. const wchar_t * edit_username;
  156. const wchar_t * list_back;
  157. const wchar_t * node_delay;
  158. const wchar_t * node_name;
  159. const wchar_t * nodeclass;
  160. const wchar_t * nodelistview;
  161. const wchar_t * onlogin;
  162. const wchar_t * routemode;
  163. const wchar_t * selectnode;
  164. const wchar_t * serverms;
  165. const wchar_t * servername;
  166. const wchar_t * start_Acc;
  167. const wchar_t * sysmode;
  168. const wchar_t * tabmain;
  169. const wchar_t * text_touch;
  170. }name;
  171. class _id{
  172. public:
  173. const static int _name_start = 65535;
  174. const static int app_version = 65550;
  175. const static int btn_close = 65537;
  176. const static int con = 65542;
  177. const static int connect_touch = 65544;
  178. const static int edit_password = 65539;
  179. const static int edit_username = 65538;
  180. const static int list_back = 65551;
  181. const static int node_delay = 65547;
  182. const static int node_name = 65546;
  183. const static int nodeclass = 65541;
  184. const static int nodelistview = 65552;
  185. const static int onlogin = 65540;
  186. const static int routemode = 65549;
  187. const static int selectnode = 65545;
  188. const static int serverms = 65554;
  189. const static int servername = 65553;
  190. const static int start_Acc = 65555;
  191. const static int sysmode = 65548;
  192. const static int tabmain = 65536;
  193. const static int text_touch = 65543;
  194. }id;
  195. class _string{
  196. public:
  197. const static int title = 0;
  198. const static int ver = 1;
  199. }string;
  200. class _color{
  201. public:
  202. const static int blue = 0;
  203. const static int gray = 1;
  204. const static int green = 2;
  205. const static int red = 3;
  206. const static int white = 4;
  207. }color;
  208. };
  209. #ifdef R_IN_CPP
  210. extern const _R R;
  211. extern const _UIRES UIRES;
  212. #else
  213. extern const __declspec(selectany) _R & R = _R();
  214. extern const __declspec(selectany) _UIRES & UIRES = _UIRES();
  215. #endif//R_IN_CPP
  216. }