home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c016 / 3.ddi / MEDIADIB.PAK / DIBDOC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-06  |  684 b   |  32 lines

  1. #if !defined(__DIBDOC_H)
  2. #define      __DIBDOC_H
  3.  
  4. #include <owl\docview.h>
  5. #include <owl\vbxctl.h>
  6. #include "knifevbx.h"
  7. //#include "knife.h"
  8.  
  9. class _OWLCLASS TDIBDocument : public TDocument {
  10.   public:
  11.     TDIBDocument(TDocument* parent = 0) : TDocument(parent) {}
  12.    ~TDIBDocument() {}
  13.  
  14.     // implement virtual methods of TDocument
  15.     //
  16.     BOOL    Open(int mode, const char far* path = 0);
  17.     BOOL    Close();
  18.  
  19.     BOOL    Commit(BOOL force = FALSE);
  20.     BOOL    Revert(BOOL clear = FALSE);
  21.  
  22.     BOOL    IsOpen();
  23.     HDIB    GetHDIB() {return hDIB;}
  24.     BOOL    SetHDIB(const HDIB&);
  25.  
  26.   protected:
  27.     HDIB    hDIB;
  28. };
  29.  
  30. #endif  //   __DBDOC_H
  31.  
  32.