1 |
#include "ShellExecPlugin.h" |
#include "ShellExecPlugin.h" |
2 |
#include "IGsmModem.h" |
#include "ISmsTransceiver.h" |
3 |
#include "Sms.h" |
#include "Sms.h" |
4 |
|
|
5 |
#include "util.h" |
#include "Util.h" |
6 |
|
|
7 |
ShellExecPlugin::ShellExecPlugin(std::string pluginCommand, std::string exeCommand, bool allowParameters, bool returnOutput) |
ShellExecPlugin::ShellExecPlugin(std::string pluginCommand, std::string exeCommand, bool allowParameters, bool returnOutput) |
8 |
: Plugin(pluginCommand, std::string("ShellExec: ")+exeCommand ), |
: Plugin(pluginCommand, std::string("ShellExec: ")+exeCommand ), |
12 |
{ |
{ |
13 |
} |
} |
14 |
|
|
15 |
void ShellExecPlugin::Execute(IGsmModem& modem, SMS& sms) |
void ShellExecPlugin::Execute(ISmsTransceiver& modem, SMS& sms) |
16 |
{ |
{ |
17 |
std::string command = _exeCommand; |
std::string command = _exeCommand; |
18 |
|
|