home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / datafile / _btriscbsd / h / save < prev   
Encoding:
Text File  |  1996-02-17  |  2.1 KB  |  62 lines

  1. /*
  2.  * Copyright (c) 1995 Mark Brinicombe.
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms, with or without
  6.  * modification, are permitted provided that the following conditions
  7.  * are met:
  8.  * 1. Redistributions of source code must retain the above copyright
  9.  *    notice, this list of conditions and the following disclaimer.
  10.  * 2. Redistributions in binary form must reproduce the above copyright
  11.  *    notice, this list of conditions and the following disclaimer in the
  12.  *    documentation and/or other materials provided with the distribution.
  13.  * 3. All advertising materials mentioning features or use of this software
  14.  *    must display the following acknowledgement:
  15.  *    This product includes software developed by Mark Brinicombe.
  16.  * 4. The name of the company nor the name of the author may be used to
  17.  *    endorse or promote products derived from this software without specific
  18.  *    prior written permission.
  19.  *
  20.  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
  21.  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  22.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  23.  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  24.  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  25.  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  26.  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  27.  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  28.  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
  29.  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30.  *
  31.  * RiscBSD kernel project
  32.  *
  33.  * save.h
  34.  *
  35.  * Created      : 26/04/95
  36.  * Last updated : 17/02/96
  37.  */
  38.  
  39. #ifndef __save_h
  40. #define __save_h
  41.  
  42. #include "wimp.h"
  43.  
  44. struct save_data {
  45.     int id;
  46.     int filetype;
  47.     window_handle window;
  48.     char filename[256];
  49.     void (*function)(struct save_data *data);
  50. };
  51.  
  52. typedef struct save_data save_data;
  53.  
  54. #define SAVE_DRAWFILE 0x00
  55. #define SAVE_PENS     0x01
  56.  
  57. #define OS_File 0x00000008
  58.  
  59. #endif /* __save_h */
  60.  
  61. /* End of save.h */
  62.