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

Contents of /smsdaemon/plugins/EchoPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations) (download)
Wed Jun 11 08:25:34 2008 UTC (15 years, 11 months ago) by torben
File size: 243 byte(s)
Intermediate code sync.

TrainInfo.*
TogPlugin.*: plugin to get train departure info from bane.dk

SpamPlugin.*
ShellExecPlugin.*
EchoPlugin.*
Plugin.h
GsmModem.h: implemented IGsmModem in order to make offline Plugin testing easier.


1 #include "EchoPlugin.h"
2 #include "GsmModem.h"
3
4 EchoPlugin::EchoPlugin()
5 : Plugin("echo", "Echoes all extra text back to the sender")
6 {
7 }
8
9 void EchoPlugin::Execute(IGsmModem& modem, SMS& sms)
10 {
11 modem.SendSms(sms.sender, GetSmsData(sms) );
12 }

  ViewVC Help
Powered by ViewVC 1.1.20