9 |
|
|
10 |
#include "Sms.h" |
#include "Sms.h" |
11 |
|
|
12 |
class GsmModem; |
class IGsmModem; |
13 |
|
|
14 |
class Plugin |
class Plugin |
15 |
{ |
{ |
21 |
* Note: the plugin is responsible for parsing and validating the arguments, |
* Note: the plugin is responsible for parsing and validating the arguments, |
22 |
* and if necessary write a error message back to the user. |
* and if necessary write a error message back to the user. |
23 |
*/ |
*/ |
24 |
virtual void Execute(GsmModem& modem, SMS& sms) = 0; |
virtual void Execute(IGsmModem& modem, SMS& sms) = 0; |
25 |
|
|
26 |
/* |
/* |
27 |
* returns the command that triggers this plugin, for example: "myplugin" |
* returns the command that triggers this plugin, for example: "myplugin" |