Parent Directory | Revision Log | Patch
smsdaemon/plugins/Plugin.cpp revision 45 by torben, Wed Jun 11 09:00:56 2008 UTC | smsdaemon/Plugin.cpp 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 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |