#if !defined(ACTIVEINSTANCE_H) #define ACTIVEINSTANCE_H #include /* # if !defined OLC93SU523_H # include "olc93su523.h" # endif */ /*#include "f93olc.h"*/ # if !defined OLC3COMMON_H # include "olc3common.h" # endif enum { ActiveInstanceNameMaxLen = 80 }; PROTOTYPE(hcg_key ActiveInstanceCreate, (const char *ActiveInstanceName, hcg_key ACid, const char *CurStateName)) PROTOTYPE(void ActiveInstanceDelete, (hcg_key ActiveInstanceToDelete)) /* ** Use the following routines to access information from an active instance. ** ** ActiveInstanceGetName returns a pointer to the name of the active instance. ** If you need to get a copy of the name for long term use, use ** ActiveInstanceCopyName. Be sure that there is enough space in the ** destination buffer for the maximum size active instance text. */ PROTOTYPE(hcg_key ActiveInstanceGetACid, (hcg_key AIid)) PROTOTYPE(const char *ActiveInstanceGetState, (hcg_key AIid)) PROTOTYPE(void ActiveInstanceCopyState,(hcg_key AIid, char *CopyDst)) PROTOTYPE(void ActiveInstanceSetState, (hcg_key AIid, const char * NewState)) PROTOTYPE(const char *ActiveInstanceGetName, (hcg_key AIid)) PROTOTYPE(void ActiveInstanceCopyName, (hcg_key AIid, char *CopyDst)) /* ** The following routines return active instances */ PROTOTYPE(hcg_key ActiveInstanceFirst, (void)) PROTOTYPE(hcg_key ActiveInstanceNext, (hcg_key AIid)) #endif