/[projects]/smsdaemon/plugins/ShellExecPlugin.h
ViewVC logotype

Annotation of /smsdaemon/plugins/ShellExecPlugin.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (hide annotations) (download)
Sun Dec 7 20:58:41 2008 UTC (15 years, 6 months ago) by torben
File MIME type: text/plain
File size: 449 byte(s)
Refactoring / rename:
        IGsmModem -> ISmsTransceiver
        GsmModem -> ModemTransceiver
        DebugGsmModem -> DebugTransceiver

Move DebugTransceiver to its own files.


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 107 ShellExecPlugin(std::string pluginCommand, std::string exeCommand, bool allowParameters, bool returnOutput);
12 torben 35
13 torben 149 virtual void Execute(ISmsTransceiver& modem, SMS& sms);
14 torben 35
15     virtual ~ShellExecPlugin() {}
16     private:
17     std::string _exeCommand;
18 torben 56 bool _allowParameters;
19 torben 107 bool _returnOutput;
20 torben 35 };
21    
22    
23     #endif // __SHELLEXECPLUGIN_H__

  ViewVC Help
Powered by ViewVC 1.1.20