#include <libraries/mui.h>
#include <libraries/gadtools.h>
#include <proto/muimaster.h>
#include <clib/exec_protos.h>
#include <exec/memory.h>
#include <clib/alib_protos.h>

#include <intuition/icclass.h>
#include <gadgets/textfield.h>

#include <proto/textfield.h>
#include <proto/iffparse.h>

#define MUIA_Boopsi_Smart 0x8042b8d7 /* V9 i.. BOOL */

static struct ClipboardHandle *clip_handle, *undo_handle;

struct ObjApp
{
	APTR	App;
	APTR	Geditor;
	APTR	MN_Menues;
	APTR	text;
	APTR	object;
	APTR	sbar;
	APTR	BT_OK;
	APTR	BT_Cancel;
	APTR	about;
	APTR	LV_label_1;
	char *	LV_label_1Content;
};

#define OK 1
#define Cancel 2
#define Include 3
#define Save 4
#define Edit_Cut 5
#define Edit_Copy 6
#define Edit_Paste 7
#define Edit_Clear 8

extern struct ObjApp * CreateApp(char*);
extern void DisposeApp(struct ObjApp *);
