source: trunk/gsdl/src/library/browse.h@ 4

Last change on this file since 4 was 4, checked in by sjboddie, 25 years ago

Initial revision

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1#ifndef BROWSE_H
2#define BROWSE_H
3
4#include "text_t.h"
5#include "gdbmclass.h"
6#include "cgiargs.h"
7
8class browseclass
9{
10
11public:
12
13 browseclass () {}
14 virtual ~browseclass () {}
15
16 virtual void get_browse_bar(const text_t &targetdoc, text_t &return_text) {}
17
18 virtual void get_top_locator(cgiargsclass &args, gdbmclass &gdbm, int oversize, text_t &return_text) {}
19 virtual void get_links(cgiargsclass &args, gdbmclass &gdbm, text_t &return_text) {}
20 virtual void get_contents_arr(cgiargsclass &args, gdbmclass &gdbm, vector<text_t> &contents_arr) {}
21
22protected:
23
24 virtual void get_expanded_toc(cgiargsclass &args, text_t &booksection,
25 const text_t &classification, gdbmclass &gdbm,
26 text_t &return_text) {}
27 virtual void get_standard_toc(cgiargsclass &args, text_t &booksection,
28 const text_t &classification, gdbmclass &gdbm,
29 text_t &return_text) {}
30 virtual void get_alphabet_links (const text_t &booksection, gdbmclass &gdbm,
31 const text_t &collection, text_t &return_text) {}
32 virtual void get_title_arrows(text_t classification, gdbmclass &gdbm,
33 const text_t &collection, text_t &alphabet_arrows) {}
34 virtual void get_contents (text_t expandlevel, gdbmclass &gdbm,
35 const text_t &collection, vector<text_t> &contents,
36 int &totalcols) {}
37
38};
39
40
41#endif
Note: See TracBrowser for help on using the repository browser.