summaryrefslogtreecommitdiff
path: root/modl.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitca28c0e618890330d429c0dc12429255b20f0c90 (patch)
treeecc02da0184cf4e8bdba94dcdd831abdd1e51b3c /modl.h
parentb3a99e6e15af3be25394e66d1138bb2682f565c3 (diff)
tagging ychat-0.5.0ychat-0.5.0
Diffstat (limited to 'modl.h')
-rwxr-xr-xmodl.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/modl.h b/modl.h
index fec4f2e..10f93ba 100755
--- a/modl.h
+++ b/modl.h
@@ -9,24 +9,21 @@
using namespace std;
-class modl
+class modl
{
private:
- hmap<dynmod*,string>* map_mods;
- pthread_mutex_t mut_map_mods;
+ hmap<dynmod*,string>* map_mods;
+ pthread_mutex_t mut_map_mods;
- static void dlclose_( dynmod* mod );
- dynmod* cache_module ( string s_name );
- void preload_modules( string *p_path );
+ static void dlclose_( dynmod* mod );
+ dynmod* cache_module ( string s_name );
public:
- modl();
- ~modl();
+ modl();
+ ~modl();
- dynmod* get_module ( string s_name );
+ dynmod* get_module ( string s_name );
- hmap<dynmod*,string>*
- get_map_mods() { return map_mods; }
};
#endif