00001 /* 00002 * ==================================================================== 00003 * Copyright (c) 2002-2008 The RapidSvn Group. All rights reserved. 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library (in the file LGPL.txt); if not, 00017 * write to the Free Software Foundation, Inc., 51 Franklin St, 00018 * Fifth Floor, Boston, MA 02110-1301 USA 00019 * 00020 * This software consists of voluntary contributions made by many 00021 * individuals. For exact contribution history, see the revision 00022 * history and logs, available at http://rapidsvn.tigris.org/. 00023 * ==================================================================== 00024 */ 00025 #ifndef _SVNCPP_INFO_HPP_ 00026 #define _SVNCPP_INFO_HPP_ 00027 00028 // subversion api 00029 #include "svn_client.h" 00030 00031 namespace svn 00032 { 00033 // forward declarations 00034 class Path; 00035 00040 class Info 00041 { 00042 public: 00053 Info (const Path & path, const svn_info_t * src = 0); 00054 00058 Info (const Info & src); 00059 00063 virtual ~Info (); 00064 00068 Info & 00069 operator = (const Info &); 00070 00079 bool isValid () const; 00080 00082 const Path & 00083 path () const; 00084 00086 const svn_revnum_t 00087 revision () const; 00088 00090 const char * 00091 url () const; 00092 00094 const char * 00095 repos () const; 00096 00098 const char * 00099 uuid () const; 00100 00102 const svn_node_kind_t 00103 kind () const; 00104 00105 svn_revnum_t 00106 lastChangedRev () const; 00107 00108 apr_time_t 00109 lastChangedDate () const; 00110 00111 const char * 00112 lastChangedAuthoer () const; 00113 00116 private: 00117 struct Data; 00118 00119 Data * m; 00120 }; 00121 00122 } 00123 00124 #endif 00125 /* ----------------------------------------------------------------- 00126 * local variables: 00127 * eval: (load-file "../../rapidsvn-dev.el") 00128 * end: 00129 */