00001 /*
00002 * ====================================================================
00003 * Copyright (c) 2002, 2003 The RapidSvn Group. All rights reserved.
00004 *
00005 * This software is licensed as described in the file LICENSE.txt,
00006 * which you should have received as part of this distribution.
00007 *
00008 * This software consists of voluntary contributions made by many
00009 * individuals. For exact contribution history, see the revision
00010 * history and logs, available at http://rapidsvn.tigris.org/.
00011 * ====================================================================
00012 */
00013
00014 #ifndef _SVNCPP_LOG_ENTRY_H_
00015 #define _SVNCPP_LOG_ENTRY_H_
00016
00017 // stl
00018 #include <string>
00019
00020 // subversion api
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 * local variables:
00052 * eval: (load-file "../../rapidsvn-dev.el")
00053 * end:
00054 */
00055
1.2.15