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

Annotation of /smsdaemon/plugins/EchoPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196 - (hide annotations) (download)
Thu Dec 18 06:53:29 2008 UTC (15 years, 5 months ago) by torben
File size: 293 byte(s)
Make pretty

astyle -t -b -N

1 torben 26 #include "EchoPlugin.h"
2 torben 149 #include "ISmsTransceiver.h"
3 torben 90 #include "Sms.h"
4 torben 26
5 torben 28 EchoPlugin::EchoPlugin()
6 torben 196 : Plugin("echo", "Echoes all extra text back to the sender")
7 torben 28 {
8     }
9 torben 26
10 torben 149 void EchoPlugin::Execute(ISmsTransceiver& modem, SMS& sms)
11 torben 26 {
12 torben 142 modem.SendSms(sms.GetSender(), sms.ExtractParameters(), false );
13 torben 26 }

  ViewVC Help
Powered by ViewVC 1.1.20