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
00024 namespace svn
00025 {
00026 struct LogEntry
00027 {
00028 LogEntry ()
00029 {
00030 }
00031
00032 LogEntry (const svn_revnum_t revision,
00033 const char * author,
00034 const char * date,
00035 const char * message)
00036 {
00037 this->revision = revision;
00038 this->author = author == 0 ? "" : author;
00039 this->date = date == 0 ? "" : date;
00040 this->message = message == 0 ? "" : message;
00041 }
00042
00043 svn_revnum_t revision;
00044 std::string author;
00045 std::string date;
00046 std::string message;
00047 };
00048 }
00049
00050 #endif
00051
00052
00053
00054
00055
00056