24#include <xplc/utils.h>
25#include <xplc/uuidops.h>
34CategoryManager::CategoryManager():
38CategoryManager::~CategoryManager() {
45 const char* aString) {
49 for(cat = categories; cat; cat = cat->next) {
50 if(cat->category == aCatid)
61 for(entry = cat->entries; entry; entry = entry->next) {
62 if(entry->entry == aUuid)
75 for(cat = categories; cat; cat = cat->next) {
76 if(cat->category == aUuid)
77 return new Category(
this, cat->entries);
virtual void registerComponent(const UUID &, const UUID &, const char *)
Register a component with a category.
virtual ICategory * getCategory(const UUID &)
Get a category object for the specified category.
Let you register categories and obtain information about them.
The basic interface which is included by all other XPLC interfaces and objects.
#define UUID_MAP_END
Marks the end of an interface map.
#define UUID_MAP_BEGIN(component)
Start the interface map for "component".
#define UUID_MAP_ENTRY(iface)
Add an entry to an interface map.
The structure underlying UUIDs.