home *** CD-ROM | disk | FTP | other *** search
- /*
- File: TerminalTools.h
-
- Copyright: © 1984-1993 by Apple Computer, Inc., all rights reserved.
-
- WARNING
- This file was auto generated by the interfacer tool. Modifications
- must be made to the master file.
-
- */
-
- #ifndef __TERMINALTOOLS__
- #define __TERMINALTOOLS__
-
- #ifndef __DIALOGS__
- #include <Dialogs.h>
- /* #include <Windows.h> */
- /* #include <Quickdraw.h> */
- /* #include <Types.h> */
- /* #include <ConditionalMacros.h> */
- /* #include <MixedMode.h> */
- /* #include <Traps.h> */
- /* #include <QuickdrawText.h> */
- /* #include <IntlResources.h> */
- /* #include <Events.h> */
- /* #include <OSUtils.h> */
- /* #include <Controls.h> */
- /* #include <Menus.h> */
- /* #include <TextEdit.h> */
- #endif
-
- #ifndef __TERMINALS__
- #include <Terminals.h>
- /* #include <CTBUtilities.h> */
- /* #include <Memory.h> */
- /* #include <StandardFile.h> */
- /* #include <Files.h> */
- /* #include <SegLoad.h> */
- /* #include <AppleTalk.h> */
- /* #include <Connections.h> */
- #endif
-
- #define tdefType 'tdef'
-
- #define tvalType 'tval'
-
- #define tsetType 'tset'
-
- #define tlocType 'tloc'
-
- #define tscrType 'tscr'
-
- #define tbndType 'tbnd'
-
- #define tverType 'vers'
-
- enum {
- /* messages */
- tmInitMsg = 0,
- tmDisposeMsg = 1,
- tmSuspendMsg = 2,
- tmResumeMsg = 3,
- tmMenuMsg = 4,
- tmEventMsg = 5,
- tmActivateMsg = 6,
- tmDeactivateMsg = 7,
- tmGetErrorStringMsg = 8,
- tmIdleMsg = 50,
- tmResetMsg = 51,
- tmKeyMsg = 100,
- tmStreamMsg = 101,
- tmResizeMsg = 102,
- tmUpdateMsg = 103,
- tmClickMsg = 104,
- tmGetSelectionMsg = 105,
- tmSetSelectionMsg = 106,
- tmScrollMsg = 107,
- tmClearMsg = 108
- };
-
- enum {
- tmGetLineMsg = 109,
- tmPaintMsg = 110,
- tmCursorMsg = 111,
- tmGetEnvironsMsg = 112,
- tmDoTermKeyMsg = 113,
- tmCountTermKeysMsg = 114,
- tmGetIndTermKeyMsg = 115,
- /* messages for validate DefProc */
- tmValidateMsg = 0,
- tmDefaultMsg = 1,
- /* messages for Setup DefProc */
- tmSpreflightMsg = 0,
- tmSsetupMsg = 1,
- tmSitemMsg = 2,
- tmSfilterMsg = 3,
- tmScleanupMsg = 4,
- /* messages for scripting defProc */
- tmMgetMsg = 0,
- tmMsetMsg = 1,
- /* messages for localization defProc */
- tmL2English = 0,
- tmL2Intl = 1
- };
-
- #if defined(powerc) || defined (__powerc)
- #pragma options align=mac68k
- #endif
- struct TMSearchBlock {
- StringHandle theString;
- Rect where;
- TMSearchTypes searchType;
- TerminalSearchCallBackUPP callBack;
- short refnum;
- struct TMSearchBlock *next;
- };
- #if defined(powerc) || defined(__powerc)
- #pragma options align=reset
- #endif
-
- typedef struct TMSearchBlock TMSearchBlock;
-
- typedef TMSearchBlock *TMSearchBlockPtr;
-
- #if defined(powerc) || defined (__powerc)
- #pragma options align=mac68k
- #endif
- struct TMSetupStruct {
- DialogPtr theDialog;
- short count;
- Ptr theConfig;
- short procID; /* procID of the tool */
- };
- #if defined(powerc) || defined(__powerc)
- #pragma options align=reset
- #endif
-
- typedef struct TMSetupStruct TMSetupStruct;
-
- typedef TMSetupStruct *TMSetupPtr;
-
- #endif
-
-