From 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:41 +0200 Subject: tagging tags --- ychat-0.7.0/src/modl.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 ychat-0.7.0/src/modl.h (limited to 'ychat-0.7.0/src/modl.h') diff --git a/ychat-0.7.0/src/modl.h b/ychat-0.7.0/src/modl.h new file mode 100755 index 0000000..50587cd --- /dev/null +++ b/ychat-0.7.0/src/modl.h @@ -0,0 +1,37 @@ +#include "incl.h" + +#ifndef MODL_H +#define MODL_H + +#include "maps/smap.h" + +using namespace std; + +class modl : private smap +{ +private: + static void dlclose_( dynmod* mod ); + dynmod* cache_module ( string s_name ); + void preload_modules( string s_path ); + +#ifdef NCURSES + void print_cached( int i_mods ); +#endif + +public: + modl(); + ~modl(); + + dynmod* get_module( string s_name ); + + vector* get_mod_vector() + { + vector* p_ret = get_key_vector(); + return p_ret; + } + + void unload_modules(); + void reload_modules(); +}; + +#endif -- cgit v1.2.3