home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1993-10-27 | 683 b | 29 lines |
- DEFINITION MODULE MuiSupport;
-
- (*
- ** MuiSupport
- **
- ** done by Christian "Kochtopf" Scholz
- **
- ** just the DoMethod-PROCEDURE because there was none shipped with M2Amiga
- ** (or i haven't found it ;-)
- **
- ** Note that DoMethod returns nothing ( e.g. for setting up a Notify )
- ** and DOMethod does ( e.g. for the event-loop )
- **
- ** Then there is the fail-PROCEDURE (orig. defined in demo.h)
- ** A init-PROCEDURE is not needed.
- *)
-
- IMPORT R;
- FROM SYSTEM IMPORT ADDRESS;
-
- TYPE APTR = ADDRESS;
-
- PROCEDURE DoMethod(obj{R.A2} : APTR; msg{R.A1} : APTR);
- PROCEDURE DOMethod(obj{R.A2} : APTR; msg{R.A1} : APTR) : LONGINT;
- PROCEDURE fail(app : APTR; str : ARRAY OF CHAR);
-
- END MuiSupport.
-
-