/[projects]/smsdaemon/plugins/TogPlugin.h
ViewVC logotype

Diff of /smsdaemon/plugins/TogPlugin.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 51 by torben, Wed Jun 11 08:25:34 2008 UTC revision 52 by torben, Wed Jun 11 12:15:14 2008 UTC
# Line 3  Line 3 
3    
4    
5  #include "Plugin.h"  #include "Plugin.h"
6    #include <map>
7    
8    struct StationInfo
9    {
10            StationInfo() {}
11            StationInfo(std::string c, std::string n)
12                    : code(c), name(n) {}
13    
14            std::string code;
15            std::string name;
16    };
17    
18  class TogPlugin : public Plugin  class TogPlugin : public Plugin
19  {  {
# Line 13  public: Line 23  public:
23          virtual void Execute(IGsmModem& modem, SMS& sms);          virtual void Execute(IGsmModem& modem, SMS& sms);
24    
25          std::string GetRealStationCode(std::string code, std::string& stationName);          std::string GetRealStationCode(std::string code, std::string& stationName);
26            std::string CreateStationList();
27    
28          virtual ~TogPlugin() {}          virtual ~TogPlugin() {}
29    private:
30            std::map<std::string, StationInfo> _stationInfo;
31  };  };
32    
33    

Legend:
Removed from v.51  
changed lines
  Added in v.52

  ViewVC Help
Powered by ViewVC 1.1.20