source: abuse/branches/win32/LispEditor/CntrItem.h @ 608

Last change on this file since 608 was 100, checked in by Sam Hocevar, 15 years ago
  • Importing an old Win32 port by Jeremy "Marauder" Scott.
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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
11class CLispEditorDoc;
12class CLispEditorView;
13
14class CLispEditorCntrItem : public CRichEditCntrItem
15{
16        DECLARE_SERIAL(CLispEditorCntrItem)
17
18// Constructors
19public:
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
27public:
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
40public:
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_)
Note: See TracBrowser for help on using the repository browser.