NetSurf
libs.h
Go to the documentation of this file.
1/*
2 * Copyright 2014 Chris Young <chris@unsatisfactorysoftware.co.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef AMIGA_LIBS_H
20#include <stdbool.h>
21#include <intuition/classes.h>
22
23/* BOOPSI classes */
24extern Class *ARexxClass;
25extern Class *BevelClass;
26extern Class *BitMapClass;
27extern Class *ButtonClass;
28extern Class *CheckBoxClass;
29extern Class *ChooserClass;
30extern Class *ClickTabClass;
31extern Class *FuelGaugeClass;
32extern Class *GetFileClass;
33extern Class *GetFontClass;
34extern Class *GetScreenModeClass;
35extern Class *IntegerClass;
36extern Class *LabelClass;
37extern Class *LayoutClass;
38extern Class *ListBrowserClass;
39#ifndef __amigaos4__
40/* OS4 uses a public class name instead */
41extern Class *PageClass;
42#endif
43extern Class *RadioButtonClass;
44extern Class *ScrollerClass;
45extern Class *SpaceClass;
46extern Class *SpeedBarClass;
47extern Class *StringClass;
48extern Class *WindowClass;
49
50/* New improved ReAction macros! */
51#define ARexxObj NewObject(ARexxClass, NULL
52#define BevelObj NewObject(BevelClass, NULL
53#define BitMapObj NewObject(BitMapClass, NULL
54#define ButtonObj NewObject(ButtonClass, NULL
55#define CheckBoxObj NewObject(CheckBoxClass, NULL
56#define ChooserObj NewObject(ChooserClass, NULL
57#define ClickTabObj NewObject(ClickTabClass, NULL
58#define FuelGaugeObj NewObject(FuelGaugeClass, NULL
59#define GetFileObj NewObject(GetFileClass, NULL
60#define GetFontObj NewObject(GetFontClass, NULL
61#define GetScreenModeObj NewObject(GetScreenModeClass, NULL
62#define IntegerObj NewObject(IntegerClass, NULL
63#define LabelObj NewObject(LabelClass, NULL
64#define LayoutHObj NewObject(LayoutClass, NULL, LAYOUT_Orientation, LAYOUT_ORIENT_HORIZ
65#define LayoutVObj NewObject(LayoutClass, NULL, LAYOUT_Orientation, LAYOUT_ORIENT_VERT
66#define ListBrowserObj NewObject(ListBrowserClass, NULL
67#ifdef __amigaos4__
68#define PageObj NewObject(NULL, "page.gadget"
69#else
70#define PageObj NewObject(PageClass, NULL
71#endif
72#define RadioButtonObj NewObject(RadioButtonClass, NULL
73#define ScrollerObj NewObject(ScrollerClass, NULL
74#define SpaceObj NewObject(SpaceClass, NULL
75#define SpeedBarObj NewObject(SpeedBarClass, NULL
76#define StringObj NewObject(StringClass, NULL
77#define WindowObj NewObject(WindowClass, NULL
78
79/* Functions */
80bool ami_libs_open(void);
81void ami_libs_close(void);
82#endif
83
Class * GetFileClass
Class * FuelGaugeClass
Class * ScrollerClass
Class * PageClass
Class * CheckBoxClass
Class * RadioButtonClass
Class * GetScreenModeClass
Class * SpaceClass
Class * LayoutClass
Class * ChooserClass
Class * LabelClass
Class * SpeedBarClass
Class * WindowClass
Class * ButtonClass
bool ami_libs_open(void)
Definition: libs.c:221
void ami_libs_close(void)
Definition: libs.c:301
Class * IntegerClass
Class * BevelClass
Class * ClickTabClass
Class * BitMapClass
Class * ListBrowserClass
Class * StringClass
Class * ARexxClass
Class * GetFontClass