Parent Directory | Revision Log
Allow clients of ShellExecPlugin to specify whether user specified arguments to the commands should be allowed
1 | torben | 35 | #ifndef __SHELLEXECPLUGIN_H__ |
2 | #define __SHELLEXECPLUGIN_H__ | ||
3 | |||
4 | |||
5 | #include "Plugin.h" | ||
6 | |||
7 | |||
8 | class ShellExecPlugin : public Plugin | ||
9 | { | ||
10 | public: | ||
11 | torben | 56 | ShellExecPlugin(std::string pluginCommand, std::string exeCommand, bool allowParameters); |
12 | torben | 35 | |
13 | torben | 44 | virtual void Execute(IGsmModem& modem, SMS& sms); |
14 | torben | 35 | |
15 | virtual ~ShellExecPlugin() {} | ||
16 | private: | ||
17 | std::string _exeCommand; | ||
18 | torben | 56 | bool _allowParameters; |
19 | torben | 35 | }; |
20 | |||
21 | |||
22 | #endif // __SHELLEXECPLUGIN_H__ |
ViewVC Help | |
Powered by ViewVC 1.1.20 |