Changeset 15742
- Timestamp:
- 2008-05-28T10:54:11+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/recpt/librarymain.cpp
r15454 r15742 34 34 #endif 35 35 #include "collectset.h" 36 #include <assert.h>37 36 38 37 #include "action.h" 39 #include "statusaction.h" 38 #include "authenaction.h" 39 #include "browseaction.h" 40 #include "collectoraction.h" 41 #include "depositoraction.h" 42 #include "documentaction.h" 43 #include "extlinkaction.h" 40 44 #include "pageaction.h" 45 #include "phindaction.h" 41 46 #include "pingaction.h" 42 47 #include "queryaction.h" 43 #include " documentaction.h"44 #include " authenaction.h"48 #include "tipaction.h" 49 #include "statusaction.h" 45 50 #include "usersaction.h" 46 #include "extlinkaction.h"47 48 #ifdef GSDL_USE_EXPORT_ACTION49 #include "exportaction.h"50 #endif51 52 #ifdef GSDL_USE_CL_DISPLAY_ACTION53 #include "cldisplayaction.h"54 #endif55 56 #ifdef GSDL_USE_COURSES_ACTION57 #include "coursesaction.h"58 #endif59 60 #ifdef GSDL_USE_COMPOSITION_ACTION61 #include "compositionaction.h"62 #endif63 64 #ifdef GSDL_USE_INDEX_BROWSE_ACTION65 #include "indexbrowseaction.h"66 #endif67 68 #ifdef GSDL_USE_DIR_BROWSE_ACTION69 #include "dirbrowseaction.h"70 #endif71 72 #ifdef GSDL_USE_GENERATOR_ACTION73 #include "generatoraction.h"74 #endif75 76 #ifdef GSDL_USE_GTI_ACTION77 #include "gtiaction.h"78 #endif79 80 #include "tipaction.h"81 #include "collectoraction.h"82 #include "depositoraction.h"83 #include "browseaction.h"84 #include "phindaction.h"85 51 86 52 #include "browserclass.h" … … 93 59 #include "phindbrowserclass.h" 94 60 95 #ifdef GSDL_USE_CLASSIFIER_BROWSER 96 //classifier browsers 97 98 #include "treeclassifierbrowserclass.h" 99 #ifdef GSDL_USE_TREE_EX_CLASSIFIER_BROWSER 100 #include "treeexclassifierbrowserclass.h" 101 #endif 102 103 #endif //GSDL_USE_CLASSIFIER_BROWSER 104 105 int main () { 61 62 int main () 63 { 106 64 receptionist recpt; 107 65 nullproto nproto; … … 271 229 #endif 272 230 273 #ifdef GSDL_USE_CLASSIFIER_BROWSER274 //list of classifier browsers275 CTreeClassifierBrowserClass *pTreeClassifierBrowser = new CTreeClassifierBrowserClass();276 if (pTreeClassifierBrowser != NULL) {277 recpt.GetClassifierBrowsers().AddBrowser(pTreeClassifierBrowser);278 recpt.GetClassifierBrowsers().SetDefaultBrowser(pTreeClassifierBrowser->GetBrowserName());279 }280 #ifdef GSDL_USE_TREE_EX_CLASSIFIER_BROWSER281 CTreeExClassifierBrowserClass *pTreeExClassifierBrowser = new CTreeExClassifierBrowserClass();282 if (pTreeExClassifierBrowser != NULL) {283 recpt.GetClassifierBrowsers().AddBrowser(pTreeExClassifierBrowser);284 }285 #endif //GSDL_USE_TREE_EX_CLASSIFIER_BROWSER286 #endif //GSDL_USE_CLASSIFIER_BROWSER287 288 231 cgiwrapper (recpt, ""); 289 232 delete cservers; … … 303 246 return 0; 304 247 } 305 306 307 308 309 310 311
Note:
See TracChangeset
for help on using the changeset viewer.