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

Contents of /smsdaemon/plugins/EchoPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Move DebugTransceiver to its own files.


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

  ViewVC Help
Powered by ViewVC 1.1.20