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

Diff of /smsdaemon/Sms.cpp

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

revision 142 by torben, Sun Dec 7 15:51:02 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC
# Line 3  Line 3 
3  #include <vector>  #include <vector>
4    
5  #include "Sms.h"  #include "Sms.h"
6  #include "util.h"  #include "Util.h"
7  #include "SmsPdu.h"  #include "SmsPdu.h"
8    
9    
# Line 31  std::string SMS::ExtractParameters() Line 31  std::string SMS::ExtractParameters()
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);
# Line 44  SMS::SMS() Line 44  SMS::SMS()
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    

Legend:
Removed from v.142  
changed lines
  Added in v.196

  ViewVC Help
Powered by ViewVC 1.1.20