summaryrefslogtreecommitdiff
path: root/src/T2DLL/CFilePluginList.h
blob: 9eb31b1dc68ab98ee61714ef3972d7db865d2bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#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;
};