summaryrefslogtreecommitdiff
path: root/src/T2DLL/CFilePluginList.h
blob: 41e80d8c48319dba853a9bdbcd471d14a29e09b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef T2DLL_CFILEPLUGINLIST_H
#define T2DLL_CFILEPLUGINLIST_H
#include "../common.h"

class AFX_CLASS_EXPORT CFilePluginList : public CList<CFilePlugin *, CFilePlugin *> {
public:
	CFilePluginList(DWORD pluginType);
	virtual ~CFilePluginList();
	virtual void AllClear();
	virtual BOOL Add(CFilePlugin* plugin);
	virtual unsigned int GetItemCount();
	virtual CFilePlugin* GetItemAt(POSITION pos);
	CFilePlugin* GetItem(DWORD id);

	DWORD GetPluginType() { return mPluginType; }

protected:
	DWORD mPluginType;
};
#endif