home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997: The Complete Utilities Toolkit / macworld-complete-utilities-1997.iso / Programming / Little Smalltalk v3.1.5 / C Source / Headers / CLStDoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-11  |  777 b   |  30 lines  |  [TEXT/KAHL]

  1. /*
  2.     Little Smalltalk, version 3
  3.     Written by Tim Budd, Oregon State University, July 1988
  4.  
  5.     Symantec Think Class Library interface code ©Julian Barkway, April 1994 
  6.  
  7.     CLStDoc.h
  8.     ---------
  9.     This class provides basic document related functions.
  10. */
  11.  
  12. #pragma once
  13. #include <CDocument.h>
  14. #include <CApplication.h> 
  15.  
  16. class CLStDoc : CDocument {
  17. public:
  18.     long        fileType;
  19.  
  20.     void        ILStDoc         (CApplication *aSupervisor, Boolean printable);
  21.  
  22.     CWindow     *BuildWindow     (char *title, Point *wPosition, Point *wSize, Boolean noClose);
  23.     
  24.     void        SetFileType        (long fType);
  25.     CWindow        *GetWindow        (void);
  26.     void        AskFileName        (char *promptString, Boolean save, 
  27.                                     StandardFileReply *sfReply,
  28.                                        SFTypeList fTypes, short numFTypes);
  29.     Boolean        ConfirmClose    (Boolean quitting);
  30. };