#pragma once #include "common.h" class AFX_EXT_CLASS CFilePluginList : public CList { 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; };