8 |
class ShellExecPlugin : public Plugin |
class ShellExecPlugin : public Plugin |
9 |
{ |
{ |
10 |
public: |
public: |
11 |
ShellExecPlugin(std::string pluginCommand, std::string exeCommand); |
ShellExecPlugin(std::string pluginCommand, std::string exeCommand, bool allowParameters); |
12 |
|
|
13 |
virtual void Execute(GsmModem& modem, SMS& sms); |
virtual void Execute(IGsmModem& modem, SMS& sms); |
14 |
|
|
15 |
virtual ~ShellExecPlugin() {} |
virtual ~ShellExecPlugin() {} |
16 |
private: |
private: |
17 |
std::string _exeCommand; |
std::string _exeCommand; |
18 |
|
bool _allowParameters; |
19 |
}; |
}; |
20 |
|
|
21 |
|
|