31 |
else |
else |
32 |
{ |
{ |
33 |
pos++; |
pos++; |
34 |
|
|
35 |
std::string data = message.substr(pos, message.length()-pos ); |
std::string data = message.substr(pos, message.length()-pos ); |
36 |
|
|
37 |
data = Util::str_trim(data); |
data = Util::str_trim(data); |
44 |
} |
} |
45 |
|
|
46 |
SMS::SMS(std::string _index, std::string _sender, std::string _message, std::string _timestamp) |
SMS::SMS(std::string _index, std::string _sender, std::string _message, std::string _timestamp) |
47 |
: sms_index(_index), sender(_sender), message(_message), timestamp(_timestamp) |
: sms_index(_index), sender(_sender), message(_message), timestamp(_timestamp) |
48 |
{ |
{ |
49 |
} |
} |
50 |
|
|