From c8b2ef7b899766d04562f7e04a84251cea8fa701 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:44 +0200 Subject: tagging ychat-0.8.0 --- src/modl.h | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'src/modl.h') diff --git a/src/modl.h b/src/modl.h index 716944b..73abd58 100755 --- a/src/modl.h +++ b/src/modl.h @@ -7,31 +7,33 @@ using namespace std; -class modl : private shashmap +class modl : public shashmap { private: - static void dlclose_( dynmod* mod ); - dynmod* cache_module ( string s_name, bool b_print_sys_msg ); - void preload_modules( string s_path ); + static void dlclose_( dynmod* mod ); + dynmod* cache_module ( string s_name, bool b_print_sys_msg ); + void preload_modules( string s_path ); #ifdef NCURSES - void print_cached( int i_mods ); + + void print_cached( int i_mods ); #endif public: - modl(); - ~modl(); + modl(); + ~modl(); - dynmod* get_module( string s_name ); + dynmod* get_module( string s_name ); + dynmod* get_module( string s_name, string s_user ); - vector* get_mod_vector() - { - vector* p_ret = get_key_vector(); - return p_ret; - } + vector* get_mod_vector() + { + vector* p_ret = get_key_vector(); + return p_ret; + } - void unload_modules(); - void reload_modules(); + void unload_modules(); + void reload_modules(); }; #endif -- cgit v1.2.3