ddraw/tests: Use compare_uint() in compare_float() instead of abs().
[wine.git] / programs / winhlp32 / macro.h
blob910782db60c3f4bbdf3eb4677173c746acdb85a5
1 /*
2 * Help Viewer
4 * Copyright 1996 Ulrich Schmid
5 * Copyright 2002 Eric Pouech
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.
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.
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
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
27 struct lexret {
28 LPCSTR proto;
29 BOOL bool;
30 LONG integer;
31 LPCSTR string;
32 FARPROC function;
35 extern struct lexret yylval;
36 struct tagWinHelp;
38 BOOL MACRO_ExecuteMacro(struct tagWinHelp*, LPCSTR);
39 int MACRO_Lookup(const char* name, struct lexret* lr);
40 struct tagWinHelp* MACRO_CurrentWindow(void);
42 enum token_types {EMPTY, VOID_FUNCTION, BOOL_FUNCTION, INTEGER, STRING, IDENTIFIER};
43 void CALLBACK MACRO_About(void);
44 void CALLBACK MACRO_Annotate(void);
45 void CALLBACK MACRO_BookmarkDefine(void);
46 void CALLBACK MACRO_CopyDialog(void);
47 void CALLBACK MACRO_CreateButton(LPCSTR, LPCSTR, LPCSTR);
48 void CALLBACK MACRO_DisableButton(LPCSTR);
49 void CALLBACK MACRO_Exit(void);
50 void CALLBACK MACRO_FileOpen(void);
51 void CALLBACK MACRO_HelpOn(void);
52 void CALLBACK MACRO_HelpOnTop(void);
53 void CALLBACK MACRO_History(void);
54 void CALLBACK MACRO_JumpContents(LPCSTR, LPCSTR);
55 void CALLBACK MACRO_JumpContext(LPCSTR, LPCSTR, LONG);
56 void CALLBACK MACRO_JumpHash(LPCSTR, LPCSTR, LONG);
57 void CALLBACK MACRO_PopupContext(LPCSTR, LONG);
58 void CALLBACK MACRO_Print(void);
59 void CALLBACK MACRO_PrinterSetup(void);
60 void CALLBACK MACRO_SetContents(LPCSTR, LONG);
62 /* Local Variables: */
63 /* c-file-style: "GNU" */
64 /* End: */