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

Contents of /smsdaemon/plugins/ShellExecPlugin.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35 - (show annotations) (download)
Tue Jun 10 14:38:59 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 356 byte(s)
Finished PluginManager::AddPlugin() so that the plugins can register them selves.

Added a plugin for executing an external program.


1 #ifndef __SHELLEXECPLUGIN_H__
2 #define __SHELLEXECPLUGIN_H__
3
4
5 #include "Plugin.h"
6
7
8 class ShellExecPlugin : public Plugin
9 {
10 public:
11 ShellExecPlugin(std::string pluginCommand, std::string exeCommand);
12
13 virtual void Execute(GsmModem& modem, SMS& sms);
14
15 virtual ~ShellExecPlugin() {}
16 private:
17 std::string _exeCommand;
18 };
19
20
21 #endif // __SHELLEXECPLUGIN_H__

  ViewVC Help
Powered by ViewVC 1.1.20