2010-01-27 02:06:50 +08:00
|
|
|
/*-*- Mode: C; c-basic-offset: 8 -*-*/
|
|
|
|
|
|
|
|
#ifndef footargethfoo
|
|
|
|
#define footargethfoo
|
|
|
|
|
|
|
|
typedef struct Target Target;
|
|
|
|
|
2010-01-27 04:39:06 +08:00
|
|
|
#include "unit.h"
|
2010-01-27 02:06:50 +08:00
|
|
|
|
|
|
|
typedef enum TargetState {
|
|
|
|
TARGET_DEAD,
|
2010-01-27 13:33:27 +08:00
|
|
|
TARGET_ACTIVE,
|
|
|
|
_TARGET_STATE_MAX
|
2010-01-27 02:06:50 +08:00
|
|
|
} TargetState;
|
|
|
|
|
|
|
|
struct Target {
|
|
|
|
Meta meta;
|
|
|
|
|
|
|
|
TargetState state;
|
|
|
|
};
|
|
|
|
|
2010-01-27 04:39:06 +08:00
|
|
|
extern const UnitVTable target_vtable;
|
2010-01-27 02:06:50 +08:00
|
|
|
|
|
|
|
#endif
|