This commit was manufactured by cvs2svn to create branch
[util-vserver.git] / src / vserver.hh
similarity index 50%
rename from src/ext2fs.h
rename to src/vserver.hh
index 745be0c..b0059dc 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: ext2fs.h,v 1.1.2.2 2004/01/26 18:22:00 ensc Exp $    --*- c -*--
+// $Id: vserver.hh,v 1.1 2003/10/21 13:26:21 ensc Exp $    --*- c++ -*--
 
 // Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
 //  
 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 
-#ifndef H_UTIL_VSERVER_SRC_EXT2FS_H
-#define H_UTIL_VSERVER_SRC_EXT2FS_H
+#ifndef HH_UTIL_VSERVER_SRC_VSERVSER_HH
+#define HH_UTIL_VSERVER_SRC_VSERVSER_HH
 
-#ifdef ENSC_HAVE_EXT2FS_EXT2_FS_H
-#  include <ext2fs/ext2_fs.h>
-#elif defined(ENSC_HAVE_LINUX_EXT2_FS_H)
-#  include <linux/ext2_fs.h>
-#else
-#  error Do not know how to include <ext2_fs.h>
-#endif
+#include <string>
+#include <ostream>
 
-#endif //  H_UTIL_VSERVER_SRC_EXT2FS_H
+class Vserver
+{
+  public:
+    Vserver(std::string const &name);
+
+    std::string const &                getConfDir() const   { return conf_dir_; }
+    std::string const &                getVdir() const      { return vdir_; }
+    std::string const &                getRPMDbPath() const { return rpmdb_path_; }
+    std::string const &                getName() const      { return name_; }
+
+  private:
+    std::string                conf_dir_;
+    std::string                vdir_;
+    std::string                rpmdb_path_;
+    std::string                name_;
+};
+
+std::ostream & operator << (std::ostream &lhs, Vserver const &rhs);
+
+
+#endif //  HH_UTIL_VSERVER_SRC_VSERVSER_HH