00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _SVNCPP_LOG_ENTRY_H_
00015 #define _SVNCPP_LOG_ENTRY_H_
00016
00017
00018 #include <string>
00019
00020
00021 #include "svn_types.h"
00022
00023 namespace svn
00024 {
00025 struct LogEntry
00026 {
00027 LogEntry ()
00028 {
00029 }
00030
00031 LogEntry (const svn_revnum_t revision,
00032 const char * author,
00033 const char * date,
00034 const char * message)
00035 {
00036 this->revision = revision;
00037 this->author = author == 0 ? "" : author;
00038 this->date = date == 0 ? "" : date;
00039 this->message = message == 0 ? "" : message;
00040 }
00041
00042 svn_revnum_t revision;
00043 std::string author;
00044 std::string date;
00045 std::string message;
00046 };
00047 }
00048
00049 #endif
00050
00051
00052
00053
00054
00055