home *** CD-ROM | disk | FTP | other *** search
- #if !defined(__DIBDOC_H)
- #define __DIBDOC_H
-
- #include <owl\docview.h>
- #include <owl\vbxctl.h>
- #include "knifevbx.h"
- //#include "knife.h"
-
- class _OWLCLASS TDIBDocument : public TDocument {
- public:
- TDIBDocument(TDocument* parent = 0) : TDocument(parent) {}
- ~TDIBDocument() {}
-
- // implement virtual methods of TDocument
- //
- BOOL Open(int mode, const char far* path = 0);
- BOOL Close();
-
- BOOL Commit(BOOL force = FALSE);
- BOOL Revert(BOOL clear = FALSE);
-
- BOOL IsOpen();
- HDIB GetHDIB() {return hDIB;}
- BOOL SetHDIB(const HDIB&);
-
- protected:
- HDIB hDIB;
- };
-
- #endif // __DBDOC_H
-