Parent Directory | Revision Log
Make TogPlugin less sensible to editor conversion errors
1 | #ifndef __TOGPLUGIN_H__ |
2 | #define __TOGPLUGIN_H__ |
3 | |
4 | |
5 | #include "Plugin.h" |
6 | #include <map> |
7 | |
8 | struct StationInfo |
9 | { |
10 | StationInfo() {} |
11 | StationInfo(std::string c, std::string n); |
12 | |
13 | std::string code; |
14 | std::string name; |
15 | }; |
16 | |
17 | class TogPlugin : public Plugin |
18 | { |
19 | public: |
20 | TogPlugin(); |
21 | |
22 | virtual void Execute(ISmsTransceiver& modem, SMS& sms); |
23 | |
24 | std::string GetRealStationCode(std::string code, std::string& stationName); |
25 | std::string CreateStationList(); |
26 | |
27 | virtual ~TogPlugin() {} |
28 | private: |
29 | std::map<std::string, StationInfo> _stationInfo; |
30 | }; |
31 | |
32 | |
33 | #endif // __TOGPLUGIN_H__ |
ViewVC Help | |
Powered by ViewVC 1.1.20 |