2014-11-08 22:23:02 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AMIGA_LIBS_H
|
2014-11-09 03:05:44 +03:00
|
|
|
#include <stdbool.h>
|
2015-01-25 03:27:53 +03:00
|
|
|
#include <intuition/classes.h>
|
2014-11-09 03:05:44 +03:00
|
|
|
|
2015-01-25 03:27:53 +03:00
|
|
|
/* BOOPSI classes */
|
2015-01-26 03:05:01 +03:00
|
|
|
extern Class *ARexxClass;
|
2015-01-25 15:45:20 +03:00
|
|
|
extern Class *BevelClass;
|
2015-01-25 03:27:53 +03:00
|
|
|
extern Class *BitMapClass;
|
2015-01-25 15:45:20 +03:00
|
|
|
extern Class *ButtonClass;
|
2015-01-26 03:05:01 +03:00
|
|
|
extern Class *CheckBoxClass;
|
2015-01-25 15:45:20 +03:00
|
|
|
extern Class *ChooserClass;
|
|
|
|
extern Class *ClickTabClass;
|
2015-01-26 03:05:01 +03:00
|
|
|
extern Class *FuelGaugeClass;
|
|
|
|
extern Class *GetFileClass;
|
|
|
|
extern Class *GetFontClass;
|
|
|
|
extern Class *GetScreenModeClass;
|
|
|
|
extern Class *IntegerClass;
|
|
|
|
extern Class *LabelClass;
|
2015-01-25 03:27:53 +03:00
|
|
|
extern Class *LayoutClass;
|
|
|
|
extern Class *ListBrowserClass;
|
2015-01-26 03:05:01 +03:00
|
|
|
extern Class *RadioButtonClass;
|
2015-01-25 15:45:20 +03:00
|
|
|
extern Class *ScrollerClass;
|
|
|
|
extern Class *SpaceClass;
|
|
|
|
extern Class *SpeedBarClass;
|
|
|
|
extern Class *StringClass;
|
2015-01-25 03:27:53 +03:00
|
|
|
extern Class *WindowClass;
|
|
|
|
|
|
|
|
/* New improved ReAction macros! */
|
2015-01-26 03:05:01 +03:00
|
|
|
#define ARexxObj NewObject(ARexxClass, NULL
|
|
|
|
#define BevelObj NewObject(BevelClass, NULL
|
|
|
|
#define BitMapObj NewObject(BitMapClass, NULL
|
|
|
|
#define ButtonObj NewObject(ButtonClass, NULL
|
|
|
|
#define CheckBoxObj NewObject(CheckBoxClass, NULL
|
|
|
|
#define ChooserObj NewObject(ChooserClass, NULL
|
|
|
|
#define ClickTabObj NewObject(ClickTabClass, NULL
|
|
|
|
#define FuelGaugeObj NewObject(FuelGaugeClass, NULL
|
|
|
|
#define GetFileObj NewObject(GetFileClass, NULL
|
2015-01-26 21:49:49 +03:00
|
|
|
#define GetFontObj NewObject(GetFontClass, NULL
|
2015-01-26 03:05:01 +03:00
|
|
|
#define GetScreenModeObj NewObject(GetScreenModeClass, NULL
|
|
|
|
#define IntegerObj NewObject(IntegerClass, NULL
|
|
|
|
#define LabelObj NewObject(LabelClass, NULL
|
|
|
|
#define LayoutHObj NewObject(LayoutClass, NULL, LAYOUT_Orientation, LAYOUT_ORIENT_HORIZ
|
|
|
|
#define LayoutVObj NewObject(LayoutClass, NULL, LAYOUT_Orientation, LAYOUT_ORIENT_VERT
|
|
|
|
#define PageObj NewObject(NULL, "page.gadget"
|
|
|
|
#define RadioButtonObj NewObject(RadioButtonClass, NULL
|
|
|
|
#define ScrollerObj NewObject(ScrollerClass, NULL
|
|
|
|
#define SpaceObj NewObject(SpaceClass, NULL
|
2015-01-31 16:51:27 +03:00
|
|
|
#define SpeedBarObj NewObject(SpeedBarClass, NULL
|
2015-01-26 03:05:01 +03:00
|
|
|
#define StringObj NewObject(StringClass, NULL
|
|
|
|
#define WindowObj NewObject(WindowClass, NULL
|
2015-01-25 03:27:53 +03:00
|
|
|
|
|
|
|
/* Functions */
|
2014-11-09 03:05:44 +03:00
|
|
|
bool ami_libs_open(void);
|
2014-11-08 22:23:02 +03:00
|
|
|
void ami_libs_close(void);
|
|
|
|
#endif
|
|
|
|
|