#############################################################################
## Name:        ext/html/XS/HtmlHelpController.xs
## Purpose:     XS for Wx::HtmlHelpController
## Author:      Mattia Barbon
## Modified by:
## Created:     21/03/2001
## RCS-ID:      $Id: HtmlHelpController.xs 2057 2007-06-18 23:03:00Z mbarbon $
## Copyright:   (c) 2001, 2003-2004, 2006 Mattia Barbon
## Licence:     This program is free software; you can redistribute it and/or
##              modify it under the same terms as Perl itself
#############################################################################

#include <wx/html/helpctrl.h>

#if defined(__WXMSW__)
#if wxPERL_USE_BESTHELP

#include <wx/msw/helpbest.h>
#undef THIS

MODULE=Wx PACKAGE=Wx::BestHelpController

#if WXPERL_W_VERSION_GE( 2, 7, 2 )

wxBestHelpController*
wxBestHelpController::new( parent = NULL, style = wxHF_DEFAULT_STYLE )
    wxWindow* parent
    int style

#else

wxBestHelpController*
wxBestHelpController::new()

#endif

#endif
#endif

MODULE=Wx PACKAGE=Wx::HtmlHelpController

wxHtmlHelpController*
wxHtmlHelpController::new( style = wxHF_DEFAULTSTYLE )
    long style
  CODE:
    RETVAL = new wxHtmlHelpController( style );
  OUTPUT:
    RETVAL

bool
wxHtmlHelpController::AddBook( book, show_wait )
     wxString book
     bool show_wait

void
wxHtmlHelpController::Display( x )
    wxString x

void
wxHtmlHelpController::DisplayId( id )
    int id
  CODE:
    THIS->Display( id );

void
wxHtmlHelpController::DisplayContents()

void
wxHtmlHelpController::DisplayIndex()

bool
wxHtmlHelpController::KeywordSearch( keyword )
    wxString keyword

void
wxHtmlHelpController::ReadCustomization( cfg, path = wxEmptyString )
     wxConfigBase* cfg
     wxString path

void
wxHtmlHelpController::SetTempDir( path )
    wxString path

void
wxHtmlHelpController::SetTitleFormat( format )
    wxString format

void
wxHtmlHelpController::UseConfig( config, path = wxEmptyString )
    wxConfigBase* config
    wxString path

void
wxHtmlHelpController::WriteCustomization( cfg, path = wxEmptyString )
     wxConfigBase* cfg
     wxString path


