/[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 44 by torben, Wed Jun 11 08:25:34 2008 UTC revision 323 by torben, Wed Sep 16 09:08:40 2009 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(int i, std::string n);
12    
13            int id;
14            std::string name;
15    };
16    
17  class TogPlugin : public Plugin  class TogPlugin : public Plugin
18  {  {
19  public:  public:
20          TogPlugin();          TogPlugin();
21    
22          virtual void Execute(IGsmModem& modem, SMS& sms);          virtual void Execute(ISmsTransceiver& modem, SMS& sms);
23    
24          std::string GetRealStationCode(std::string code, std::string& stationName);          int GetStationId(std::string code, std::string& stationName);
25            std::string CreateStationList();
26    
27          virtual ~TogPlugin() {}          virtual ~TogPlugin() {}
28    private:
29            std::map<std::string, StationInfo> _stationInfo;
30  };  };
31    
32    

Legend:
Removed from v.44  
changed lines
  Added in v.323

  ViewVC Help
Powered by ViewVC 1.1.20