]>
Commit | Line | Data |
---|---|---|
4e4152e4 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: helpview.h | |
3 | // Purpose: HelpView application class | |
4 | // Author: Vaclav Slavik, Julian Smart | |
5 | // Modified by: | |
6 | // Created: 2002-07-09 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2002 Vaclav Slavik, Julian Smart and others | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_HELPVIEW_H_ | |
13 | #define _WX_HELPVIEW_H_ | |
14 | ||
877c86a2 | 15 | #ifdef __GNUG__ |
4e4152e4 | 16 | #pragma interface "help.cpp" |
877c86a2 | 17 | #endif |
4e4152e4 JS |
18 | |
19 | // Define a new application type, each program should derive a class from wxApp | |
20 | class hvApp : public wxApp | |
21 | { | |
22 | public: | |
23 | // override base class virtuals | |
24 | // ---------------------------- | |
25 | ||
26 | // this one is called on application startup and is a good place for the app | |
27 | // initialization (doing it here and not in the ctor allows to have an error | |
28 | // return: if OnInit() returns false, the application terminates) | |
29 | ||
30 | virtual bool OnInit(); | |
31 | virtual int OnExit(); | |
32 | ||
33 | // Prompt the user for a book to open | |
34 | bool OpenBook(wxHtmlHelpController* controller); | |
35 | ||
36 | private: | |
37 | wxHtmlHelpController *help; | |
38 | }; | |
39 | ||
40 | #endif | |
41 | // _WX_HELPVIEW_H_ | |
42 |