]>
git.saurik.com Git - wxWidgets.git/blob - utils/helpview/src/helpview.h
72651faf1d805f6b30ee6a5e01560f82291fd67c
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: HelpView application class
4 // Author: Vaclav Slavik, Julian Smart
8 // Copyright: (c) 2002 Vaclav Slavik, Julian Smart and others
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_HELPVIEW_H_
13 #define _WX_HELPVIEW_H_
15 #pragma interface "help.cpp"
17 // Define a new application type, each program should derive a class from wxApp
18 class hvApp
: public wxApp
21 // override base class virtuals
22 // ----------------------------
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)
28 virtual bool OnInit();
31 // Prompt the user for a book to open
32 bool OpenBook(wxHtmlHelpController
* controller
);
35 wxHtmlHelpController
*help
;