/* * * (c) COPYRIGHT INRIA, 1996. * Please first read the full copyright statement in file COPYRIGHT. * */ #ifndef THOT_APPDIALOGUE_VAR #define THOT_APPDIALOGUE_VAR extern int UserErrorCode; /* Table of internal optional Thot operations (actions) */ /* Calling an action: (*ThotLocalActions[i])(ref, datatype, data); */ THOT_EXPORT Proc ThotLocalActions[MAX_LOCAL_ACTIONS]; #ifndef NODISPLAY #ifdef _WINDOWS #include #ifndef __GNUC__ #include #endif #endif /* _WINDOWS */ THOT_EXPORT ThotAppContext app_cont; #ifdef _WINDOWS THOT_EXPORT WNDCLASS RootShell; #else /* _WINDOWS */ THOT_EXPORT ThotWidget RootShell; #endif /* !_WINDOWS */ THOT_EXPORT Proc CurrentCallbackAPI; /* Table of actions related to the menus attached to Application and */ /* Documents windows. */ /* For each action, the following items are stored: name, address, */ /* keyboard equivalent, windows supposed to call the action. */ /* Calling an action: (*actionptr->Call_Action)(document, view); */ THOT_EXPORT Action_Ctl *MenuActionList; THOT_EXPORT int MaxMenuAction; /* return events for Application and Document windows */ THOT_EXPORT int ClickIsDone; THOT_EXPORT char* servername ; #endif /* !NODISPLAY */ #endif /* THOT_APPDIALOGUE_VAR */