]> git.saurik.com Git - wxWidgets.git/blob - utils/helpview/src/helpview.h
Added helpview utility
[wxWidgets.git] / utils / helpview / src / helpview.h
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
15 #pragma interface "help.cpp"
16
17 // Define a new application type, each program should derive a class from wxApp
18 class hvApp : public wxApp
19 {
20 public:
21 // override base class virtuals
22 // ----------------------------
23
24 // this one is called on application startup and is a good place for the app
25 // initialization (doing it here and not in the ctor allows to have an error
26 // return: if OnInit() returns false, the application terminates)
27
28 virtual bool OnInit();
29 virtual int OnExit();
30
31 // Prompt the user for a book to open
32 bool OpenBook(wxHtmlHelpController* controller);
33
34 private:
35 wxHtmlHelpController *help;
36 };
37
38 #endif
39 // _WX_HELPVIEW_H_
40