00001 /* 00002 * CItemList.h 00003 * 00004 * Created on: 13.05.2010 00005 * Author: vdv 00006 */ 00007 00008 #ifndef LIBGUI_CITEMLIST_H_ 00009 #define LIBGUI_CITEMLIST_H_ 00010 00011 #include "integer.h" 00012 #include "UIStructs.h" 00013 00017 class CItemList 00018 { 00019 public: 00023 CItemList(); 00024 ~CItemList(); 00030 void AddItem(SItem* item); 00035 INT8 GetItemCount() { return m_nitem; } 00042 SItem* GetItem(INT8 index); 00043 private: 00044 // fields for list 00045 SItem** m_items; 00046 INT8 m_itemLength; 00047 INT8 m_nitem; 00048 }; 00049 00050 #endif /* LIBGUI_CITEMLIST_H_ */