updated the imagemap plug-in

--Sven
This commit is contained in:
Sven Neumann
1999-10-24 20:57:17 +00:00
parent 88e0cc3155
commit ecfb8a1210
76 changed files with 2078 additions and 561 deletions

View File

@ -26,19 +26,23 @@
#include "imap_object.h"
#define DEFAULT_UNDO_LEVELS 10
typedef struct CommandClass_t CommandClass_t;
typedef struct Command_t Command_t;
typedef struct CommandList_t CommandList_t;
typedef enum {CMD_APPEND, CMD_DESTRUCT, CMD_IGNORE} CmdExecuteValue_t;
#define COMMAND_PROTO(class) \
static void class##_destruct(Command_t *command); \
static gboolean class##_execute(Command_t *command); \
static CmdExecuteValue_t class##_execute(Command_t *command); \
static void class##_undo(Command_t *command); \
static void class##_redo(Command_t *command)
struct CommandClass_t {
void (*destruct)(Command_t*);
gboolean (*execute)(Command_t*);
CmdExecuteValue_t (*execute)(Command_t*);
void (*undo)(Command_t*);
void (*redo)(Command_t*);
};