blob: fac697de8a3f7bb21c37ee5d1f9289ccf946f7e7 (
plain) (
tree)
|
|
#ifndef DEF_VIRTUALFOLDER_CL_H
#define DEF_VIRTUALFOLDER_CL_H
#include "Folder_if.h"
#include <lib/earray.h>
extern Class VirtualFolderClass;
struct _VirtualFolder {
Object obj;
int child_count;
struct earray children;
};
struct _VirtualFolder_child {
char* name;
Object *obj;
};
Object *VirtualFolder_new();
void VirtualFolder_delete(Object* obj);
Object* VirtualFolder_findChild(Object* object, const char* name);
int VirtualFolder_GetChildNameAt(Object *object, struct process* process, size_t a, size_t b, size_t c, size_t d);
int VirtualFolder_addChild(Object *object, struct process* process, size_t a, size_t b, size_t c, size_t d);
#endif
|