]>
git.saurik.com Git - wxWidgets.git/blob - utils/helpview/src/helpview.h
d4f90414cef615ff1096e476102ac43d4029bd34
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 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "help.cpp"
19 // Define a new application type, each program should derive a class from wxApp
20 class hvApp
: public wxApp
23 // override base class virtuals
24 // ----------------------------
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)
30 virtual bool OnInit();
33 // Prompt the user for a book to open
34 bool OpenBook(wxHtmlHelpController
* controller
);
37 wxHtmlHelpController
*help
;