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

Annotation of /smsdaemon/plugins/EchoPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142 - (hide annotations) (download)
Sun Dec 7 15:51:02 2008 UTC (15 years, 5 months ago) by torben
File size: 281 byte(s)
Refacerored SMS class

1 torben 26 #include "EchoPlugin.h"
2 torben 90 #include "IGsmModem.h"
3     #include "Sms.h"
4 torben 26
5 torben 28 EchoPlugin::EchoPlugin()
6     : Plugin("echo", "Echoes all extra text back to the sender")
7     {
8     }
9 torben 26
10 torben 44 void EchoPlugin::Execute(IGsmModem& 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