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

Annotation of /smsdaemon/plugins/EchoPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 63 - (hide annotations) (download)
Thu Jun 12 12:43:29 2008 UTC (16 years ago) by torben
File size: 250 byte(s)
Make GsmModem use the pdu way.

Added allowMultipart parameter to IGsmModem::SendSms()



1 torben 26 #include "EchoPlugin.h"
2     #include "GsmModem.h"
3    
4 torben 28 EchoPlugin::EchoPlugin()
5     : Plugin("echo", "Echoes all extra text back to the sender")
6     {
7     }
8 torben 26
9 torben 44 void EchoPlugin::Execute(IGsmModem& modem, SMS& sms)
10 torben 26 {
11 torben 63 modem.SendSms(sms.sender, GetSmsData(sms), false );
12 torben 26 }

  ViewVC Help
Powered by ViewVC 1.1.20