// MFC ApplicationDoc.hpp : interface of the CMFCApplicationDoc class // #pragma once class CMFCApplicationSrvrItem; class CMFCApplicationDoc : public COleServerDoc { protected: // create from serialization only CMFCApplicationDoc(); DECLARE_DYNCREATE(CMFCApplicationDoc) // Attributes public: CMFCApplicationSrvrItem* GetEmbeddedItem() { return reinterpret_cast(COleServerDoc::GetEmbeddedItem()); } // Operations public: // Overrides protected: virtual COleServerItem* OnGetEmbeddedItem(); public: virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar); // Implementation public: virtual ~CMFCApplicationDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: DECLARE_MESSAGE_MAP() };