/* * LWSDK Header File * Copyright 1999, NewTek, Inc. * * LWCMDSEQ.H -- LightWave CommandSequence Server * * This header contains the types and declarations for the Modeler * CommandSequence class. */ #ifndef LWSDK_CMDSEQ_H #define LWSDK_CMDSEQ_H #include #include #include #define LWMODCOMMAND_CLASS "CommandSequence" #define LWMODCOMMAND_VERSION 3 typedef struct st_LWModCommand { void *data; const char *argument; LWCommandCode (*lookup) (void *, const char *cmdName); int (*execute) (void *, LWCommandCode cmd, int argc, const DynaValue *argv, EltOpSelect, DynaValue *result); MeshEditBegin *editBegin; int (*evaluate) (void *, const char *command); } LWModCommand; #define CSERR_NONE 0 #define CSERR_MEMORY 1 #define CSERR_IO 2 #define CSERR_USERABORT 4 #define CSERR_ARGCOUNT 2901 #define CSERR_ARGTYPE 2902 #define CSERR_ARGVALUE 2903 #define CSERR_OPFAILURE 2904 #define CSERR_BADSEL 2905 #endif