Copyright (c) Hyperion Entertainment and contributors.
AmigaGuide Library
Introduction
AmigaGuide is a hypertext system widely used in AmigaOS, and AmigaGuide Library provides a way for developers to add interactive help to their applications. The library offers the following main features:
- text displayed in a synchronous or asynchronous window;
- context-dependent help;
- dynamic hosts allowing applications to incorporate context-sensitive or "live" project data within their help systems;
- internal messaging;
- ARexx interface.
Library Opening
Just like other AmigaOS libraries, the AmigaGuide Library must be opened and its interfaces obtained before use:
struct Library *AmigaGuideBase = NULL;
struct AmigaGuideIFace *IAmigaGuide = NULL;
if ( (AmigaGuideBase = IExec->OpenLibrary("amigaguide.library", 52)) )
{
IAmigaGuide = (struct AmigaGuideIFace *)IExec->GetInterface(AmigaGuideBase, "main", 1L, NULL);
}
if ( !AmigaGuideBase || !IAmigaGuide )
{
/* handle library opening error */
}