Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
23
Src/Wasabi/api/config/cfglist.h
Normal file
23
Src/Wasabi/api/config/cfglist.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef _CFGLIST_H
|
||||
#define _CFGLIST_H
|
||||
|
||||
#include <bfc/wasabi_std.h>
|
||||
#include <bfc/depview.h>
|
||||
#include <api/config/items/cfgitem.h>
|
||||
|
||||
class CfgList : public DependentViewerTPtr<CfgItem> {
|
||||
public:
|
||||
void addItem(CfgItem *cfgitem);
|
||||
void delItem(CfgItem *cfgitem);
|
||||
|
||||
int getNumItems();
|
||||
CfgItem *enumItem(int n);
|
||||
CfgItem *getByGuid(GUID g);
|
||||
|
||||
virtual int viewer_onItemDeleted(CfgItem *item);
|
||||
|
||||
private:
|
||||
PtrList<CfgItem> list;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue