Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals | Related Pages

log_entry.hpp

Go to the documentation of this file.
00001 /*
00002  * ====================================================================
00003  * Copyright (c) 2002-2004 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 #include <list>
00020 
00021 // apr
00022 #include "apr_time.h"
00023 
00024 // subversion api
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  * local variables:
00065  * eval: (load-file "../../rapidsvn-dev.el")
00066  * end:
00067  */
00068 

Generated on Thu Sep 15 21:26:13 2005 for SvnCpp by  doxygen 1.4.4