source: main/trunk/greenstone2/runtime-src/src/recpt/phindbrowserclass.cpp@ 24874

Last change on this file since 24874 was 7379, checked in by mdewsnip, 20 years ago

(Human Info) Allow some browser classes to be easily switched off. Also added a clone function to every browser class.

  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/**********************************************************************
2 *
3 * phindbrowserclass.cpp --
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#include "phindbrowserclass.h"
32#include <assert.h>
33#include "OIDtools.h"
34
35phindbrowserclass::phindbrowserclass () {
36}
37
38phindbrowserclass::~phindbrowserclass () {
39}
40
41// returns the name that specifies the browserclass type
42text_t phindbrowserclass::get_browser_name () {
43 return "Phind";
44}
45
46browserclass* phindbrowserclass::clone()
47{
48 return new phindbrowserclass();
49}
50
51#endif //GSDL_USE_PHIND_BROWSER
Note: See TracBrowser for help on using the repository browser.