forked from pyrite-dev/milsko
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@17 b9cfdab3-6d41-4d17-bbe4-086880011989
45 lines
752 B
C
45 lines
752 B
C
/* $Id$ */
|
|
#ifndef __MILSKO_TYPEDEFS_H__
|
|
#define __MILSKO_TYPEDEFS_H__
|
|
|
|
#include <Milsko/MachDep.h>
|
|
|
|
typedef struct _MilskoPoint {
|
|
int x;
|
|
int y;
|
|
} MilskoPoint;
|
|
|
|
typedef struct _MilskoTextKeyValue {
|
|
char* key;
|
|
char* value;
|
|
} MilskoTextKeyValue;
|
|
|
|
typedef struct _MilskoIntegerKeyValue {
|
|
char* key;
|
|
int value;
|
|
} MilskoIntegerKeyValue;
|
|
|
|
typedef struct _MilskoClass* MilskoClass;
|
|
|
|
#ifdef _MILSKO
|
|
#include <Milsko/LowLevel.h>
|
|
|
|
typedef struct _Milsko* HMILSKO;
|
|
|
|
typedef struct _Milsko {
|
|
HMILSKOLL lowlevel;
|
|
HMILSKO parent;
|
|
HMILSKO* children;
|
|
MilskoClass class;
|
|
|
|
MilskoTextKeyValue* text;
|
|
MilskoIntegerKeyValue* integer;
|
|
}* HMILSKO;
|
|
#else
|
|
typedef void* HMILSKO;
|
|
#endif
|
|
|
|
typedef struct _MilskoClass {
|
|
} *MilskoClass, MilskoClassRec;
|
|
|
|
#endif
|