/* Programmheader

	Name:		reko.h
	Main:		reko
	Versionstring:	$VER: reko.h 40.9 (14.10.2001)
	Author:		SDI
	Distribution:	Freeware
	Description:	the definitions

40.0   02.10.99 : first version
40.1   03.10.99 : some optimisations
40.2   06.10.99 : added background card for Soliton
40.3   10.10.99 : added HAM to 24bit conversion
40.4   14.10.99 : added ENV file support
40.5   17.10.99 : uses ModeID in HighColor system
40.6   20.10.99 : added HAM6 conversion and card clear
40.7   11.11.99 : data is 24bit and no longer 16 bit
40.8   10.12.99 : added 16BIT/24BIT support
40.9   14.10.01 : added 68060 version
*/

#include <intuition/classes.h>
#include <exec/libraries.h>
#include <exec/semaphores.h>
#include <dos/dos.h>

struct ClassBase
{
    struct Library		cb_Lib;
    UWORD			cb_UsageCnt;
    struct ExecBase *		cb_SysBase;
    struct DosLibrary *		cb_DOSBase;
    struct IntuitionBase *	cb_IntuitionBase;
    struct GfxBase *		cb_GfxBase;
    struct UtilityBase *	cb_UtilityBase;
    struct Library *		cb_DataTypesBase;
    struct Library *		cb_SuperClassBase;
    BPTR			cb_SegList;
    struct SignalSemaphore	cb_Lock; /* access lock */
    Class *			cb_Class;
};

#define CLASSNAME		"reko.datatype"

#ifdef _M68060
  #define ADDTXT	" 060"
#elif defined(_M68040)
  #define ADDTXT	" 040"
#elif defined(_M68030)
  #define ADDTXT	" 030"
#elif defined(_M68020)
  #define ADDTXT	" 020"
#else
  #define ADDTXT	""
#endif

#define VERSION   		40
#define REVISION		9
#define DATETXT	  		"14.10.2001"
#define VERSTXT			"40.9"
#define IDSTRING		"reko " VERSTXT " (" DATETXT ")" ADDTXT " by Dirk Stöcker <stoecker@epost.de>\r\n"

extern Class *initClass(struct ClassBase *cb);

