Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

38 lines
578 B
C++

#ifndef _TINTERFACELIST_H__
#define _TINTERFACELIST_H__
#if _MSC_VER > 1000
#pragma once
#endif
class TInterfaceList
{
public:
TInterfaceList();
virtual ~TInterfaceList();
int GetSize() const;
void RemoveAll();
TInterface* GetAt(int nIndex) const;
void SetAt(int nIndex, TInterface& intf);
int Add(TInterface& intf);
TInterface* operator[](int nIndex) const;
TInterface*& operator[](int nIndex);
void RemoveAt(int nIndex);
void Remove(CPtrList& arRemoves);
void EraseAll();
protected:
CPtrArray m_arIntfPtrs;
};
#endif //_TINTERFACELIST_H__