Added helpview utility

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-07-09 10:23:27 +00:00
parent 298fe32f7a
commit 4e4152e4a8
24 changed files with 4660 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
/////////////////////////////////////////////////////////////////////////////
// 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_
#pragma interface "help.cpp"
// 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_