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 ), |
9 |
_exeCommand(exeCommand), |
_exeCommand(exeCommand), |
10 |
_allowParameters(allowParameters), |
_allowParameters(allowParameters), |
11 |
_returnOutput(returnOutput) |
_returnOutput(returnOutput) |
12 |
{ |
{ |
13 |
} |
} |
14 |
|
|
47 |
else |
else |
48 |
message = "OK"; |
message = "OK"; |
49 |
} |
} |
50 |
|
|
51 |
modem.SendSms(sms.GetSender(), message, false ); |
modem.SendSms(sms.GetSender(), message, false ); |
52 |
} |
} |