Changeset 331


Ignore:
Timestamp:
08/15/13 10:22:18 (6 years ago)
Author:
jls17
Message:
  • removed the resources from the executable (imgaes, css, javascript are already placed in a separate archive next to the executable)
Location:
branches/work_304
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/ARInside.vcproj

    r326 r331  
    486486        </References> 
    487487        <Files> 
    488                 <File 
    489                         RelativePath=".\ARInside.rc" 
    490                         > 
    491                 </File> 
    492488                <File 
    493489                        RelativePath=".\ARInsideMain.cpp" 
  • branches/work_304/CMakeLists.txt

    r329 r331  
    125125 AppConfig.cpp AppConfigReader.cpp ARInside.cpp ConfigFile.cpp FileSystemUtil.cpp gzstream.cpp Main.cpp 
    126126) 
    127 SET (ARINSIDE_SRC_GIFS 
    128  res/active_link.gif res/al_guide.gif res/application.gif res/ars_edit.gif res/chapter.gif res/disabled.gif 
    129  res/doc.gif res/down.gif res/edit.gif res/empty_list.gif res/escalation.gif res/filter.gif res/filter_guide.gif 
    130  res/folder.gif res/group.gif res/hidden.gif res/image.gif res/info.gif res/menu.gif res/next.gif 
    131  res/packing_list.gif res/prev.gif res/schema.gif res/search.gif res/server.gif res/sort_asc.gif res/sort_desc.gif 
    132  res/up.gif res/user.gif res/visible.gif res/webservice.gif 
    133 ) 
    134 SET (ARINSIDE_SRC_JS res/script.js res/sortscript.js res/tabscript.js res/schema_page.js res/arshelper.js) 
    135 SET (ARINSIDE_SRC_CSS res/style.css) 
    136 SET (ARINSIDE_JQUERY_RES  
    137         thirdparty/jquery/jquery-ui-custom.css 
    138         thirdparty/jquery/jquery-ui.js 
    139         thirdparty/jquery/jquery.address.min.js 
    140         thirdparty/jquery/jquery.js 
    141         thirdparty/jquery/jquery.timers.js 
    142         thirdparty/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png 
    143         thirdparty/jquery/images/ui-bg_glass_65_ffffff_1x400.png 
    144 ) 
    145 SET (ARINSIDE_RESOURCES ${ARINSIDE_SRC_GIFS} ${ARINSIDE_SRC_JS} ${ARINSIDE_SRC_CSS} ${ARINSIDE_JQUERY_RES}) 
    146127 
    147128SET(ARINSIDE_MAIN_SRCS ARInsideMain.cpp ARInsideMain.h) 
     
    262243 
    263244# now generate and import resources 
    264 IF(UNIX) 
    265         IF(NOT DEFINED ARINSIDE_RESOURCES_ALREADY_BUILD) 
    266                 INCLUDE_DIRECTORIES(${arinside_BINARY_DIR}/res) 
    267                 FILE(MAKE_DIRECTORY ${arinside_BINARY_DIR}/res) 
    268                 SET(ARINSIDE_GENERATED_RESOURCE_SRC_FILES "") 
    269                 FOREACH(res ${ARINSIDE_RESOURCES}) 
    270                         MESSAGE(STATUS "Generating ${res}.cpp ...") 
    271                         FILE(READ ${res} ARINSIDE_RES_OBJECT HEX) 
    272                         STRING(LENGTH ${ARINSIDE_RES_OBJECT} ARINSIDE_RES_OBJECT_LENGTH) 
    273                         SET(ARINSIDE_RES_OBJECT_CONTENT "") 
    274                         SET(ARINSIDE_RES_OBJECT_POSITION 0) 
    275                         WHILE(${ARINSIDE_RES_OBJECT_POSITION} LESS ${ARINSIDE_RES_OBJECT_LENGTH}) 
    276                                 STRING(SUBSTRING ${ARINSIDE_RES_OBJECT} ${ARINSIDE_RES_OBJECT_POSITION} 2 RES_CHAR) 
    277                                 MATH(EXPR ARINSIDE_RES_OBJECT_POSITION "${ARINSIDE_RES_OBJECT_POSITION}+2") 
    278  
    279                                 IF(NOT ${ARINSIDE_RES_OBJECT_CONTENT} STREQUAL "") 
    280                                         SET(ARINSIDE_RES_OBJECT_CONTENT "${ARINSIDE_RES_OBJECT_CONTENT},") 
    281                                 ENDIF(NOT ${ARINSIDE_RES_OBJECT_CONTENT} STREQUAL "") 
    282  
    283                                 SET(ARINSIDE_RES_OBJECT_CONTENT "${ARINSIDE_RES_OBJECT_CONTENT}0x${RES_CHAR}") 
    284                         ENDWHILE(${ARINSIDE_RES_OBJECT_POSITION} LESS ${ARINSIDE_RES_OBJECT_LENGTH}) 
    285                          
    286                         STRING(REGEX REPLACE "[^A-Za-z0-9]" "_" RES_OBJECT_NAME "${res}") 
    287                         SET(RES_OBJECT_NAME "_binary_${RES_OBJECT_NAME}") 
    288                         MATH(EXPR ARINSIDE_RES_REAL_OBJECT_LENGTH "${ARINSIDE_RES_OBJECT_LENGTH}/2") 
    289                         SET(ARINSIDE_RES_OBJECT_CONTENT "unsigned char ${RES_OBJECT_NAME}_start[] = {${ARINSIDE_RES_OBJECT_CONTENT}};\nunsigned int ${RES_OBJECT_NAME}_size = ${ARINSIDE_RES_REAL_OBJECT_LENGTH};\n\n") 
    290                          
    291                         SET(RES_OUTPUT_NAME "${arinside_BINARY_DIR}/${res}.cpp") 
    292                         FILE(WRITE ${RES_OUTPUT_NAME} "${ARINSIDE_RES_OBJECT_CONTENT}") 
    293                          
    294                         LIST(APPEND ARINSIDE_GENERATED_RESOURCE_SRC_FILES ${res}.cpp) 
    295                 ENDFOREACH(res) 
    296                 SET(ARINSIDE_RESOURCES_ALREADY_BUILD 1 CACHE INTERNAL "to remember resources are already build") 
    297                 SET(ARINSIDE_GENERATED_RESOURCE_SRC_FILES ${ARINSIDE_GENERATED_RESOURCE_SRC_FILES} CACHE INTERNAL "to remember build source files") 
    298         ENDIF(NOT DEFINED ARINSIDE_RESOURCES_ALREADY_BUILD) 
    299         SET(ARINSIDE_SRCS ${ARINSIDE_SRCS} ${ARINSIDE_GENERATED_RESOURCE_SRC_FILES}) 
    300 ELSE(UNIX) 
    301         SET(ARINSIDE_SRCS ${ARINSIDE_SRCS} "ARInside.rc") 
    302         SET(ARINSIDE_MAIN_SRCS ${ARINSIDE_MAIN_SRCS} "ARInside.rc") 
    303 ENDIF(UNIX) 
    304  
    305245ADD_CUSTOM_TARGET(arinsideresdir ALL 
    306246        COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/img 
  • branches/work_304/FileSystemUtil.cpp

    r328 r331  
    1313// 
    1414//    You should have received a copy of the GNU General Public License 
    15 //    along with Foobar.  If not, see <http://www.gnu.org/licenses/>. 
     15//    along with ARInside.  If not, see <http://www.gnu.org/licenses/>. 
    1616 
    1717#include "stdafx.h" 
     
    3131FileSystemUtil::~FileSystemUtil(void) 
    3232{ 
    33 } 
    34  
    35 void FileSystemUtil::Load() 
    36 { 
    37         stringstream strm;       
    38  
    39         strm.str(""); 
    40         strm << appConfig.targetFolder << "/" << "img" << "/";   
    41         LoadFromResource(ID_STYLE_CSS, "style.css", strm.str()); 
    42         LoadFromResource(ID_SCRIPT, "script.js", strm.str()); 
    43         LoadFromResource(ID_TABSCRIPT, "tabscript.js", strm.str()); 
    44         LoadFromResource(ID_SORTSCRIPT, "sortscript.js", strm.str()); 
    45         LoadFromResource(ID_SERVER, "server.gif", strm.str()); 
    46         LoadFromResource(ID_ACTIVE_LINK, "active_link.gif", strm.str()); 
    47         LoadFromResource(ID_AL_GUIDE, "al_guide.gif", strm.str()); 
    48         LoadFromResource(ID_APPLICATION, "application.gif", strm.str()); 
    49         LoadFromResource(ID_ARS_EDIT, "ars_edit.gif", strm.str()); 
    50         LoadFromResource(ID_DISABLED, "disabled.gif", strm.str()); 
    51         LoadFromResource(ID_DOC, "doc.gif", strm.str()); 
    52         LoadFromResource(ID_DOWN, "down.gif", strm.str()); 
    53         LoadFromResource(ID_USER, "user.gif", strm.str()); 
    54         LoadFromResource(ID_EMPTY_LIST, "empty_list.gif", strm.str()); 
    55         LoadFromResource(ID_ESCALATION, "escalation.gif", strm.str()); 
    56         LoadFromResource(ID_FILTER, "filter.gif", strm.str()); 
    57         LoadFromResource(ID_FILTER_GUIDE, "filter_guide.gif", strm.str()); 
    58         LoadFromResource(ID_FOLDER, "folder.gif", strm.str()); 
    59         LoadFromResource(ID_GROUP, "group.gif", strm.str()); 
    60         LoadFromResource(ID_CHAPTER, "chapter.gif", strm.str()); 
    61         LoadFromResource(ID_MENU, "menu.gif", strm.str()); 
    62         LoadFromResource(ID_NEXT, "next.gif", strm.str()); 
    63         LoadFromResource(ID_PACKING_LIST, "packing_list.gif", strm.str()); 
    64         LoadFromResource(ID_PREV, "prev.gif", strm.str()); 
    65         LoadFromResource(ID_SCHEMA, "schema.gif", strm.str()); 
    66         LoadFromResource(ID_SEARCH, "search.gif", strm.str()); 
    67         LoadFromResource(ID_UP, "up.gif", strm.str()); 
    68         LoadFromResource(ID_WEBSERVICE, "webservice.gif", strm.str()); 
    69         LoadFromResource(ID_SORT_DESC, "sort_desc.gif", strm.str()); 
    70         LoadFromResource(ID_SORT_ASC, "sort_asc.gif", strm.str()); 
    71         LoadFromResource(ID_VISIBLE, "visible.gif", strm.str()); 
    72         LoadFromResource(ID_EDIT, "edit.gif", strm.str()); 
    73         LoadFromResource(ID_HIDDEN, "hidden.gif", strm.str()); 
    74         LoadFromResource(ID_INFO, "info.gif", strm.str()); 
    75         LoadFromResource(ID_IMAGE, "image.gif", strm.str()); 
    76         LoadFromResource(ID_SCHEMAPAGE_JS, "schema_page.js", strm.str()); 
    77         LoadFromResource(ID_JQUERY_JS, "jquery.js", strm.str()); 
    78         LoadFromResource(ID_JQUERY_UI_JS, "jquery-ui.js", strm.str()); 
    79         LoadFromResource(ID_JQUERY_UI_CUSTOM_CSS, "jquery-ui-custom.css", strm.str()); 
    80         LoadFromResource(ID_JQUERY_ADDRESS_JS, "jquery.address.js", strm.str()); 
    81         LoadFromResource(ID_JQUERY_TIMER_JS, "jquery.timer.js", strm.str()); 
    82         LoadFromResource(ID_ARSHELPER_JS, "arshelper.js", strm.str()); 
    83  
    84         // specical subfolder "image" for jquery-ui 
    85         strm.str(""); 
    86         strm << "img" << "/" << "images" << "/"; 
    87         this->CreateSubDirectory(strm.str()); 
    88  
    89         strm.str(""); 
    90         strm << appConfig.targetFolder << "/" << "img" << "/" << "images" << "/";        
    91         LoadFromResource(ID_JQUERY_UI_IMAGE_BGGLASS_E6, "ui-bg_glass_75_e6e6e6_1x400.png", strm.str()); 
    92         LoadFromResource(ID_JQUERY_UI_IMAGE_BGGLASS_FF, "ui-bg_glass_65_ffffff_1x400.png", strm.str()); 
    93 } 
    94  
    95 void FileSystemUtil::LoadFromResource(unsigned int res, string fileName, string path) 
    96 { 
    97         void* data; 
    98         //HANDLE hfile; 
    99         unsigned int len; 
    100 #ifdef WIN32 
    101         HRSRC   hres; 
    102         HGLOBAL hres1; 
    103  
    104         if (!(hres=FindResource(GetModuleHandle(NULL),MAKEINTRESOURCE(res),RT_RCDATA)) 
    105                 || !(len=SizeofResource(NULL,hres)) 
    106                 || !(hres1=LoadResource(NULL,hres)) 
    107                 || !(data=LockResource(hres1)))  
    108         { 
    109                 ExitProcess(0); 
    110         } 
    111 #else 
    112         switch (res) 
    113         { 
    114                 case ID_ACTIVE_LINK: data = _binary_res_active_link_gif_start; len = (unsigned int)_binary_res_active_link_gif_size; break; 
    115                 case ID_AL_GUIDE: data = _binary_res_al_guide_gif_start; len = (unsigned int)_binary_res_al_guide_gif_size; break; 
    116                 case ID_APPLICATION: data = _binary_res_application_gif_start; len = (unsigned int)_binary_res_application_gif_size; break; 
    117                 case ID_ARS_EDIT: data = _binary_res_ars_edit_gif_start; len = (unsigned int)_binary_res_ars_edit_gif_size; break; 
    118                 case ID_CHAPTER: data = _binary_res_chapter_gif_start; len = (unsigned int)_binary_res_chapter_gif_size; break; 
    119                 case ID_DISABLED: data = _binary_res_disabled_gif_start; len = (unsigned int)_binary_res_disabled_gif_size; break; 
    120                 case ID_DOC: data = _binary_res_doc_gif_start; len = (unsigned int)_binary_res_doc_gif_size; break; 
    121                 case ID_DOWN: data = _binary_res_down_gif_start; len = (unsigned int)_binary_res_down_gif_size; break; 
    122                 case ID_EDIT: data = _binary_res_edit_gif_start; len = (unsigned int)_binary_res_edit_gif_size; break; 
    123                 case ID_EMPTY_LIST: data = _binary_res_empty_list_gif_start; len = (unsigned int)_binary_res_empty_list_gif_size; break; 
    124                 case ID_ESCALATION: data = _binary_res_escalation_gif_start; len = (unsigned int)_binary_res_escalation_gif_size; break; 
    125                 case ID_FILTER: data = _binary_res_filter_gif_start; len = (unsigned int)_binary_res_filter_gif_size; break; 
    126                 case ID_FILTER_GUIDE: data = _binary_res_filter_guide_gif_start; len = (unsigned int)_binary_res_filter_guide_gif_size; break; 
    127                 case ID_FOLDER: data = _binary_res_folder_gif_start; len = (unsigned int)_binary_res_folder_gif_size; break; 
    128                 case ID_GROUP: data = _binary_res_group_gif_start; len = (unsigned int)_binary_res_group_gif_size; break; 
    129                 case ID_HIDDEN: data = _binary_res_hidden_gif_start; len = (unsigned int)_binary_res_hidden_gif_size; break; 
    130                 case ID_IMAGE: data = _binary_res_image_gif_start; len = (unsigned int)_binary_res_image_gif_size; break; 
    131                 case ID_INFO: data = _binary_res_info_gif_start; len = (unsigned int)_binary_res_info_gif_size; break; 
    132                 case ID_MENU: data = _binary_res_menu_gif_start; len = (unsigned int)_binary_res_menu_gif_size; break; 
    133                 case ID_NEXT: data = _binary_res_next_gif_start; len = (unsigned int)_binary_res_next_gif_size; break; 
    134                 case ID_PACKING_LIST: data = _binary_res_packing_list_gif_start; len = (unsigned int)_binary_res_packing_list_gif_size; break; 
    135                 case ID_PREV: data = _binary_res_prev_gif_start; len = (unsigned int)_binary_res_prev_gif_size; break; 
    136                 case ID_SCHEMA: data = _binary_res_schema_gif_start; len = (unsigned int)_binary_res_schema_gif_size; break; 
    137                 case ID_SCRIPT: data = _binary_res_script_js_start; len = (unsigned int)_binary_res_script_js_size; break; 
    138                 case ID_SEARCH: data = _binary_res_search_gif_start; len = (unsigned int)_binary_res_search_gif_size; break; 
    139                 case ID_SERVER: data = _binary_res_server_gif_start; len = (unsigned int)_binary_res_server_gif_size; break; 
    140                 case ID_SORT_ASC: data = _binary_res_sort_asc_gif_start; len = (unsigned int)_binary_res_sort_asc_gif_size; break; 
    141                 case ID_SORT_DESC: data = _binary_res_sort_desc_gif_start; len = (unsigned int)_binary_res_sort_desc_gif_size; break; 
    142                 case ID_SORTSCRIPT: data = _binary_res_sortscript_js_start; len = (unsigned int)_binary_res_sortscript_js_size; break; 
    143                 case ID_STYLE_CSS: data = _binary_res_style_css_start; len = (unsigned int)_binary_res_style_css_size; break; 
    144                 case ID_TABSCRIPT: data = _binary_res_tabscript_js_start; len = (unsigned int)_binary_res_tabscript_js_size; break; 
    145                 case ID_UP: data = _binary_res_up_gif_start; len = (unsigned int)_binary_res_up_gif_size; break; 
    146                 case ID_USER: data = _binary_res_user_gif_start; len = (unsigned int)_binary_res_user_gif_size; break; 
    147                 case ID_VISIBLE: data = _binary_res_visible_gif_start; len = (unsigned int)_binary_res_visible_gif_size; break; 
    148                 case ID_WEBSERVICE: data = _binary_res_webservice_gif_start; len = (unsigned int)_binary_res_webservice_gif_size; break; 
    149                 case ID_SCHEMAPAGE_JS: data = _binary_res_schema_page_js_start; len = (unsigned int)_binary_res_schema_page_js_size; break; 
    150                 case ID_JQUERY_JS: data = _binary_thirdparty_jquery_jquery_js_start; len = _binary_thirdparty_jquery_jquery_js_size; break; 
    151                 case ID_JQUERY_UI_JS: data = _binary_thirdparty_jquery_jquery_ui_js_start; len = _binary_thirdparty_jquery_jquery_ui_js_size; break; 
    152                 case ID_JQUERY_UI_CUSTOM_CSS: data = _binary_thirdparty_jquery_jquery_ui_custom_css_start; len = _binary_thirdparty_jquery_jquery_ui_custom_css_size; break; 
    153                 case ID_JQUERY_ADDRESS_JS: data = _binary_thirdparty_jquery_jquery_address_min_js_start; len = _binary_thirdparty_jquery_jquery_address_min_js_size; break; 
    154                 case ID_JQUERY_TIMER_JS: data = _binary_thirdparty_jquery_jquery_timers_js_start; len = _binary_thirdparty_jquery_jquery_timers_js_size; break; 
    155                 case ID_JQUERY_UI_IMAGE_BGGLASS_E6: data = _binary_thirdparty_jquery_images_ui_bg_glass_75_e6e6e6_1x400_png_start; len = _binary_thirdparty_jquery_images_ui_bg_glass_75_e6e6e6_1x400_png_size; break; 
    156                 case ID_JQUERY_UI_IMAGE_BGGLASS_FF: data = _binary_thirdparty_jquery_images_ui_bg_glass_65_ffffff_1x400_png_start; len = _binary_thirdparty_jquery_images_ui_bg_glass_65_ffffff_1x400_png_size; break; 
    157                 case ID_ARSHELPER_JS: data = _binary_res_arshelper_js_start; len = _binary_res_arshelper_js_size; break; 
    158         } 
    159 #endif 
    160  
    161         stringstream fullFileName; 
    162         fullFileName << path << "/" << fileName; 
    163  
    164         try 
    165         { 
    166                 ofstream fout(fullFileName.str().c_str(), ios::binary); 
    167  
    168                 try 
    169                 { 
    170                         fout.write((const char*)data, len); 
    171                 } 
    172                 catch (exception &e) 
    173                 { 
    174                         stringstream erStrm; 
    175                         erStrm << "Error saving file '" << fullFileName.str() << "' to disk. Error: " << e.what(); 
    176                 } 
    177                 fout.close(); 
    178         } 
    179         catch (exception e) 
    180         { 
    181                 stringstream erStrm; 
    182                 erStrm << "Error saving file '" << fullFileName.str() << "' to disk. Error: " << e.what(); 
    183         } 
    18433} 
    18534 
  • branches/work_304/FileSystemUtil.h

    r328 r331  
    1313// 
    1414//    You should have received a copy of the GNU General Public License 
    15 //    along with Foobar.  If not, see <http://www.gnu.org/licenses/>. 
     15//    along with ARInside.  If not, see <http://www.gnu.org/licenses/>. 
    1616 
    1717#pragma once 
     
    3030        ~FileSystemUtil(void); 
    3131 
    32         void Load(); 
    3332        bool CreateAppDirectory(); 
    3433        int CreateSubDirectory(string name); 
     
    4746 
    4847private: 
    49         void LoadFromResource(unsigned int res, string fileName, string path); 
    5048        AppConfig &appConfig; 
    5149}; 
    52  
    53 #ifndef WIN32 
    54         // the following symbols are generated by CMakeList.txt 
    55         extern unsigned char _binary_res_active_link_gif_start[];       extern unsigned int _binary_res_active_link_gif_size; 
    56         extern unsigned char _binary_res_al_guide_gif_start[]; extern unsigned int _binary_res_al_guide_gif_size; 
    57         extern unsigned char _binary_res_application_gif_start[]; extern unsigned int _binary_res_application_gif_size; 
    58         extern unsigned char _binary_res_ars_edit_gif_start[]; extern unsigned int _binary_res_ars_edit_gif_size; 
    59         extern unsigned char _binary_res_chapter_gif_start[]; extern unsigned int _binary_res_chapter_gif_size; 
    60         extern unsigned char _binary_res_disabled_gif_start[]; extern unsigned int _binary_res_disabled_gif_size; 
    61         extern unsigned char _binary_res_doc_gif_start[]; extern unsigned int _binary_res_doc_gif_size; 
    62         extern unsigned char _binary_res_down_gif_start[]; extern unsigned int _binary_res_down_gif_size; 
    63         extern unsigned char _binary_res_down2_gif_start[]; extern unsigned int _binary_res_down2_gif_size; 
    64         extern unsigned char _binary_res_down2_on_gif_start[]; extern unsigned int _binary_res_down2_on_gif_size; 
    65         extern unsigned char _binary_res_edit_gif_start[]; extern unsigned int _binary_res_edit_gif_size; 
    66         extern unsigned char _binary_res_empty_list_gif_start[]; extern unsigned int _binary_res_empty_list_gif_size; 
    67         extern unsigned char _binary_res_escalation_gif_start[]; extern unsigned int _binary_res_escalation_gif_size; 
    68         extern unsigned char _binary_res_filter_gif_start[]; extern unsigned int _binary_res_filter_gif_size; 
    69         extern unsigned char _binary_res_filter_guide_gif_start[]; extern unsigned int _binary_res_filter_guide_gif_size; 
    70         extern unsigned char _binary_res_folder_gif_start[]; extern unsigned int _binary_res_folder_gif_size; 
    71         extern unsigned char _binary_res_group_gif_start[]; extern unsigned int _binary_res_group_gif_size; 
    72         extern unsigned char _binary_res_hidden_gif_start[]; extern unsigned int _binary_res_hidden_gif_size; 
    73         extern unsigned char _binary_res_image_gif_start[]; extern unsigned int _binary_res_image_gif_size; 
    74         extern unsigned char _binary_res_info_gif_start[]; extern unsigned int _binary_res_info_gif_size; 
    75         extern unsigned char _binary_res_menu_gif_start[]; extern unsigned int _binary_res_menu_gif_size; 
    76         extern unsigned char _binary_res_next_gif_start[]; extern unsigned int _binary_res_next_gif_size; 
    77         extern unsigned char _binary_res_packing_list_gif_start[]; extern unsigned int _binary_res_packing_list_gif_size; 
    78         extern unsigned char _binary_res_prev_gif_start[]; extern unsigned int _binary_res_prev_gif_size; 
    79         extern unsigned char _binary_res_schema_gif_start[]; extern unsigned int _binary_res_schema_gif_size; 
    80         extern unsigned char _binary_res_script_js_start[]; extern unsigned int _binary_res_script_js_size; 
    81         extern unsigned char _binary_res_search_gif_start[]; extern unsigned int _binary_res_search_gif_size; 
    82         extern unsigned char _binary_res_server_gif_start[]; extern unsigned int _binary_res_server_gif_size; 
    83         extern unsigned char _binary_res_sort_asc_gif_start[]; extern unsigned int _binary_res_sort_asc_gif_size; 
    84         extern unsigned char _binary_res_sort_desc_gif_start[]; extern unsigned int _binary_res_sort_desc_gif_size; 
    85         extern unsigned char _binary_res_filtermenu_js_start[]; extern unsigned int _binary_res_filtermenu_js_size; 
    86         extern unsigned char _binary_res_prototype_js_start[]; extern unsigned int _binary_res_prototype_js_size; 
    87         extern unsigned char _binary_res_sortscript_js_start[]; extern unsigned int _binary_res_sortscript_js_size; 
    88         extern unsigned char _binary_res_style_css_start[]; extern unsigned int _binary_res_style_css_size; 
    89         extern unsigned char _binary_res_tabscript_js_start[]; extern unsigned int _binary_res_tabscript_js_size; 
    90         extern unsigned char _binary_res_up_gif_start[]; extern unsigned int _binary_res_up_gif_size; 
    91         extern unsigned char _binary_res_user_gif_start[]; extern unsigned int _binary_res_user_gif_size; 
    92         extern unsigned char _binary_res_visible_gif_start[]; extern unsigned int _binary_res_visible_gif_size; 
    93         extern unsigned char _binary_res_webservice_gif_start[]; extern unsigned int _binary_res_webservice_gif_size; 
    94         extern unsigned char _binary_res_schema_page_js_start[]; extern unsigned int _binary_res_schema_page_js_size; 
    95         extern unsigned char _binary_thirdparty_jquery_jquery_ui_custom_css_start[]; extern unsigned int _binary_thirdparty_jquery_jquery_ui_custom_css_size; 
    96         extern unsigned char _binary_thirdparty_jquery_jquery_ui_js_start[]; extern unsigned int _binary_thirdparty_jquery_jquery_ui_js_size; 
    97         extern unsigned char _binary_thirdparty_jquery_jquery_address_min_js_start[]; extern unsigned int _binary_thirdparty_jquery_jquery_address_min_js_size; 
    98         extern unsigned char _binary_thirdparty_jquery_jquery_js_start[]; extern unsigned int _binary_thirdparty_jquery_jquery_js_size; 
    99         extern unsigned char _binary_thirdparty_jquery_jquery_timers_js_start[]; extern unsigned int _binary_thirdparty_jquery_jquery_timers_js_size; 
    100         extern unsigned char _binary_thirdparty_jquery_images_ui_bg_glass_75_e6e6e6_1x400_png_start[]; extern unsigned int _binary_thirdparty_jquery_images_ui_bg_glass_75_e6e6e6_1x400_png_size; 
    101         extern unsigned char _binary_thirdparty_jquery_images_ui_bg_glass_65_ffffff_1x400_png_start[]; extern unsigned int _binary_thirdparty_jquery_images_ui_bg_glass_65_ffffff_1x400_png_size; 
    102         extern unsigned char _binary_res_arshelper_js_start[]; extern unsigned int _binary_res_arshelper_js_size; 
    103 #endif 
Note: See TracChangeset for help on using the changeset viewer.