3 |
|
|
4 |
|
|
5 |
#include "Plugin.h" |
#include "Plugin.h" |
6 |
|
#include <map> |
7 |
|
|
8 |
class ShellExecPlugin : public Plugin |
class ShellExecPlugin : public Plugin |
9 |
{ |
{ |
10 |
public: |
public: |
11 |
ShellExecPlugin(std::string pluginCommand, std::string exeCommand, bool allowParameters); |
ShellExecPlugin(std::map<std::string,std::string> args); |
12 |
|
|
13 |
virtual void Execute(IGsmModem& modem, SMS& sms); |
virtual void Execute(ISmsTransceiver& modem, SMS& sms); |
14 |
|
|
15 |
virtual ~ShellExecPlugin() {} |
virtual ~ShellExecPlugin() {} |
16 |
private: |
private: |
17 |
std::string _exeCommand; |
std::string _exeCommand; |
18 |
bool _allowParameters; |
bool _allowParameters; |
19 |
|
bool _returnOutput; |
20 |
}; |
}; |
21 |
|
|
22 |
|
|