/[projects]/smsdaemon/DebugTransceiver.cpp
ViewVC logotype

Annotation of /smsdaemon/DebugTransceiver.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (hide annotations) (download)
Sun Dec 7 20:58:41 2008 UTC (15 years, 5 months ago) by torben
File size: 671 byte(s)
Refactoring / rename:
        IGsmModem -> ISmsTransceiver
        GsmModem -> ModemTransceiver
        DebugGsmModem -> DebugTransceiver

Move DebugTransceiver to its own files.


1 torben 149 /* using http://sourceforge.net/projects/libserial/
2     */
3    
4     #include <iostream>
5     #include <string>
6     #include <stdexcept>
7    
8     #include "DebugTransceiver.h"
9     #include "Sms.h"
10    
11    
12     using namespace std;
13    
14    
15    
16    
17    
18    
19     void DebugTransceiver::SendSms(std::string to, std::string message, bool allowMultipart)
20     {
21     _to=to;
22     _message = message;
23     _multipart = allowMultipart;
24    
25     if (_print)
26     {
27     cout << "DebugModemTransceiver::SendSms --------------" << endl;
28     cout << "To: " << to << endl;;
29     cout << "Message: " << message << endl;
30     cout << "Multipart: " << allowMultipart << endl;
31    
32     }
33     }
34    
35     std::vector<SMS> DebugTransceiver::ReadSms(bool readAll)
36     {
37     vector<SMS> result;
38     return result;
39     }

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.20