7 |
#include "SpamPlugin.h" |
#include "SpamPlugin.h" |
8 |
#include "ShellExecPlugin.h" |
#include "ShellExecPlugin.h" |
9 |
#include "TogPlugin.h" |
#include "TogPlugin.h" |
10 |
|
#include "StatusPlugin.h" |
11 |
|
|
12 |
typedef std::map<std::string, Plugin*>::iterator MapIterator; |
typedef std::map<std::string, Plugin*>::iterator MapIterator; |
13 |
|
|
47 |
|
|
48 |
static SpamPlugin spam; |
static SpamPlugin spam; |
49 |
|
|
50 |
static ShellExecPlugin wake("wake", "/home/torben/bin/wake"); |
static ShellExecPlugin wake("wake", "/home/torben/bin/wake", false); |
51 |
|
|
52 |
static TogPlugin tog; |
static TogPlugin tog; |
53 |
|
|
54 |
|
static StatusPlugin status; |
55 |
|
|
56 |
for(MapIterator it = _plugins.begin(); it != _plugins.end(); ++it) |
for(MapIterator it = _plugins.begin(); it != _plugins.end(); ++it) |
57 |
{ |
{ |
58 |
Plugin* pl = (*it).second; |
Plugin* pl = (*it).second; |