home *** CD-ROM | disk | FTP | other *** search
- /*
- * Filename: GIJO.h
- * Author: Jeff Laing (jeffl@suburbia.apana.org.au)
- *
- * This file defines all public data structures associated with the
- * GIJO (Garbage In Junk Out) library.
- *
- * Copyright (C) 1995 Tristero Computer Systems Pty. Ltd. ___//|
- * ACN 067 057 809 O \\|
- */
-
- #define __GIJO__
-
- /*
- * redefine 'main' so that existing application code can be left alone
- * as much as possible. Both Metrowerks and Think C allow the user to
- * specify a prefix file which will be included before any compilation
- * so we can be included in there if need be.
- */
- #define main gijo_main
-
- /*
- * give the user a prototype for their mainline
- */
- short gijo_main(short argc, char **argv);
-
- /* we make our typelist public so people can mess with it */
- extern SFTypeList gijo_filetypes;
-
- /* resource ids that we use (with type GIJO) */
- #define GIJO_ARGS_RSRCID 128
- #define GIJO_PREF_RSRCID 129
- #define GIJO_FTYP_RSRCID 130
-
- /* structure of the 'gijo_pref' resource */
- struct gijo_pref_rsrc {
- short pict_cdef_id;
- short icon_cdef_id;
- short diam_cdef_id;
- };