Mercurial > ~dholland > hg > ag > index.cgi
comparison anagram/guisupport/help.h @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 /* | |
2 * AnaGram, A System for Syntax Directed Programming | |
3 * Copyright 2006 David A. Holland. All Rights Reserved. | |
4 * See the file COPYING for license and usage terms. | |
5 * | |
6 * help.h - help data. | |
7 */ | |
8 | |
9 #ifndef HELP_H | |
10 #define HELP_H | |
11 | |
12 struct HelpTopic; // Opaque. | |
13 | |
14 void help_init(void); | |
15 | |
16 const char *helptopic_gettitle(const HelpTopic *ht); | |
17 const char *helptopic_gettext(const HelpTopic *ht); | |
18 | |
19 const HelpTopic *help_topic(const char *topic); | |
20 int help_topicexists(const char *topic); | |
21 | |
22 // helpindex_get returns the topic name for help topic 0..helpindex_num-1. | |
23 // This list does *not* include the magic help topic that used to be | |
24 // internally numbered 0. | |
25 unsigned helpindex_num(void); | |
26 const char *helpindex_get(unsigned which); | |
27 | |
28 #endif /* HELP_H */ |