Changeset 226 for trunk/gsdl/src/colservr/collectserver.h
- Timestamp:
- 1999-04-07T10:20:35+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/collectserver.h
r220 r226 17 17 #include "text_t.h" 18 18 #include "comtypes.h" 19 #include "maptools.h" 19 #include "filter.h" 20 #include "source.h" 20 21 21 22 #if defined(GSDL_USE_OBJECTSPACE) … … 40 41 text_t collection; 41 42 text_t collectdir; 42 stringmap indexmap;43 stringmap subcollectionmap;44 stringmap languagemap;45 43 }; 46 44 … … 50 48 colservrconf configinfo; 51 49 ColInfoResponse_t collectinfo; 52 InfoFilterOptionsResponse_t filterinfo; 50 51 filtermapclass filters; 52 sourcelistclass sources; 53 53 54 54 public: 55 55 collectserver (); 56 56 virtual ~collectserver (); 57 58 // add_filter makes another filter available to the collection server 59 // the filter remains the property of the calling code and that 60 // code should destroy the filter after the collection server has been 61 // destroyed. 62 void add_filter (filterclass *thefilter) {filters.addfilter(thefilter);} 63 filtermapclass *get_filtermap_ptr () {return &filters;} 64 65 // add_source makes another source available to the collection server 66 // the source remains the property of the calling code and that 67 // code should destroy the source after the collection server has been 68 // destroyed. 69 void add_source (sourceclass *thesource) {sources.addsource(thesource);} 70 sourcelistclass *get_sourcelist_ptr () {return &sources;} 57 71 58 72 // configure should be called for each line in the … … 83 97 FilterResponse_t &response, 84 98 comerror_t &err, ostream &logout); 85 86 protected:87 void update_enumfiltopt (text_t optionname, const text_tarray &options);88 99 }; 89 100
Note:
See TracChangeset
for help on using the changeset viewer.