builder.h | builder.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file builder.h | /// \file builder.h | |||
/// Virtual protocol packet builder wrapper | /// Virtual protocol packet builder wrapper | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
common.h | common.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file common.h | /// \file common.h | |||
/// General header for the Barry library | /// General header for the Barry library | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
controller.h | controller.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file controller.h | /// \file controller.h | |||
/// High level BlackBerry API class | /// High level BlackBerry API class | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
controllertmpl.h | controllertmpl.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file controllertmpl.h | /// \file controllertmpl.h | |||
/// Ease of use templates for the controller class | /// Ease of use templates for the controller class | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
data.h | data.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file data.h | /// \file data.h | |||
/// Class to deal with pre-saved data files | /// Class to deal with pre-saved data files | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
error.h | error.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file error.h | /// \file error.h | |||
/// Common exception classes for the Barry library | /// Common exception classes for the Barry library | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ldif.h | ldif.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file ldif.h | /// \file ldif.h | |||
/// Routines for reading and writing LDAP LDIF data. | /// Routines for reading and writing LDAP LDIF data. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
parser.h | parser.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file parser.h | /// \file parser.h | |||
/// Virtual parser wrapper | /// Virtual parser wrapper | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
probe.h | probe.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file probe.h | /// \file probe.h | |||
/// USB Blackberry detection routines | /// USB Blackberry detection routines | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
protocol.h | protocol.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file protocol.h | /// \file protocol.h | |||
/// USB Blackberry bulk protocol API constants | /// USB Blackberry bulk protocol API constants | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_calendar.h | r_calendar.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_calendar.h | /// \file r_calendar.h | |||
/// Blackberry database record parser class for calndar records. | /// Blackberry database record parser class for calndar records. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_contact.h | r_contact.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_contact.h | /// \file r_contact.h | |||
/// Blackberry database record parser class for contact records. | /// Blackberry database record parser class for contact records. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_folder.h | r_folder.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_folder.h | /// \file r_folder.h | |||
/// Record parsing class for the Folder database. | /// Record parsing class for the Folder database. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
Copyright (C) 2007, Brian Edginton | Copyright (C) 2007, Brian Edginton | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_memo.h | r_memo.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_memo.h | /// \file r_memo.h | |||
/// Record parsing class for the memo database. | /// Record parsing class for the memo database. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
Copyright (C) 2007, Brian Edginton | Copyright (C) 2007, Brian Edginton | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_message.h | r_message.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_message.h | /// \file r_message.h | |||
/// Blackberry database record parser class for email records. | /// Blackberry database record parser class for email records. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
skipping to change at line 57 | skipping to change at line 57 | |||
EmailAddress From; | EmailAddress From; | |||
EmailAddress To; | EmailAddress To; | |||
EmailAddress Cc; | EmailAddress Cc; | |||
EmailAddress Bcc; | EmailAddress Bcc; | |||
EmailAddress Sender; | EmailAddress Sender; | |||
EmailAddress ReplyTo; | EmailAddress ReplyTo; | |||
std::string Subject; | std::string Subject; | |||
std::string Body; | std::string Body; | |||
std::string Attachment; | std::string Attachment; | |||
std::vector<UnknownField> Unknowns; | ||||
uint32_t MessageRecordId; | uint32_t MessageRecordId; | |||
uint32_t MessageReplyTo; | uint32_t MessageReplyTo; | |||
time_t MessageDateSent; | time_t MessageDateSent; | |||
time_t MessageDateReceived; | time_t MessageDateReceived; | |||
// Message Flags | // Message Flags | |||
bool MessageTruncated; | bool MessageTruncated; | |||
bool MessageRead; | bool MessageRead; | |||
bool MessageReply; | bool MessageReply; | |||
bool MessageSaved; | bool MessageSaved; | |||
skipping to change at line 87 | skipping to change at line 86 | |||
enum MessageSensitivityType { | enum MessageSensitivityType { | |||
NormalSensitivity = 0, | NormalSensitivity = 0, | |||
Personal, | Personal, | |||
Private, | Private, | |||
Confidential, | Confidential, | |||
UnknownSensitivity | UnknownSensitivity | |||
}; | }; | |||
MessageSensitivityType MessageSensitivity; | MessageSensitivityType MessageSensitivity; | |||
std::vector<UnknownField> Unknowns; | ||||
protected: | protected: | |||
std::string SimpleEmailAddress() const; | std::string SimpleEmailAddress() const; | |||
public: | public: | |||
const unsigned char* ParseField(const unsigned char *begin, | const unsigned char* ParseField(const unsigned char *begin, | |||
const unsigned char *end); | const unsigned char *end); | |||
public: | public: | |||
Message(); | Message(); | |||
~Message(); | ~Message(); | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||
r_pin_message.h | r_pin_message.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_pin_message.h | /// \file r_pin_message.h | |||
/// Blackberry database record parser class for pin message reco rds. | /// Blackberry database record parser class for pin message reco rds. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
Copyright (C) 2007, Brian Edginton (edge@edginton.net) | Copyright (C) 2007, Brian Edginton (edge@edginton.net) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_saved_message.h | r_saved_message.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_save_message.h | /// \file r_save_message.h | |||
/// Blackberry database record parser class for saved email | /// Blackberry database record parser class for saved email | |||
/// message records. | /// message records. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
Copyright (C) 2007, Brian Edginton (edge@edginton.net) | Copyright (C) 2007, Brian Edginton (edge@edginton.net) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_servicebook.h | r_servicebook.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_servicebook.h | /// \file r_servicebook.h | |||
/// Blackberry database record parser class for the | /// Blackberry database record parser class for the | |||
/// Service Book record. | /// Service Book record. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
r_task.h | r_task.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file r_task.h | /// \file r_task.h | |||
/// Record parsing class for the task database. | /// Record parsing class for the task database. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
Copyright (C) 2007, Brian Edginton | Copyright (C) 2007, Brian Edginton | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
record.h | record.h | |||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
/// \file record.h | /// \file record.h | |||
/// Blackberry database record classes. Help translate data | /// Blackberry database record classes. Help translate data | |||
/// from data packets to useful structurs, and back. | /// from data packets to useful structurs, and back. | |||
/// This header provides the common types and classes | /// This header provides the common types and classes | |||
/// used by the general record parser classes in the | /// used by the general record parser classes in the | |||
/// r_*.h files. Only application-safe API stuff goes in | /// r_*.h files. Only application-safe API stuff goes in | |||
/// here. Internal library types go in record-internal.h | /// here. Internal library types go in record-internal.h | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
skipping to change at line 228 | skipping to change at line 228 | |||
// Include all parser classes, to make it easy for the application to use. | // Include all parser classes, to make it easy for the application to use. | |||
#include "r_calendar.h" | #include "r_calendar.h" | |||
#include "r_contact.h" | #include "r_contact.h" | |||
#include "r_memo.h" | #include "r_memo.h" | |||
#include "r_message.h" | #include "r_message.h" | |||
#include "r_servicebook.h" | #include "r_servicebook.h" | |||
#include "r_task.h" | #include "r_task.h" | |||
#include "r_pin_message.h" | #include "r_pin_message.h" | |||
#include "r_saved_message.h" | #include "r_saved_message.h" | |||
#include "r_folder.h" | #include "r_folder.h" | |||
#include "r_timezone.h" | ||||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
s11n-boost.h | s11n-boost.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file s11n-boost.h | /// \file s11n-boost.h | |||
/// Non-intrusive versions of serialization functions for the | /// Non-intrusive versions of serialization functions for the | |||
/// record classes. These template functions make it possible | /// record classes. These template functions make it possible | |||
/// to use the record classes with the Boost::Serialization | /// to use the record classes with the Boost::Serialization | |||
/// library. | /// library. | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
skipping to change at line 65 | skipping to change at line 65 | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::Contact::GroupLink &g, const unsigned i nt ver) | void serialize(ArchiveT &ar, Barry::Contact::GroupLink &g, const unsigned i nt ver) | |||
{ | { | |||
ar & make_nvp("Link", g.Link); | ar & make_nvp("Link", g.Link); | |||
ar & make_nvp("Unknown", g.Unknown); | ar & make_nvp("Unknown", g.Unknown); | |||
} | } | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::Contact &c, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::Contact &c, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("RecType", c.RecType); | ||||
ar & make_nvp("RecordId", c.RecordId); | ar & make_nvp("RecordId", c.RecordId); | |||
ar & make_nvp("Email", c.Email); | ar & make_nvp("Email", c.Email); | |||
ar & make_nvp("Phone", c.Phone); | ar & make_nvp("Phone", c.Phone); | |||
ar & make_nvp("Fax", c.Fax); | ar & make_nvp("Fax", c.Fax); | |||
ar & make_nvp("WorkPhone", c.WorkPhone); | ar & make_nvp("WorkPhone", c.WorkPhone); | |||
ar & make_nvp("HomePhone", c.HomePhone); | ar & make_nvp("HomePhone", c.HomePhone); | |||
ar & make_nvp("MobilePhone", c.MobilePhone); | ar & make_nvp("MobilePhone", c.MobilePhone); | |||
ar & make_nvp("Pager", c.Pager); | ar & make_nvp("Pager", c.Pager); | |||
ar & make_nvp("PIN", c.PIN); | ar & make_nvp("PIN", c.PIN); | |||
skipping to change at line 133 | skipping to change at line 134 | |||
void serialize(ArchiveT &ar, Barry::Message &m, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::Message &m, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("From", m.From); | ar & make_nvp("From", m.From); | |||
ar & make_nvp("To", m.To); | ar & make_nvp("To", m.To); | |||
ar & make_nvp("Cc", m.Cc); | ar & make_nvp("Cc", m.Cc); | |||
ar & make_nvp("Sender", m.Sender); | ar & make_nvp("Sender", m.Sender); | |||
ar & make_nvp("ReplyTo", m.ReplyTo); | ar & make_nvp("ReplyTo", m.ReplyTo); | |||
ar & make_nvp("Subject", m.Subject); | ar & make_nvp("Subject", m.Subject); | |||
ar & make_nvp("Body", m.Body); | ar & make_nvp("Body", m.Body); | |||
ar & make_nvp("Attachment", m.Attachment); | ar & make_nvp("Attachment", m.Attachment); | |||
ar & make_nvp("MessageRecordId", m.MessageRecordId); | ||||
ar & make_nvp("MessageReplyTo", m.MessageReplyTo); | ||||
ar & make_nvp("MessageDateSent", m.MessageDateSent); | ||||
ar & make_nvp("MessageDateReceived", m.MessageDateReceived); | ||||
ar & make_nvp("MessageTruncated", m.MessageTruncated); | ||||
ar & make_nvp("MessageRead", m.MessageRead); | ||||
ar & make_nvp("MessageReply", m.MessageReply); | ||||
ar & make_nvp("MessageSaved", m.MessageSaved); | ||||
ar & make_nvp("MessageSavedDeleted", m.MessageSavedDeleted); | ||||
ar & make_nvp("MessagePriority", m.MessagePriority); | ||||
ar & make_nvp("MessageSensitivity", m.MessageSensitivity); | ||||
if( ver < BARRY_POD_MAP_VERSION ) { | if( ver < BARRY_POD_MAP_VERSION ) { | |||
ar & make_nvp("Unknowns", m.Unknowns); | ar & make_nvp("Unknowns", m.Unknowns); | |||
} | } | |||
} | } | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::Calendar &c, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::Calendar &c, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("RecType", c.RecType); | ||||
ar & make_nvp("RecordId", c.RecordId); | ar & make_nvp("RecordId", c.RecordId); | |||
ar & make_nvp("Recurring", c.Recurring); | ar & make_nvp("Recurring", c.Recurring); | |||
ar & make_nvp("AllDayEvent", c.AllDayEvent); | ar & make_nvp("AllDayEvent", c.AllDayEvent); | |||
ar & make_nvp("Subject", c.Subject); | ar & make_nvp("Subject", c.Subject); | |||
ar & make_nvp("Notes", c.Notes); | ar & make_nvp("Notes", c.Notes); | |||
ar & make_nvp("Location", c.Location); | ar & make_nvp("Location", c.Location); | |||
ar & make_nvp("NotificationTime", c.NotificationTime); | ar & make_nvp("NotificationTime", c.NotificationTime); | |||
skipping to change at line 171 | skipping to change at line 186 | |||
ar & make_nvp("RecurringEndTime", c.RecurringEndTime); | ar & make_nvp("RecurringEndTime", c.RecurringEndTime); | |||
ar & make_nvp("Perpetual", c.Perpetual); | ar & make_nvp("Perpetual", c.Perpetual); | |||
ar & make_nvp("TimeZoneCode", c.TimeZoneCode); | ar & make_nvp("TimeZoneCode", c.TimeZoneCode); | |||
if( ver < BARRY_POD_MAP_VERSION ) { | if( ver < BARRY_POD_MAP_VERSION ) { | |||
ar & make_nvp("Unknowns", c.Unknowns); | ar & make_nvp("Unknowns", c.Unknowns); | |||
} | } | |||
} | } | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::ServiceBookConfig &c, const unsigned in | ||||
t ver) | ||||
{ | ||||
ar & make_nvp("Format", c.Format); | ||||
if( ver < BARRY_POD_MAP_VERSION ) { | ||||
ar & make_nvp("Unknowns", c.Unknowns); | ||||
} | ||||
} | ||||
template <class ArchiveT> | ||||
void serialize(ArchiveT &ar, Barry::ServiceBook &c, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::ServiceBook &c, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("RecType", c.RecType); | ||||
ar & make_nvp("RecordId", c.RecordId); | ar & make_nvp("RecordId", c.RecordId); | |||
ar & make_nvp("Name", c.Name); | ||||
ar & make_nvp("HiddenName", c.HiddenName); | ||||
ar & make_nvp("Description", c.Description); | ||||
ar & make_nvp("DSID", c.DSID); | ||||
ar & make_nvp("BesDomain", c.BesDomain); | ||||
ar & make_nvp("UniqueId", c.UniqueId); | ||||
ar & make_nvp("ContentId", c.ContentId); | ||||
ar & make_nvp("Config", c.Config); | ||||
if( ver < BARRY_POD_MAP_VERSION ) { | if( ver < BARRY_POD_MAP_VERSION ) { | |||
ar & make_nvp("Unknowns", c.Unknowns); | ar & make_nvp("Unknowns", c.Unknowns); | |||
} | } | |||
} | } | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::Memo &m, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::Memo &m, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("RecType", m.RecType); | ||||
ar & make_nvp("RecordId", m.RecordId); | ar & make_nvp("RecordId", m.RecordId); | |||
ar & make_nvp("MemoType", m.MemoType); | ||||
ar & make_nvp("Title", m.Title); | ar & make_nvp("Title", m.Title); | |||
ar & make_nvp("Body", m.Body); | ar & make_nvp("Body", m.Body); | |||
ar & make_nvp("Category", m.Category); | ar & make_nvp("Category", m.Category); | |||
if( ver < BARRY_POD_MAP_VERSION ) { | if( ver < BARRY_POD_MAP_VERSION ) { | |||
ar & make_nvp( "Unknowns", m.Unknowns); | ar & make_nvp( "Unknowns", m.Unknowns); | |||
} | } | |||
} | } | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::Task &t, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::Task &t, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("RecType", t.RecType); | ||||
ar & make_nvp("RecordId", t.RecordId); | ar & make_nvp("RecordId", t.RecordId); | |||
ar & make_nvp("TaskType", t.TaskType); | ||||
ar & make_nvp("Summary", t.Summary); | ar & make_nvp("Summary", t.Summary); | |||
ar & make_nvp("Notes", t.Notes); | ar & make_nvp("Notes", t.Notes); | |||
ar & make_nvp("Categories", t.Categories); | ar & make_nvp("Categories", t.Categories); | |||
ar & make_nvp("UID", t.UID); | ||||
ar & make_nvp("StartTime", t.StartTime); | ar & make_nvp("StartTime", t.StartTime); | |||
ar & make_nvp("AlarmTime", t.AlarmTime); | ||||
ar & make_nvp("DueTime", t.DueTime); | ar & make_nvp("DueTime", t.DueTime); | |||
ar & make_nvp("AlarmTime", t.AlarmTime); | ||||
ar & make_nvp("TimeZoneCode", t.TimeZoneCode); | ar & make_nvp("TimeZoneCode", t.TimeZoneCode); | |||
ar & make_nvp("AlarmType", t.AlarmType); | ar & make_nvp("AlarmType", t.AlarmType); | |||
ar & make_nvp("Interval", t.Interval); | ar & make_nvp("Interval", t.Interval); | |||
ar & make_nvp("RecurringType", t.RecurringType); | ar & make_nvp("RecurringType", t.RecurringType); | |||
ar & make_nvp("RecurringEndTime", t.RecurringEndTime); | ar & make_nvp("RecurringEndTime", t.RecurringEndTime); | |||
ar & make_nvp("DayOfWeek", t.DayOfWeek); | ||||
ar & make_nvp("WeekOfMonth", t.WeekOfMonth); | ||||
ar & make_nvp("DayOfMonth", t.DayOfMonth); | ||||
ar & make_nvp("MonthOfYear", t.MonthOfYear); | ||||
ar & make_nvp("WeekDays", t.WeekDays); | ||||
ar & make_nvp("ClassType", t.ClassType); | ar & make_nvp("ClassType", t.ClassType); | |||
ar & make_nvp("PriorityFlag", t.PriorityFlag); | ar & make_nvp("PriorityFlag", t.PriorityFlag); | |||
ar & make_nvp("StatusFlag", t.StatusFlag); | ar & make_nvp("StatusFlag", t.StatusFlag); | |||
ar & make_nvp("Recurring", t.Recurring); | ar & make_nvp("Recurring", t.Recurring); | |||
ar & make_nvp("Perpetual", t.Perpetual); | ||||
ar & make_nvp("DueDateFlag", t.DueDateFlag); | ||||
if( ver < BARRY_POD_MAP_VERSION ) { | if( ver < BARRY_POD_MAP_VERSION ) { | |||
ar & make_nvp( "Unknowns", t.Unknowns); | ar & make_nvp( "Unknowns", t.Unknowns); | |||
} | } | |||
} | } | |||
template<class ArchiveT> | template<class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::PINMessage &p, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::PINMessage &p, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("RecType", p.RecType); | ||||
ar & make_nvp("RecordId", p.RecordId); | ||||
ar & make_nvp("From", p.From); | ar & make_nvp("From", p.From); | |||
ar & make_nvp("To", p.To); | ar & make_nvp("To", p.To); | |||
ar & make_nvp("Cc", p.Cc); | ar & make_nvp("Cc", p.Cc); | |||
ar & make_nvp("Bcc", p.Bcc); | ar & make_nvp("Bcc", p.Bcc); | |||
ar & make_nvp("Subject", p.Subject); | ar & make_nvp("Subject", p.Subject); | |||
ar & make_nvp("Body", p.Body); | ar & make_nvp("Body", p.Body); | |||
ar & make_nvp("MessageRecordId", p.MessageRecordId); | ||||
ar & make_nvp("MessageReplyTo", p.MessageReplyTo); | ||||
ar & make_nvp("MessageDateSent", p.MessageDateSent); | ||||
ar & make_nvp("MessageDateReceived", p.MessageDateReceived); | ||||
ar & make_nvp("MessageTruncated", p.MessageTruncated); | ||||
ar & make_nvp("MessageRead", p.MessageRead); | ||||
ar & make_nvp("MessageReply", p.MessageReply); | ||||
ar & make_nvp("MessageSaved", p.MessageSaved); | ||||
ar & make_nvp("MessageSavedDeleted", p.MessageSavedDeleted); | ||||
ar & make_nvp("MessagePriority", p.MessagePriority); | ||||
ar & make_nvp("MessageSensitivity", p.MessageSensitivity); | ||||
if(ver < BARRY_POD_MAP_VERSION) { | if(ver < BARRY_POD_MAP_VERSION) { | |||
ar & make_nvp("Unknowns", p.Unknowns); | ar & make_nvp("Unknowns", p.Unknowns); | |||
} | } | |||
} | } | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::SavedMessage &m, const unsigned int ver ) | void serialize(ArchiveT &ar, Barry::SavedMessage &m, const unsigned int ver ) | |||
{ | { | |||
ar & make_nvp("RecType", m.RecType); | ||||
ar & make_nvp("RecordId", m.RecordId); | ||||
ar & make_nvp("From", m.From); | ar & make_nvp("From", m.From); | |||
ar & make_nvp("To", m.To); | ar & make_nvp("To", m.To); | |||
ar & make_nvp("Cc", m.Cc); | ar & make_nvp("Cc", m.Cc); | |||
ar & make_nvp("Bcc", m.Bcc); | ar & make_nvp("Bcc", m.Bcc); | |||
ar & make_nvp("Sender", m.Sender); | ar & make_nvp("Sender", m.Sender); | |||
ar & make_nvp("ReplyTo", m.ReplyTo); | ar & make_nvp("ReplyTo", m.ReplyTo); | |||
ar & make_nvp("Subject", m.Subject); | ar & make_nvp("Subject", m.Subject); | |||
ar & make_nvp("Body", m.Body); | ar & make_nvp("Body", m.Body); | |||
ar & make_nvp("Attachment", m.Attachment); | ar & make_nvp("Attachment", m.Attachment); | |||
ar & make_nvp("MessageRecordId", m.MessageRecordId); | ||||
ar & make_nvp("MessageReplyTo", m.MessageReplyTo); | ||||
ar & make_nvp("MessageDateSent", m.MessageDateSent); | ||||
ar & make_nvp("MessageDateReceived", m.MessageDateReceived); | ||||
ar & make_nvp("MessageTruncated", m.MessageTruncated); | ||||
ar & make_nvp("MessageRead", m.MessageRead); | ||||
ar & make_nvp("MessageReply", m.MessageReply); | ||||
ar & make_nvp("MessageSaved", m.MessageSaved); | ||||
ar & make_nvp("MessageSavedDeleted", m.MessageSavedDeleted); | ||||
ar & make_nvp("MessagePriority", m.MessagePriority); | ||||
ar & make_nvp("MessageSensitivity", m.MessageSensitivity); | ||||
if( ver < BARRY_POD_MAP_VERSION ) { | if( ver < BARRY_POD_MAP_VERSION ) { | |||
ar & make_nvp("Unknowns", m.Unknowns); | ar & make_nvp("Unknowns", m.Unknowns); | |||
} | } | |||
} | } | |||
template <class ArchiveT> | template <class ArchiveT> | |||
void serialize(ArchiveT &ar, Barry::Folder &f, const unsigned int ver) | void serialize(ArchiveT &ar, Barry::Folder &f, const unsigned int ver) | |||
{ | { | |||
ar & make_nvp("RecType", f.RecType); | ||||
ar & make_nvp("RecordId", f.RecordId); | ||||
ar & make_nvp("FolderName", f.FolderName); | ar & make_nvp("FolderName", f.FolderName); | |||
ar & make_nvp("FolderNumber", f.FolderNumber); | ||||
ar & make_nvp("FolderLevel", f.FolderLevel); | ||||
ar & make_nvp("FolderType", f.FolderType); | ||||
if( ver < BARRY_POD_MAP_VERSION ) { | if( ver < BARRY_POD_MAP_VERSION ) { | |||
ar & make_nvp( "Unknowns", f.Unknowns); | ar & make_nvp( "Unknowns", f.Unknowns); | |||
} | } | |||
} | } | |||
template <class ArchiveT> | ||||
void serialize(ArchiveT &ar, Barry::Timezone &t, const unsigned int ver) | ||||
{ | ||||
ar & make_nvp("RecType", t.RecType); | ||||
ar & make_nvp("RecordId", t.RecordId); | ||||
ar & make_nvp("TZType", t.TZType); | ||||
ar & make_nvp("DSTOffset", t.DSTOffset); | ||||
ar & make_nvp("Index", t.Index); | ||||
ar & make_nvp("Offset", t.Offset); | ||||
ar & make_nvp("OffsetFraction", t.OffsetFraction); | ||||
ar & make_nvp("StartMonth", t.StartMonth); | ||||
ar & make_nvp("EndMonth", t.EndMonth); | ||||
ar & make_nvp("Left", t.Left); | ||||
ar & make_nvp("UseDST", t.UseDST); | ||||
ar & make_nvp("TimeZoneName", t.TimeZoneName); | ||||
if( ver < BARRY_POD_MAP_VERSION ) { | ||||
ar & make_nvp("Unknowns", t.Unknowns); | ||||
} | ||||
} | ||||
}} // namespace boost::serialization | }} // namespace boost::serialization | |||
#endif | #endif | |||
End of changes. 24 change blocks. | ||||
2 lines changed or deleted | 114 lines changed or added | |||
socket.h | socket.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file socket.h | /// \file socket.h | |||
/// Class wrapper to encapsulate the Blackberry USB logical sock et | /// Class wrapper to encapsulate the Blackberry USB logical sock et | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
time.h | time.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file time.h | /// \file time.h | |||
/// Conversion between time_t and cenmin_t and back. | /// Conversion between time_t and cenmin_t and back. | |||
/// time_t is the POSIX time. | /// time_t is the POSIX time. | |||
/// min1900_t is the minutes from Jan 1, 1900 | /// min1900_t is the minutes from Jan 1, 1900 | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
usbwrap.h | usbwrap.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file usbwrap.h | /// \file usbwrap.h | |||
/// USB API wrapper | /// USB API wrapper | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2005-2007, Chris Frey | Copyright (C) 2005-2008, Chris Frey | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
/// | /// | |||
/// \file version.h | /// \file version.h | |||
/// Provide access to library version information | /// Provide access to library version information | |||
/// | /// | |||
/* | /* | |||
Copyright (C) 2007, Net Direct Inc. (http://www.netdirect.ca/) | Copyright (C) 2007-2008, Net Direct Inc. (http://www.netdirect.ca/) | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2 of the License, or | the Free Software Foundation; either version 2 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||