]> git.saurik.com Git - wxWidgets.git/blob - utils/helpview/src/helpview.h
added test for env var expansion
[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 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "help.cpp"
17 #endif
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