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

Diff of /smsdaemon/plugins/ShellExecPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 195 by torben, Mon Dec 8 21:49:49 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC
# Line 5  Line 5 
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    
# Line 47  void ShellExecPlugin::Execute(ISmsTransc Line 47  void ShellExecPlugin::Execute(ISmsTransc
47                  else                  else
48                          message = "OK";                          message = "OK";
49          }          }
50            
51          modem.SendSms(sms.GetSender(), message, false );          modem.SendSms(sms.GetSender(), message, false );
52  }  }

Legend:
Removed from v.195  
changed lines
  Added in v.196

  ViewVC Help
Powered by ViewVC 1.1.20