Changeset 15742

Show
Ignore:
Timestamp:
28.05.2008 10:54:11 (11 years ago)
Author:
mdewsnip
Message:

Removed a whole lot of unused stuff.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/recpt/librarymain.cpp

    r15454 r15742  
    3434#endif 
    3535#include "collectset.h" 
    36 #include <assert.h> 
    3736 
    3837#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" 
    4044#include "pageaction.h" 
     45#include "phindaction.h" 
    4146#include "pingaction.h" 
    4247#include "queryaction.h" 
    43 #include "documentaction.h" 
    44 #include "authenaction.h" 
     48#include "tipaction.h" 
     49#include "statusaction.h" 
    4550#include "usersaction.h" 
    46 #include "extlinkaction.h" 
    47  
    48 #ifdef GSDL_USE_EXPORT_ACTION 
    49 #include "exportaction.h" 
    50 #endif 
    51  
    52 #ifdef GSDL_USE_CL_DISPLAY_ACTION 
    53 #include "cldisplayaction.h" 
    54 #endif 
    55  
    56 #ifdef GSDL_USE_COURSES_ACTION 
    57 #include "coursesaction.h" 
    58 #endif 
    59  
    60 #ifdef GSDL_USE_COMPOSITION_ACTION 
    61 #include "compositionaction.h" 
    62 #endif 
    63  
    64 #ifdef GSDL_USE_INDEX_BROWSE_ACTION 
    65 #include "indexbrowseaction.h" 
    66 #endif 
    67  
    68 #ifdef GSDL_USE_DIR_BROWSE_ACTION 
    69 #include "dirbrowseaction.h" 
    70 #endif 
    71  
    72 #ifdef GSDL_USE_GENERATOR_ACTION 
    73 #include "generatoraction.h" 
    74 #endif 
    75  
    76 #ifdef GSDL_USE_GTI_ACTION 
    77 #include "gtiaction.h" 
    78 #endif 
    79  
    80 #include "tipaction.h" 
    81 #include "collectoraction.h" 
    82 #include "depositoraction.h" 
    83 #include "browseaction.h" 
    84 #include "phindaction.h" 
    8551 
    8652#include "browserclass.h" 
     
    9359#include "phindbrowserclass.h" 
    9460 
    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 
     62int main () 
     63{ 
    10664  receptionist recpt; 
    10765  nullproto    nproto; 
     
    271229#endif 
    272230 
    273 #ifdef GSDL_USE_CLASSIFIER_BROWSER 
    274   //list of classifier browsers 
    275   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_BROWSER 
    281   CTreeExClassifierBrowserClass *pTreeExClassifierBrowser = new CTreeExClassifierBrowserClass(); 
    282   if (pTreeExClassifierBrowser != NULL) { 
    283     recpt.GetClassifierBrowsers().AddBrowser(pTreeExClassifierBrowser); 
    284   } 
    285 #endif //GSDL_USE_TREE_EX_CLASSIFIER_BROWSER 
    286 #endif //GSDL_USE_CLASSIFIER_BROWSER 
    287  
    288231  cgiwrapper (recpt, ""); 
    289232  delete cservers; 
     
    303246  return 0; 
    304247} 
    305  
    306  
    307  
    308  
    309  
    310  
    311