Changeset 7379
- Timestamp:
- 2004-05-24T14:55:33+12:00 (20 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browserclass.h
r1860 r7379 59 59 // before any other methods are called 60 60 virtual bool init (ostream &logout); 61 62 virtual browserclass* clone() = 0; 61 63 62 64 // returns the name that specifies the browserclass type -
trunk/gsdl/src/recpt/datelistbrowserclass.cpp
r6773 r7379 24 24 *********************************************************************/ 25 25 26 #include "gsdl_modules_cfg.h" 27 #ifdef GSDL_USE_DATELIST_BROWSER 28 26 29 #include "datelistbrowserclass.h" 27 30 #include <assert.h> … … 36 39 text_t datelistbrowserclass::get_browser_name () { 37 40 return "DateList"; 41 } 42 43 browserclass* datelistbrowserclass::clone() 44 { 45 return new datelistbrowserclass(); 38 46 } 39 47 … … 159 167 return 1; 160 168 } 169 170 #endif //GSDL_USE_DATELIST_BROWSER -
trunk/gsdl/src/recpt/datelistbrowserclass.h
r1285 r7379 24 24 *********************************************************************/ 25 25 26 #include "gsdl_modules_cfg.h" 27 #ifdef GSDL_USE_DATELIST_BROWSER 26 28 27 29 #ifndef DATELISTBROWSERCLASS_H … … 38 40 39 41 text_t get_browser_name (); 42 43 virtual browserclass* clone(); 40 44 41 45 virtual void load_metadata_defaults (text_tset &metadata); … … 56 60 }; 57 61 58 #endif 62 #endif //DATELISTBROWSERCLASS_H 63 #endif //GSDL_USE_DATELIST_BROWSER -
trunk/gsdl/src/recpt/gsdl_modules_cfg.h
r7371 r7379 65 65 #define GSDL_USE_STATUS_ACTION 66 66 #define GSDL_USE_TIP_ACTION 67 #define GSDL_USE_USERS_ACTION 67 68 68 69 //BROWSER MODULES … … 70 71 #undef GSDL_USE_TREE_EX_CLASSIFIER_BROWSER 71 72 #undef GSDL_USE_CLONE_BROWSER 72 #undef GSDL_USE_DATELIST_BROWSER 73 #undef GSDL_USE_HTML_BROWSER 74 #undef GSDL_USE_PAGED_BROWSER 73 #define GSDL_USE_DATELIST_BROWSER 74 #define GSDL_USE_HTML_BROWSER 75 #define GSDL_USE_PAGED_BROWSER 76 #define GSDL_USE_PHIND_BROWSER 75 77 76 78 //FILTERS -
trunk/gsdl/src/recpt/htmlbrowserclass.cpp
r1285 r7379 24 24 *********************************************************************/ 25 25 26 #include "gsdl_modules_cfg.h" 27 #ifdef GSDL_USE_HTML_BROWSER 28 26 29 #include "htmlbrowserclass.h" 27 30 #include <assert.h> … … 37 40 text_t htmlbrowserclass::get_browser_name () { 38 41 return "HTML"; 42 } 43 44 browserclass* htmlbrowserclass::clone() 45 { 46 return new htmlbrowserclass(); 39 47 } 40 48 … … 62 70 args["hp"] = response.docInfo[0].OID; 63 71 } 72 73 #endif //GSDL_USE_HTML_BROWSER -
trunk/gsdl/src/recpt/htmlbrowserclass.h
r1285 r7379 24 24 *********************************************************************/ 25 25 26 #include "gsdl_modules_cfg.h" 27 #ifdef GSDL_USE_HTML_BROWSER 26 28 27 29 #ifndef HTMLBROWSERCLASS_H … … 44 46 ostream &logout); 45 47 46 48 virtual browserclass* clone(); 47 49 }; 48 50 49 #endif 51 #endif //!HTMLBROWSERCLASS_H 52 #endif //GSDL_USE_HTML_BROWSER -
trunk/gsdl/src/recpt/invbrowserclass.cpp
r1285 r7379 38 38 return "Invisible"; 39 39 } 40 41 browserclass* invbrowserclass::clone() 42 { 43 return new invbrowserclass(); 44 } -
trunk/gsdl/src/recpt/invbrowserclass.h
r1285 r7379 45 45 text_t get_browser_name (); 46 46 47 virtual browserclass* clone(); 47 48 }; 48 49 -
trunk/gsdl/src/recpt/pagedbrowserclass.cpp
r1559 r7379 24 24 *********************************************************************/ 25 25 26 #include "gsdl_modules_cfg.h" 27 #ifdef GSDL_USE_PAGED_BROWSER 28 26 29 #include "pagedbrowserclass.h" 27 30 #include <assert.h> … … 40 43 } 41 44 45 browserclass* pagedbrowserclass::clone() 46 { 47 return new pagedbrowserclass(); 48 } 42 49 43 50 void pagedbrowserclass::load_metadata_defaults (text_tset &metadata) { … … 189 196 return 0; 190 197 } 198 199 #endif //GSDL_USE_PAGED_BROWSER -
trunk/gsdl/src/recpt/pagedbrowserclass.h
r1285 r7379 24 24 *********************************************************************/ 25 25 26 #include "gsdl_modules_cfg.h" 27 #ifdef GSDL_USE_PAGED_BROWSER 26 28 27 29 #ifndef PAGEDBROWSERCLASS_H … … 40 42 // returns the name that specifies the browserclass type 41 43 virtual text_t get_browser_name (); 44 45 virtual browserclass* clone(); 42 46 43 47 void load_metadata_defaults (text_tset &metadata); … … 61 65 }; 62 66 63 #endif 67 #endif //!PAGEDBROWSERCLASS_H 68 #endif //GSDL_USE_PAGED_BROWSER -
trunk/gsdl/src/recpt/phindbrowserclass.cpp
r2016 r7379 26 26 *********************************************************************/ 27 27 28 #include "gsdl_modules_cfg.h" 29 #ifdef GSDL_USE_PHIND_BROWSER 30 28 31 #include "phindbrowserclass.h" 29 32 #include <assert.h> … … 41 44 } 42 45 46 browserclass* phindbrowserclass::clone() 47 { 48 return new phindbrowserclass(); 49 } 43 50 44 51 #endif //GSDL_USE_PHIND_BROWSER -
trunk/gsdl/src/recpt/phindbrowserclass.h
r2016 r7379 26 26 *********************************************************************/ 27 27 28 #include "gsdl_modules_cfg.h" 29 #ifdef GSDL_USE_PHIND_BROWSER 30 28 31 // The phindbrowserclass is necessary to add a phind classifier to the user 29 32 // interface and navigation bar, but is basically empty - all the work is … … 49 52 virtual text_t get_browser_name (); 50 53 54 virtual browserclass* clone(); 55 51 56 }; 52 57 53 #endif 58 #endif //!PHINDBROWSERCLASS_H 59 #endif //GSDL_USE_PHIND_BROWSER
Note:
See TracChangeset
for help on using the changeset viewer.