source: trunk/gsdl/src/colservr/browsefilter.h@ 301

Last change on this file since 301 was 227, checked in by rjmcnab, 25 years ago

Initial revision.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 KB
Line 
1/**********************************************************************
2 *
3 * browsefilter.h --
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * PUT COPYRIGHT NOTICE HERE
7 *
8 * $Id: browsefilter.h 227 1999-04-06 22:22:10Z rjmcnab $
9 *
10 *********************************************************************/
11
12
13#ifndef BROWSEFILTER_H
14#define BROWSEFILTER_H
15
16
17#include "gsdlconf.h"
18#include "text_t.h"
19#include "comtypes.h"
20#include "filter.h"
21#include "infodbclass.h"
22
23
24class browsefilterclass : public filterclass {
25protected:
26 text_t gdbm_filename;
27 gdbmclass *gdbmptr;
28
29public:
30 browsefilterclass ();
31 virtual ~browsefilterclass ();
32
33 // the gdbmptr remains the responsability of the calling code and
34 // should be destroyed after this browsefilter is destroyed
35 void set_gdbmptr (gdbmclass *thegdbmptr) {gdbmptr = thegdbmptr;}
36
37 bool init (ostream &logout);
38 text_t get_filter_name () {return "BrowseFilter";}
39 void filter (const FilterRequest_t &request,
40 FilterResponse_t &response,
41 comerror_t &err, ostream &logout);
42};
43
44
45#endif
Note: See TracBrowser for help on using the repository browser.