00001 00009 00010 #ifndef _H_ACT_API 00011 #define _H_ACT_API 00012 00013 00014 typedef void* ACT_ActionPtr; 00015 typedef void* ACT_ActionStackPtr; 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 00034 00035 extern char* ACT_ActionGetName(ACT_ActionPtr action); 00036 extern void ACT_ActionIncRef(ACT_ActionPtr action); 00037 extern void ACT_ActionDecRef(ACT_ActionPtr action); 00038 00039 00046 00047 extern ACT_ActionStackPtr ACT_ActionStackCreate(unsigned int stackSize); 00048 extern void ACT_ActionStackDispose(ACT_ActionStackPtr actionStack); 00049 extern void ACT_ActionStackPush(ACT_ActionStackPtr actionStack, ACT_ActionPtr action); 00050 extern ACT_ActionStackPtr ACT_ActionStackPeekUndo(ACT_ActionStackPtr actionStack); 00051 extern ACT_ActionStackPtr ACT_ActionStackPeekRedo(ACT_ActionStackPtr actionStack); 00052 extern void ACT_ActionStackUndo(ACT_ActionStackPtr actionStack); 00053 extern void ACT_ActionStackRedo(ACT_ActionStackPtr actionStack); 00054 00055 00056 #ifdef __cplusplus 00057 } 00058 #endif 00059 00060 #endif // _H_IMG_API