/[projects]/smsdaemon/Plugin.cpp
ViewVC logotype

Diff of /smsdaemon/Plugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by torben, Tue Jun 10 05:34:26 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC
# Line 1  Line 1 
1  #include "Plugin.h"  #include "Plugin.h"
2  #include "common.h"  #include "Common.h"
3    
4    #include "PluginManager.h"
5    
6    
7  Plugin::Plugin(std::string cmd, std::string desc)  Plugin::Plugin(std::string cmd, std::string desc)
8  : _command(cmd), _description(desc)                  : _command(cmd), _description(desc)
9  {  {
10          Common* cmn = Common::instance();          Common* cmn = Common::instance();
11    
12          cmn->pluginManager.AddPlugin(this);          cmn->GetPluginManager()->AddPlugin(this);
13  }  }
14    

Legend:
Removed from v.32  
changed lines
  Added in v.196

  ViewVC Help
Powered by ViewVC 1.1.20