[SNDVOL32] Add the small line dialog
[reactos.git] / base / applications / winhlp32 / macro.h
1 /*
2 * Help Viewer
3 *
4 * Copyright 1996 Ulrich Schmid
5 * Copyright 2002 Eric Pouech
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 */
21
22 struct lexret {
23 LPCSTR proto;
24 BOOL bool;
25 LONG integer;
26 LPCSTR string;
27 FARPROC function;
28 };
29
30 extern struct lexret yylval;
31 struct tagWinHelp;
32
33 BOOL MACRO_ExecuteMacro(struct tagWinHelp*, LPCSTR);
34 int MACRO_Lookup(const char* name, struct lexret* lr);
35 struct tagWinHelp* MACRO_CurrentWindow(void);
36
37 enum token_types {EMPTY, VOID_FUNCTION, BOOL_FUNCTION, INTEGER, STRING, IDENTIFIER};
38 void CALLBACK MACRO_About(void);
39 void CALLBACK MACRO_Annotate(void);
40 void CALLBACK MACRO_BookmarkDefine(void);
41 void CALLBACK MACRO_CopyDialog(void);
42 void CALLBACK MACRO_CreateButton(LPCSTR, LPCSTR, LPCSTR);
43 void CALLBACK MACRO_DisableButton(LPCSTR);
44 void CALLBACK MACRO_Exit(void);
45 void CALLBACK MACRO_FileOpen(void);
46 void CALLBACK MACRO_HelpOn(void);
47 void CALLBACK MACRO_HelpOnTop(void);
48 void CALLBACK MACRO_History(void);
49 void CALLBACK MACRO_JumpContents(LPCSTR, LPCSTR);
50 void CALLBACK MACRO_JumpContext(LPCSTR, LPCSTR, LONG);
51 void CALLBACK MACRO_JumpHash(LPCSTR, LPCSTR, LONG);
52 void CALLBACK MACRO_PopupContext(LPCSTR, LONG);
53 void CALLBACK MACRO_Print(void);
54 void CALLBACK MACRO_PrinterSetup(void);
55 void CALLBACK MACRO_SetContents(LPCSTR, LONG);
56
57 /* Local Variables: */
58 /* c-file-style: "GNU" */
59 /* End: */