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

Annotation of /smsdaemon/plugins/UrlTriggerPlugin.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 193 - (hide annotations) (download)
Wed Dec 17 23:43:26 2008 UTC (15 years, 5 months ago) by torben
File MIME type: text/plain
File size: 366 byte(s)
Util.*, HttpClient.*: 
	make a new Http client based on libcurl and deprecate Util::readUrl
	
WeatherPlugin.cpp, TrainInfo.cpp:
	Make use of HttpClient
	
UrlTriggerPlugin.*:
	Make a new plugin which can trigger an external webapp. and return the response back to the requester




1 torben 193 #ifndef __URLTRIGGERPLUGIN_H__
2     #define __URLTRIGGERPLUGIN_H__
3    
4    
5     #include "Plugin.h"
6    
7    
8     class UrlTriggerPlugin : public Plugin
9     {
10     public:
11     UrlTriggerPlugin(std::string cmd, std::string url);
12    
13     virtual void Execute(ISmsTransceiver& modem, SMS& sms);
14    
15     virtual ~UrlTriggerPlugin() {}
16     private:
17     std::string command;
18     std::string URL;
19     };
20    
21    
22     #endif // __URLTRIGGERPLUGIN_H__

  ViewVC Help
Powered by ViewVC 1.1.20