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 #include <list>
00020
00021
00022 #include "apr_time.h"
00023
00024
00025 #include "svn_types.h"
00026
00027 namespace svn
00028 {
00029
00030 struct LogChangePathEntry
00031 {
00032 LogChangePathEntry (const char *path_,
00033 char action_,
00034 const char *copyFromPath_,
00035 const svn_revnum_t copyFromRevision_);
00036
00037 std::string path;
00038 char action;
00039 std::string copyFromPath;
00040 svn_revnum_t copyFromRevision;
00041 };
00042
00043
00044 struct LogEntry
00045 {
00046 public:
00047 LogEntry ();
00048
00049 LogEntry (const svn_revnum_t revision,
00050 const char * author,
00051 const char * date,
00052 const char * message);
00053
00054 svn_revnum_t revision;
00055 std::string author;
00056 std::string message;
00057 std::list<LogChangePathEntry> changedPaths;
00058 apr_time_t date;
00059 };
00060 }
00061
00062 #endif
00063
00064
00065
00066
00067
00068