1 | // CntrItem.h : interface of the CLispEditorCntrItem class
|
---|
2 | //
|
---|
3 |
|
---|
4 | #if !defined(AFX_CNTRITEM_H__A94C7F92_A9FA_4D1C_81DF_9305CCA2FBE5__INCLUDED_)
|
---|
5 | #define AFX_CNTRITEM_H__A94C7F92_A9FA_4D1C_81DF_9305CCA2FBE5__INCLUDED_
|
---|
6 |
|
---|
7 | #if _MSC_VER > 1000
|
---|
8 | #pragma once
|
---|
9 | #endif // _MSC_VER > 1000
|
---|
10 |
|
---|
11 | class CLispEditorDoc;
|
---|
12 | class CLispEditorView;
|
---|
13 |
|
---|
14 | class CLispEditorCntrItem : public CRichEditCntrItem
|
---|
15 | {
|
---|
16 | DECLARE_SERIAL(CLispEditorCntrItem)
|
---|
17 |
|
---|
18 | // Constructors
|
---|
19 | public:
|
---|
20 | CLispEditorCntrItem(REOBJECT* preo = NULL, CLispEditorDoc* pContainer = NULL);
|
---|
21 | // Note: pContainer is allowed to be NULL to enable IMPLEMENT_SERIALIZE.
|
---|
22 | // IMPLEMENT_SERIALIZE requires the class have a constructor with
|
---|
23 | // zero arguments. Normally, OLE items are constructed with a
|
---|
24 | // non-NULL document pointer.
|
---|
25 |
|
---|
26 | // Attributes
|
---|
27 | public:
|
---|
28 | CLispEditorDoc* GetDocument()
|
---|
29 | { return (CLispEditorDoc*)CRichEditCntrItem::GetDocument(); }
|
---|
30 | CLispEditorView* GetActiveView()
|
---|
31 | { return (CLispEditorView*)CRichEditCntrItem::GetActiveView(); }
|
---|
32 |
|
---|
33 | // ClassWizard generated virtual function overrides
|
---|
34 | //{{AFX_VIRTUAL(CLispEditorCntrItem)
|
---|
35 | public:
|
---|
36 | protected:
|
---|
37 | //}}AFX_VIRTUAL
|
---|
38 |
|
---|
39 | // Implementation
|
---|
40 | public:
|
---|
41 | ~CLispEditorCntrItem();
|
---|
42 | #ifdef _DEBUG
|
---|
43 | virtual void AssertValid() const;
|
---|
44 | virtual void Dump(CDumpContext& dc) const;
|
---|
45 | #endif
|
---|
46 | };
|
---|
47 |
|
---|
48 | /////////////////////////////////////////////////////////////////////////////
|
---|
49 |
|
---|
50 | //{{AFX_INSERT_LOCATION}}
|
---|
51 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
---|
52 |
|
---|
53 | #endif // !defined(AFX_CNTRITEM_H__A94C7F92_A9FA_4D1C_81DF_9305CCA2FBE5__INCLUDED_)
|
---|