listex.h

来自「一个完整的编辑器的代码(很值得参考」· C头文件 代码 · 共 37 行

H
37
字号

#ifndef __LISTEX_H__INCLUDED__
#define __LISTEX_H__INCLUDED__

/////////////////////////////////////////////////////////////////////////////

#pragma warning ( disable : 4512 )
template <class TYPE, class ARG_TYPE >
class CListEx : public CList < TYPE, ARG_TYPE >
  {
public :
    // Construction
    CListEx (int nBlockSize = 10, BOOL bDelete = FALSE);

    // Operations
    void DestroyAll ();

    // Attributes
    BOOL m_bDelete;

    // Implementation
protected :

public :
    ~CListEx ();
  };
#pragma warning ( default : 4512 )

/////////////////////////////////////////////////////////////////////////////

#include "listex.inl"
#include "listex.hpp"

/////////////////////////////////////////////////////////////////////////////

#endif // __LISTEX_H__INCLUDED__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?