Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/config/cfglist.h
2024-09-24 14:54:57 +02:00

24 lines
439 B
C++

#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