00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef hoops_doc
00015 #define hoops_doc
00016
00017
00018 #include "HBaseModel.h"
00019 #include "HMFCGlobals.h"
00020
00022
00027 class HMFC_API CHoopsDoc : public CDocument
00028 {
00029 protected:
00030 CHoopsDoc();
00031 DECLARE_DYNCREATE(CHoopsDoc);
00032
00033
00034 HBaseModel* m_pHoopsModel;
00039 HC_KEY m_include_key;
00040
00041
00042 public:
00043
00045 HBaseModel* GetHoopsModel( void ) { return m_pHoopsModel; }
00046
00049 HC_KEY GetIncludeKey( void) { return m_include_key; }
00050
00051
00052
00053
00054 public:
00055 virtual BOOL OnNewDocument();
00056 virtual void Serialize(CArchive& ar);
00057 #ifdef _UNICODE
00058 virtual BOOL OnOpenDocument(__wchar_t const * lpszPathName);
00059 #ifdef H_USHORT_OVERLOAD
00060 virtual BOOL OnOpenDocument(unsigned short const * lpszPathName);
00061 #endif
00062 #else
00063 virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
00064 #endif
00065
00066
00067
00068 public:
00069 virtual ~CHoopsDoc();
00070 #ifdef _DEBUG
00071 virtual void AssertValid() const;
00072 virtual void Dump(CDumpContext& dc) const;
00073 #endif
00074
00075 protected:
00076
00077
00078 protected:
00079
00080
00081
00082
00083 DECLARE_MESSAGE_MAP()
00084 };
00085
00086 #endif
00087