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 00026 #ifndef _SVNCPP_WC_HPP_ 00027 #define _SVNCPP_WC_HPP_ 00028 00029 // svncpp 00030 #include "svncpp/revision.hpp" 00031 00032 00033 namespace svn 00034 { 00035 // forward declarations 00036 class Path; 00037 00041 class Wc 00042 { 00043 public: 00050 static bool 00051 checkWc (const char * dir); 00052 00053 static bool 00054 checkWc (const Path & dir); 00055 00065 static void 00066 ensureAdm (const char * dir, const char * uuid, 00067 const char * url, const Revision & revision); 00068 00075 static void 00076 setAdmDir (const char * dir); 00077 00083 static bool 00084 isAdmDir (const char * name); 00085 00086 private: 00087 }; 00088 } 00089 00090 #endif 00091 /* ----------------------------------------------------------------- 00092 * local variables: 00093 * eval: (load-file "../../rapidsvn-dev.el") 00094 * end: 00095 */