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

Contents of /smsdaemon/DebugTransceiver.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196 - (show annotations) (download)
Thu Dec 18 06:53:29 2008 UTC (15 years, 4 months ago) by torben
File size: 668 byte(s)
Make pretty

astyle -t -b -N

1 /* 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