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

Annotation of /smsdaemon/plugins/EchoPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (hide annotations) (download)
Sun Dec 7 20:58:41 2008 UTC (15 years, 6 months ago) by torben
File size: 293 byte(s)
Refactoring / rename:
        IGsmModem -> ISmsTransceiver
        GsmModem -> ModemTransceiver
        DebugGsmModem -> DebugTransceiver

Move DebugTransceiver to its own files.


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     : Plugin("echo", "Echoes all extra text back to the sender")
7     {
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