CntrItem.h
资源名称:ISQL_src.zip [点击查看]
上传用户:jsxglz
上传日期:2007-01-03
资源大小:117k
文件大小:2k
源码类别:
SQL Server
开发平台:
Visual C++
- // CntrItem.h : interface of the CInteractiveSQLCntrItem class
- //
- #if !defined(AFX_CNTRITEM_H__C1AD2410_D2B0_11D1_AE85_204C4F4F5020__INCLUDED_)
- #define AFX_CNTRITEM_H__C1AD2410_D2B0_11D1_AE85_204C4F4F5020__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- class CInteractiveSQLDoc;
- class CSQLView;
- class CInteractiveSQLCntrItem : public CRichEditCntrItem
- {
- DECLARE_SERIAL(CInteractiveSQLCntrItem)
- // Constructors
- public:
- CInteractiveSQLCntrItem(REOBJECT* preo = NULL, CInteractiveSQLDoc* pContainer = NULL);
- // Note: pContainer is allowed to be NULL to enable IMPLEMENT_SERIALIZE.
- // IMPLEMENT_SERIALIZE requires the class have a constructor with
- // zero arguments. Normally, OLE items are constructed with a
- // non-NULL document pointer.
- // Attributes
- public:
- CInteractiveSQLDoc* GetDocument()
- { return (CInteractiveSQLDoc*)CRichEditCntrItem::GetDocument(); }
- CSQLView* GetActiveView()
- { return (CSQLView*)CRichEditCntrItem::GetActiveView(); }
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CInteractiveSQLCntrItem)
- public:
- protected:
- //}}AFX_VIRTUAL
- // Implementation
- public:
- ~CInteractiveSQLCntrItem();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CNTRITEM_H__C1AD2410_D2B0_11D1_AE85_204C4F4F5020__INCLUDED_)