Parent Directory | Revision Log | Patch
revision 176 by torben, Thu Dec 11 22:32:58 2008 UTC | revision 178 by torben, Fri Dec 12 12:13:05 2008 UTC | |
---|---|---|
# | Line 18 struct SmsPart | Line 18 struct SmsPart |
18 | std::string message; | std::string message; |
19 | std::string sender; | std::string sender; |
20 | short group,count,id; | short group,count,id; |
21 | ||
22 | bool operator<(const SmsPart& p2) const | |
23 | { | |
24 | return (id < p2.id); | |
25 | } | |
26 | bool operator==(const SmsPart& p2) const | |
27 | { | |
28 | return (message==p2.message && sender==p2.sender && group==p2.group && count==p2.count && id==p2.id); | |
29 | } | |
30 | ||
31 | }; | }; |
32 | ||
33 | namespace SmsPdu | namespace SmsPdu |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |