source: trunk/MFCtooling/TestProg/TestProgDoc.h @ 210

Last change on this file since 210 was 32, checked in by sherbold, 14 years ago
File size: 844 bytes
Line 
1// TestProgDoc.h : interface of the CTestProgDoc class
2//
3
4
5#pragma once
6
7
8class CTestProgSrvrItem;
9
10class CTestProgDoc : public COleServerDoc
11{
12protected: // create from serialization only
13        CTestProgDoc();
14        DECLARE_DYNCREATE(CTestProgDoc)
15
16// Attributes
17public:
18        CTestProgSrvrItem* GetEmbeddedItem()
19                { return reinterpret_cast<CTestProgSrvrItem*>(COleServerDoc::GetEmbeddedItem()); }
20
21// Operations
22public:
23
24// Overrides
25protected:
26        virtual COleServerItem* OnGetEmbeddedItem();
27public:
28        virtual BOOL OnNewDocument();
29        virtual void Serialize(CArchive& ar);
30
31// Implementation
32public:
33        virtual ~CTestProgDoc();
34#ifdef _DEBUG
35        virtual void AssertValid() const;
36        virtual void Dump(CDumpContext& dc) const;
37#endif
38
39protected:
40
41// Generated message map functions
42protected:
43        DECLARE_MESSAGE_MAP()
44};
45
46
Note: See TracBrowser for help on using the repository browser.