include/liqcell_dllcache.h

00001 
00002 #ifndef liqcell_DLLCACHE_H
00003 #define liqcell_DLLCACHE_H
00004 
00005 #include "liqbase.h"
00006 #include "liqcell.h"
00007 
00008 
00009 
00010 //################################################### dllcache class
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 //################################################### storage for the cache
00024 //static dllcacheitem *      dllcache     =NULL;
00025 //static int                 dllcache_size=0;
00026 //static int                 dllcache_used=0;
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

Generated on Sat May 23 23:03:13 2009 for libliqbase by  doxygen 1.5.1