1 |
#ifndef __ECHOPLUGIN_H__ |
#ifndef __ECHOPLUGIN_H__ |
2 |
#define __ECHOPLUGIN_H__ |
#define __ECHOPLUGIN_H__ |
3 |
|
|
|
#include <string> |
|
|
|
|
4 |
|
|
5 |
#include "Plugin.h" |
#include "Plugin.h" |
6 |
|
|
8 |
class EchoPlugin : public Plugin |
class EchoPlugin : public Plugin |
9 |
{ |
{ |
10 |
public: |
public: |
11 |
|
EchoPlugin(); |
12 |
|
|
13 |
virtual void Execute(GsmModem& modem, SMS& sms); |
virtual void Execute(ISmsTransceiver& modem, SMS& sms); |
|
|
|
|
virtual std::string GetCommand() {return "echo";} |
|
|
|
|
|
virtual std::string GetDescription() {return "Echoes all extra text back to the sender";} |
|
14 |
|
|
15 |
virtual ~EchoPlugin() {} |
virtual ~EchoPlugin() {} |
16 |
|
|