Parent Directory | Revision Log
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 |