1 |
#include "SpamPlugin.h" |
#include "SpamPlugin.h" |
2 |
#include "IGsmModem.h" |
#include "ISmsTransceiver.h" |
3 |
#include "Sms.h" |
#include "Sms.h" |
4 |
|
|
5 |
#include "util.h" |
#include "util.h" |
18 |
|
|
19 |
const string USAGE = "Usage: spam <recipient> <nr> message"; |
const string USAGE = "Usage: spam <recipient> <nr> message"; |
20 |
|
|
21 |
void SpamPlugin::Execute(IGsmModem& modem, SMS& sms) |
void SpamPlugin::Execute(ISmsTransceiver& modem, SMS& sms) |
22 |
{ |
{ |
23 |
string cmd = sms.ExtractParameters(); |
string cmd = sms.ExtractParameters(); |
24 |
|
|