/[projects]/smsdaemon/ISmsTransceiver.h
ViewVC logotype

Diff of /smsdaemon/ISmsTransceiver.h

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

smsdaemon/IGsmModem.h revision 144 by torben, Sun Dec 7 16:27:34 2008 UTC smsdaemon/ISmsTransceiver.h revision 210 by torben, Sun Dec 21 21:14:40 2008 UTC
# Line 1  Line 1 
1  #ifndef __IGSMMODEM_H__  #ifndef __ISMSTRANSCEIVER_H__
2  #define __IGSMMODEM_H__  #define __ISMSTRANSCEIVER_H__
3    
4  #include <string>  #include <string>
5  #include <vector>  #include <vector>
6  #include "Sms.h"  #include "Sms.h"
7    
8    
9  class IGsmModem  class ISmsTransceiver
10  {  {
11  public:  public:
12          virtual void SendSms(std::string to, std::string message, bool allowMultipart) = 0;          virtual void SendSms(std::string to, std::string message, bool allowMultipart) = 0;
13          virtual std::vector<SMS> ReadSms(bool readAll = false) = 0;          virtual std::vector<SMS> ReadSms(bool readAll = false) = 0;
14    
15          virtual void DeleteSms(std::string smsIndex) = 0;          virtual ~ISmsTransceiver() {}
         virtual int DeleteAllSms() = 0;  
   
         virtual ~IGsmModem() {}  
16  };  };
17    
18    
19  #endif // __IGSMMODEM_H__  #endif // __ISMSTRANSCEIVER_H__

Legend:
Removed from v.144  
changed lines
  Added in v.210

  ViewVC Help
Powered by ViewVC 1.1.20