25 #ifndef TBX_EXT_STRONGHELP_H_
26 #define TBX_EXT_STRONGHELP_H_
33 class StrongHelpNotFoundHandler;
44 static std::string _default_path;
60 const std::string &
path()
const {
return _path;}
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
interface to customise handling of StrongHelp or lookup not found message.
Definition: stronghelp.h:75
class to show help from StrongHelp help files
Definition: stronghelp.h:42
static bool run_stronghelp()
Attempt to start the strong help program.
Definition: stronghelp.cc:103
StrongHelp()
Construct class to control StrongHelp application.
Definition: stronghelp.cc:46
void lookup(const std::string &page, StrongHelpNotFoundHandler *handler=0)
Lookup a page in the strong help path.
Definition: stronghelp.cc:324
static const std::string & default_path()
Get the default path set for the application.
Definition: stronghelp.h:56
const std::string & path() const
Get the path used by this instance.
Definition: stronghelp.h:60
void search(const std::string &text, StrongHelpNotFoundHandler *handler=0)
Open the free text search window.
Definition: stronghelp.cc:336
static void standard_default_path()
Set the static default path for the no argument constructor to be the standard !Help file for the app...
Definition: stronghelp.cc:80
bool run_path()
Attempt to run the file name in path.
Definition: stronghelp.cc:136
virtual void stronghelp_not_running(StrongHelp &help, const std::string &page_or_text)
Handler for if the StrongHelp program could not be run.
Definition: stronghelp.cc:175
virtual bool stronghelp_not_found(StrongHelp &help, const std::string &page_or_text)
Handler for if the page or text could not be found by StrongHelp.
Definition: stronghelp.cc:162