1 | /**********************************************************************
|
---|
2 | *
|
---|
3 | * phindbrowserclass.h --
|
---|
4 | *
|
---|
5 | * Copyright (C) 2000 The New Zealand Digital Library Project
|
---|
6 | *
|
---|
7 | *
|
---|
8 | * A component of the Greenstone digital library software
|
---|
9 | * from the New Zealand Digital Library Project at the
|
---|
10 | * University of Waikato, New Zealand.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or modify
|
---|
13 | * it under the terms of the GNU General Public License as published by
|
---|
14 | * the Free Software Foundation; either version 2 of the License, or
|
---|
15 | * (at your option) any later version.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful,
|
---|
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
20 | * GNU General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, write to the Free Software
|
---|
24 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
25 | *
|
---|
26 | *********************************************************************/
|
---|
27 |
|
---|
28 | #include "gsdl_modules_cfg.h"
|
---|
29 | #ifdef GSDL_USE_PHIND_BROWSER
|
---|
30 |
|
---|
31 | // The phindbrowserclass is necessary to add a phind classifier to the user
|
---|
32 | // interface and navigation bar, but is basically empty - all the work is
|
---|
33 | // done in documentaction.cpp and in the document.dm macro file. What
|
---|
34 | // happens is that documentaction.cpp has a section that sets various
|
---|
35 | // macros when the document in question is a phind classifier; thse are in
|
---|
36 | // turn used by the macro file to load the applet into the web page.
|
---|
37 |
|
---|
38 | #ifndef PHINDBROWSERCLASS_H
|
---|
39 | #define PHINDBROWSERCLASS_H
|
---|
40 |
|
---|
41 | #include "browserclass.h"
|
---|
42 |
|
---|
43 | class phindbrowserclass : public browserclass {
|
---|
44 | protected:
|
---|
45 |
|
---|
46 | public:
|
---|
47 |
|
---|
48 | phindbrowserclass ();
|
---|
49 | virtual ~phindbrowserclass ();
|
---|
50 |
|
---|
51 | // returns the name that specifies the browserclass type
|
---|
52 | virtual text_t get_browser_name ();
|
---|
53 |
|
---|
54 | virtual browserclass* clone();
|
---|
55 |
|
---|
56 | };
|
---|
57 |
|
---|
58 | #endif //!PHINDBROWSERCLASS_H
|
---|
59 | #endif //GSDL_USE_PHIND_BROWSER
|
---|