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