Files
wxWidgets/utils/helpview/src/helpview.h
Julian Smart 877c86a2f2 Compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 10:34:46 +00:00

43 lines
1.2 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: helpview.h
// Purpose: HelpView application class
// Author: Vaclav Slavik, Julian Smart
// Modified by:
// Created: 2002-07-09
// RCS-ID: $Id$
// Copyright: (c) 2002 Vaclav Slavik, Julian Smart and others
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_HELPVIEW_H_
#define _WX_HELPVIEW_H_
#ifdef __GNUG__
#pragma interface "help.cpp"
#endif
// Define a new application type, each program should derive a class from wxApp
class hvApp : public wxApp
{
public:
// override base class virtuals
// ----------------------------
// this one is called on application startup and is a good place for the app
// initialization (doing it here and not in the ctor allows to have an error
// return: if OnInit() returns false, the application terminates)
virtual bool OnInit();
virtual int OnExit();
// Prompt the user for a book to open
bool OpenBook(wxHtmlHelpController* controller);
private:
wxHtmlHelpController *help;
};
#endif
// _WX_HELPVIEW_H_