SvnCpp
wc.hpp
Go to the documentation of this file.
00001 /*
00002  * ====================================================================
00003  * Copyright (c) 2002-2009 The RapidSvn Group.  All rights reserved.
00004  *
00005  * This program is free software: you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation, either version 3 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program 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
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program (in the file GPL.txt.  
00017  * If not, see <http://www.gnu.org/licenses/>.
00018  *
00019  * This software consists of voluntary contributions made by many
00020  * individuals.  For exact contribution history, see the revision
00021  * history and logs, available at http://rapidsvn.tigris.org/.
00022  * ====================================================================
00023  */
00024 
00025 #ifndef _SVNCPP_WC_HPP_
00026 #define _SVNCPP_WC_HPP_
00027 
00028 // svncpp
00029 #include "svncpp/revision.hpp"
00030 
00031 
00032 namespace svn
00033 {
00034   // forward declarations
00035   class Path;
00036 
00040   class Wc
00041   {
00042   public:
00049     static bool
00050     checkWc(const char * dir);
00051 
00052     static bool
00053     checkWc(const Path & dir);
00054 
00064     static void
00065     ensureAdm(const char * dir, const char * uuid,
00066               const char * url, const Revision & revision);
00067 
00074     static void
00075     setAdmDir(const char * dir);
00076 
00082     static bool
00083     isAdmDir(const char * name);
00084 
00085   private:
00086   };
00087 }
00088 
00089 #endif
00090 /* -----------------------------------------------------------------
00091  * local variables:
00092  * eval: (load-file "../../rapidsvn-dev.el")
00093  * end:
00094  */