1 | #ifndef BROWSE_H
|
---|
2 | #define BROWSE_H
|
---|
3 |
|
---|
4 | #include "text_t.h"
|
---|
5 | #include "gdbmclass.h"
|
---|
6 | #include "cgiargs.h"
|
---|
7 |
|
---|
8 | class browseclass
|
---|
9 | {
|
---|
10 |
|
---|
11 | public:
|
---|
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 |
|
---|
22 | protected:
|
---|
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
|
---|