home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / editor / dig12.cpt / Document / CBrowserDoc.h < prev   
Encoding:
C/C++ Source or Header  |  1992-03-10  |  702 b   |  32 lines

  1. /****
  2.  * CBrowserDoc.h
  3.  *
  4.  *    Document class for a typical application.
  5.  *
  6.  ****/
  7.  
  8. #define    _H_CBrowserDoc            /* Include this file only once */
  9. #include <CDocument.h>
  10. #include <CApplication.h> 
  11. #include "CDisplayText.h"
  12. #include "CDisplayIndex.h"
  13. #include "Browser.h"
  14.  
  15. struct CBrowserDoc : CDocument {
  16.  
  17.     long index_displayed;
  18.     CDisplayIndex    *itsListIndex;
  19.     CDisplayText    *itsMessage;
  20.  
  21.                 /** Construction **/
  22.     void        IBrowserDoc(CApplication *aSupervisor, Boolean printable);
  23.  
  24.     void        NewFile(void);
  25.     void        OpenFile(SFReply *macSFReply);
  26.     void        Dispose();
  27.     void        BuildWindow(BrowserDir dir);
  28.  
  29.     virtual void    DoCommand(long theCommand);
  30.     void        UpdateMenus();
  31.     Boolean        ConfirmClose(Boolean quitting);
  32. };