2 * Source generated with ARexxBox 1.12 (May 18 1993)
3 * which is Copyright (c) 1992,1993 Michael Balzer
6 #include <exec/types.h>
7 #include <exec/memory.h>
9 #include <rexx/storage.h>
10 #include <rexx/rxslib.h>
13 /* GCC needs all struct defs */
14 #include <dos/exall.h>
15 #include <graphics/graphint.h>
16 #include <intuition/classes.h>
17 #include <devices/keymap.h>
18 #include <exec/semaphores.h>
21 #include <clib/alib_protos.h>
22 #include <clib/exec_protos.h>
23 #include <clib/dos_protos.h>
24 #include <clib/rexxsyslib_protos.h>
29 #include <pragmas/exec_lib.h>
30 #include <pragmas/dos_lib.h>
31 #include <pragmas/rexxsyslib_lib.h>
35 #include <pragmas/exec_pragmas.h>
36 #include <pragmas/dos_pragmas.h>
37 #include <pragmas/rexxsyslib_pragmas.h>
40 #endif /* __NO_PRAGMAS */
49 #define inline __inline
54 static inline int toupper( int c
)
56 return( islower(c
) ? c
- 'a' + 'A' : c
);
64 #include "MultiView.h"
67 extern struct ExecBase
*SysBase
;
68 extern struct DosLibrary
*DOSBase
;
69 extern struct RxsLib
*RexxSysBase
;
72 /* $ARB: I 1191273255 */
76 void rx_open( struct RexxHost
*host
, struct rxd_open
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
78 struct rxd_open
*rd
= *rxd
;
83 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
86 /* set your DEFAULTS here */
91 /* Insert your CODE here */
96 /* FREE your local data here */
104 /* $ARB: B 2 RELOAD */
105 void rx_reload( struct RexxHost
*host
, struct rxd_reload
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
107 struct rxd_reload
*rd
= *rxd
;
112 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
116 /* Insert your CODE here */
121 /* FREE your local data here */
127 /* $ARB: E 2 RELOAD */
129 /* $ARB: B 3 SAVEAS */
130 void rx_saveas( struct RexxHost
*host
, struct rxd_saveas
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
132 struct rxd_saveas
*rd
= *rxd
;
137 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
140 /* set your DEFAULTS here */
145 /* Insert your CODE here */
150 /* FREE your local data here */
156 /* $ARB: E 3 SAVEAS */
158 /* $ARB: B 4 PRINT */
159 void rx_print( struct RexxHost
*host
, struct rxd_print
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
161 struct rxd_print
*rd
= *rxd
;
166 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
170 /* Insert your CODE here */
175 /* FREE your local data here */
181 /* $ARB: E 4 PRINT */
183 /* $ARB: B 5 ABOUT */
184 void rx_about( struct RexxHost
*host
, struct rxd_about
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
186 struct rxd_about
*rd
= *rxd
;
191 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
195 /* Insert your CODE here */
200 /* FREE your local data here */
206 /* $ARB: E 5 ABOUT */
209 void rx_quit( struct RexxHost
*host
, struct rxd_quit
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
211 struct rxd_quit
*rd
= *rxd
;
216 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
220 /* Insert your CODE here */
225 /* FREE your local data here */
234 void rx_mark( struct RexxHost
*host
, struct rxd_mark
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
236 struct rxd_mark
*rd
= *rxd
;
241 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
245 /* Insert your CODE here */
250 /* FREE your local data here */
259 void rx_copy( struct RexxHost
*host
, struct rxd_copy
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
261 struct rxd_copy
*rd
= *rxd
;
266 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
270 /* Insert your CODE here */
275 /* FREE your local data here */
283 /* $ARB: B 9 CLEARSELECTED */
284 void rx_clearselected( struct RexxHost
*host
, struct rxd_clearselected
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
286 struct rxd_clearselected
*rd
= *rxd
;
291 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
295 /* Insert your CODE here */
300 /* FREE your local data here */
306 /* $ARB: E 9 CLEARSELECTED */
308 /* $ARB: B 10 GETTRIGGERINFO */
309 void rx_gettriggerinfo( struct RexxHost
*host
, struct rxd_gettriggerinfo
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
311 struct rxd_gettriggerinfo
*rd
= *rxd
;
316 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
319 /* set your DEFAULTS here */
324 /* Insert your CODE here */
329 /* FREE your local data here */
335 /* $ARB: E 10 GETTRIGGERINFO */
337 /* $ARB: B 11 DOTRIGGERMETHOD */
338 void rx_dotriggermethod( struct RexxHost
*host
, struct rxd_dotriggermethod
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
340 struct rxd_dotriggermethod
*rd
= *rxd
;
345 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
348 /* set your DEFAULTS here */
353 /* Insert your CODE here */
358 /* FREE your local data here */
364 /* $ARB: E 11 DOTRIGGERMETHOD */
366 /* $ARB: B 12 SCREEN */
367 void rx_screen( struct RexxHost
*host
, struct rxd_screen
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
369 struct rxd_screen
*rd
= *rxd
;
374 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
377 /* set your DEFAULTS here */
382 /* Insert your CODE here */
387 /* FREE your local data here */
393 /* $ARB: E 12 SCREEN */
395 /* $ARB: B 13 PUBSCREEN */
396 void rx_pubscreen( struct RexxHost
*host
, struct rxd_pubscreen
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
398 struct rxd_pubscreen
*rd
= *rxd
;
403 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
406 /* set your DEFAULTS here */
411 /* Insert your CODE here */
416 /* FREE your local data here */
422 /* $ARB: E 13 PUBSCREEN */
424 /* $ARB: B 14 SNAPSHOT */
425 void rx_snapshot( struct RexxHost
*host
, struct rxd_snapshot
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
427 struct rxd_snapshot
*rd
= *rxd
;
432 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
436 /* Insert your CODE here */
441 /* FREE your local data here */
447 /* $ARB: E 14 SNAPSHOT */
449 /* $ARB: B 15 GETCURRENTDIR */
450 void rx_getcurrentdir( struct RexxHost
*host
, struct rxd_getcurrentdir
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
452 struct rxd_getcurrentdir
*rd
= *rxd
;
457 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
461 /* Insert your CODE here */
466 /* FREE your local data here */
472 /* $ARB: E 15 GETCURRENTDIR */
474 /* $ARB: B 16 GETFILEINFO */
475 void rx_getfileinfo( struct RexxHost
*host
, struct rxd_getfileinfo
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
477 struct rxd_getfileinfo
*rd
= *rxd
;
482 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
486 /* Insert your CODE here */
491 /* FREE your local data here */
497 /* $ARB: E 16 GETFILEINFO */
499 /* $ARB: B 17 GETOBJECTINFO */
500 void rx_getobjectinfo( struct RexxHost
*host
, struct rxd_getobjectinfo
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
502 struct rxd_getobjectinfo
*rd
= *rxd
;
507 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
510 /* set your DEFAULTS here */
515 /* Insert your CODE here */
520 /* FREE your local data here */
526 /* $ARB: E 17 GETOBJECTINFO */
528 /* $ARB: B 18 MINIMUMSIZE */
529 void rx_minimumsize( struct RexxHost
*host
, struct rxd_minimumsize
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
531 struct rxd_minimumsize
*rd
= *rxd
;
536 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
540 /* Insert your CODE here */
545 /* FREE your local data here */
551 /* $ARB: E 18 MINIMUMSIZE */
553 /* $ARB: B 19 NORMALSIZE */
554 void rx_normalsize( struct RexxHost
*host
, struct rxd_normalsize
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
556 struct rxd_normalsize
*rd
= *rxd
;
561 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
565 /* Insert your CODE here */
570 /* FREE your local data here */
576 /* $ARB: E 19 NORMALSIZE */
578 /* $ARB: B 20 MAXIMUMSIZE */
579 void rx_maximumsize( struct RexxHost
*host
, struct rxd_maximumsize
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
581 struct rxd_maximumsize
*rd
= *rxd
;
586 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
590 /* Insert your CODE here */
595 /* FREE your local data here */
601 /* $ARB: E 20 MAXIMUMSIZE */
603 /* $ARB: B 21 WINDOWTOFRONT */
604 void rx_windowtofront( struct RexxHost
*host
, struct rxd_windowtofront
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
606 struct rxd_windowtofront
*rd
= *rxd
;
611 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
615 /* Insert your CODE here */
620 /* FREE your local data here */
626 /* $ARB: E 21 WINDOWTOFRONT */
628 /* $ARB: B 22 WINDOWTOBACK */
629 void rx_windowtoback( struct RexxHost
*host
, struct rxd_windowtoback
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
631 struct rxd_windowtoback
*rd
= *rxd
;
636 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
640 /* Insert your CODE here */
645 /* FREE your local data here */
651 /* $ARB: E 22 WINDOWTOBACK */
653 /* $ARB: B 23 ACTIVATEWINDOW */
654 void rx_activatewindow( struct RexxHost
*host
, struct rxd_activatewindow
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
656 struct rxd_activatewindow
*rd
= *rxd
;
661 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
665 /* Insert your CODE here */
670 /* FREE your local data here */
676 /* $ARB: E 23 ACTIVATEWINDOW */
678 /* $ARB: B 24 SCREENTOFRONT */
679 void rx_screentofront( struct RexxHost
*host
, struct rxd_screentofront
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
681 struct rxd_screentofront
*rd
= *rxd
;
686 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
690 /* Insert your CODE here */
695 /* FREE your local data here */
701 /* $ARB: E 24 SCREENTOFRONT */
703 /* $ARB: B 25 SCREENTOBACK */
704 void rx_screentoback( struct RexxHost
*host
, struct rxd_screentoback
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
706 struct rxd_screentoback
*rd
= *rxd
;
711 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
715 /* Insert your CODE here */
720 /* FREE your local data here */
726 /* $ARB: E 25 SCREENTOBACK */
728 /* $ARB: B 26 BEEPSCREEN */
729 void rx_beepscreen( struct RexxHost
*host
, struct rxd_beepscreen
**rxd
, long action
, struct RexxMsg
*rexxmsg
)
731 struct rxd_beepscreen
*rd
= *rxd
;
736 *rxd
= AllocVec( sizeof *rd
, MEMF_CLEAR
);
740 /* Insert your CODE here */
745 /* FREE your local data here */
751 /* $ARB: E 26 BEEPSCREEN */
755 char *ExpandRXCommand( struct RexxHost
*host
, char *command
)
757 /* Insert your ALIAS-HANDLER here */