00001
00002 #ifndef liqcell_DLLCACHE_H
00003 #define liqcell_DLLCACHE_H
00004
00005 #include "liqbase.h"
00006 #include "liqcell.h"
00007
00008
00009
00010
00011
00012
00013 typedef struct dllcacheitem
00014 {
00015 char *key;
00016 char *filename;
00017 void *dll;
00018 liqcell *(*constructor)();
00019 }
00020 dllcacheitem;
00021
00022
00023
00024
00025
00026
00027
00032 int dllcache_init();
00033
00038 int dllcache_close();
00039
00040 int dllcache_scan_dllfile(char *dll_filename);
00041
00042 int dllcache_scan_folder(char *widgetpath);
00043
00048 int dllcache_scan();
00049
00054 liqcell *dllcache_runconstructor(char *classname);
00055
00056 dllcacheitem *dllcache_getbase();
00057 int dllcache_getsize();
00058 int dllcache_getused();
00059
00060
00061 #endif