home *** CD-ROM | disk | FTP | other *** search
- /***************************************************************
- * file: LOADSAVE.H
- * purpose: defines and prototypes for loadsave.c
- * copyright: 1992 by David Weber. All rights reserved.
- * This software can be used for any purpose as object, library or executable.
- * It cannot be sold for profit as source code.
- * history:
- * 01-15-92 - initial code
- * 01-31-93 - this code is now obsolete, see the CPP gui package
- **************************************************************/
-
- /* prototypes */
- short loadsave(char *search,char *choice,unsigned short status); /* get a file name from the user */
- short loadsave_add_button(BUTTON *button,short (*message_handler)(MESSAGE *)); /* adds extra buttons to loadsave dialog */
- short loadsave_button_location(BUTTON *button,short *loc_x,short *loc_y); /* get position of an extra button */
-
- /* defines */
- #define LOADSAVE_MAX_BUTTONS 4 /* maximum number of buttons that can be added */
- #define LOADSAVE_LOAD 1 /* bit flags for loadsave() status */
- #define LOADSAVE_SAVE 2
- #define LOADSAVE_VERIFY 4
-
- #ifndef FILENAME_MAX
- #define FILENAME_MAX 79 /* MSDOS path name maximum length */
- #endif