#ifndef T2DLL_T2TOOLDEFLIST_H #define T2DLL_T2TOOLDEFLIST_H #include "../common.h" #include "LArray.h" class AFX_CLASS_EXPORT T2ToolDefList : public LArray { public: T2ToolDefList(int inCategory); virtual ~T2ToolDefList(); void AllClear(); void Regist(T2ToolDef* inToolDef); void Add(T2ToolDef* inToolDef); unsigned int GetItemCount(); T2ToolDef* GetItemAt(int inIndex); T2TenantDef* FindFloor(); T2TenantDef* FindTenantDef(int inToolType); T2MoverDef* FindMoverDef(int inToolType); int GetCategory() { return mCategory; } int GetCurrentItem() { return mCurrentItem; } void SetCurrentItem(int inItem) { mCurrentItem = inItem; } int GetCurrentVariant() { return mCurrentVariant; } void SetCurrentVariant(int inVariant) { mCurrentVariant = inVariant; } protected: int mCategory; int mCurrentItem; int mCurrentVariant; }; #endif