Mac OS 9
TerminalTools.h
Go to the documentation of this file.
1 
19 #ifndef __TERMINALTOOLS__
20 #define __TERMINALTOOLS__
21 
22 #ifndef __CONDITIONALMACROS__
23 #include <ConditionalMacros.h>
24 #endif
25 
26 #ifndef __DIALOGS__
27 #include <Dialogs.h>
28 #endif
29 
30 #ifndef __TERMINALS__
31 #include <Terminals.h>
32 #endif
33 
34 #if PRAGMA_ONCE
35 #pragma once
36 #endif
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 #if PRAGMA_IMPORT
43 #pragma import on
44 #endif
45 
46 #if PRAGMA_STRUCT_ALIGN
47 #pragma options align = mac68k
48 #elif PRAGMA_STRUCT_PACKPUSH
49 #pragma pack(push, 2)
50 #elif PRAGMA_STRUCT_PACK
51 #pragma pack(2)
52 #endif
53 
54 #if CALL_NOT_IN_CARBON
55 enum {
56  tdefType = FOUR_CHAR_CODE('tdef'),
57  tvalType = FOUR_CHAR_CODE('tval'),
58  tsetType = FOUR_CHAR_CODE('tset'),
59  tlocType = FOUR_CHAR_CODE('tloc'),
60  tscrType = FOUR_CHAR_CODE('tscr'),
61  tbndType = FOUR_CHAR_CODE('tbnd'),
62  tverType = FOUR_CHAR_CODE('vers')
63 };
64 
65 enum {
67  tmInitMsg = 0,
68  tmDisposeMsg = 1,
69  tmSuspendMsg = 2,
70  tmResumeMsg = 3,
71  tmMenuMsg = 4,
72  tmEventMsg = 5,
73  tmActivateMsg = 6,
74  tmDeactivateMsg = 7,
75  tmGetErrorStringMsg = 8,
76  tmIdleMsg = 50,
77  tmResetMsg = 51,
78  tmKeyMsg = 100,
79  tmStreamMsg = 101,
80  tmResizeMsg = 102,
81  tmUpdateMsg = 103,
82  tmClickMsg = 104,
83  tmGetSelectionMsg = 105,
84  tmSetSelectionMsg = 106,
85  tmScrollMsg = 107,
86  tmClearMsg = 108,
87  tmGetLineMsg = 109,
88  tmPaintMsg = 110,
89  tmCursorMsg = 111,
90  tmGetEnvironsMsg = 112,
91  tmDoTermKeyMsg = 113,
92  tmCountTermKeysMsg = 114,
93  tmGetIndTermKeyMsg = 115
94 };
95 
96 enum {
99  tmDefaultMsg = 1
100 };
101 
102 enum {
105  tmSsetupMsg = 1,
106  tmSitemMsg = 2,
107  tmSfilterMsg = 3,
108  tmScleanupMsg = 4
109 };
110 
111 enum {
114  tmMsetMsg = 1
115 };
116 
117 enum {
120  tmL2Intl = 1
121 };
122 
124  StringHandle theString;
125  Rect where;
126  TMSearchTypes searchType;
127  TerminalSearchCallBackUPP callBack;
128  short refnum;
129  struct TMSearchBlock *next;
130 };
131 typedef struct TMSearchBlock TMSearchBlock;
135  short count;
136  Ptr theConfig;
137  short procID;
138 };
139 typedef struct TMSetupStruct TMSetupStruct;
140 typedef TMSetupStruct *TMSetupPtr;
141 #endif
143 #if PRAGMA_STRUCT_ALIGN
144 #pragma options align = reset
145 #elif PRAGMA_STRUCT_PACKPUSH
146 #pragma pack(pop)
147 #elif PRAGMA_STRUCT_PACK
148 #pragma pack()
149 #endif
150 
151 #ifdef PRAGMA_IMPORT_OFF
152 #pragma import off
153 #elif PRAGMA_IMPORT
154 #pragma import reset
155 #endif
156 
157 #ifdef __cplusplus
158 }
159 #endif
160 
161 #endif
Set up for compiler independent conditionals.
Dialog Manager interfaces.
@ tmValidateMsg
Definition: TerminalTools.h:98
@ tmInitMsg
Definition: TerminalTools.h:67
@ tmMgetMsg
Definition: TerminalTools.h:113
@ tmSpreflightMsg
Definition: TerminalTools.h:104
@ tmL2English
Definition: TerminalTools.h:119
Communications Toolbox Terminal tool Interfaces.
Definition: Quickdraw.h:1648
Definition: MacTypes.h:520
Definition: MacTypes.h:527
Definition: TerminalTools.h:123
Definition: TerminalTools.h:133