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