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

Contents of /smsdaemon/Sms.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (show annotations) (download)
Mon Jun 9 18:15:53 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 403 byte(s)
Added first basic edition of smsdaemon.

So far sending & receiving sms works and a basic sample plugin is implemented.

1 #ifndef __SMS_H__
2 #define __SMS_H__
3
4 #include <string>
5
6 class SMS
7 {
8 public:
9 SMS();
10 SMS(std::string _sender, std::string _message, std::string _timestamp="");
11
12 static SMS FromRawString(const std::string& input);
13
14 std::string sms_index;
15 std::string sender;
16 std::string message;
17 std::string timestamp;
18 };
19
20
21 std::string GetSmsCommand(SMS& sms);
22 std::string GetSmsData(SMS& sms);
23
24 #endif // __SMS_H__

  ViewVC Help
Powered by ViewVC 1.1.20