Parent Directory | Revision Log
Added first basic edition of smsdaemon. So far sending & receiving sms works and a basic sample plugin is implemented.
1 | torben | 26 | #ifndef __ECHOPLUGIN_H__ |
2 | #define __ECHOPLUGIN_H__ | ||
3 | |||
4 | #include <string> | ||
5 | |||
6 | |||
7 | #include "Plugin.h" | ||
8 | |||
9 | |||
10 | class EchoPlugin : public Plugin | ||
11 | { | ||
12 | public: | ||
13 | |||
14 | virtual void Execute(GsmModem& modem, SMS& sms); | ||
15 | |||
16 | virtual std::string GetCommand() {return "echo";} | ||
17 | |||
18 | virtual std::string GetDescription() {return "Echoes all extra text back to the sender";} | ||
19 | |||
20 | virtual ~EchoPlugin() {} | ||
21 | |||
22 | }; | ||
23 | |||
24 | |||
25 | #endif // __ECHOPLUGIN_H__ |
ViewVC Help | |
Powered by ViewVC 1.1.20 |