From 69f7ffa70863bef2be4cae08c466b5d97a627277 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 30 Jan 2008 17:34:35 +0000 Subject: accomodate the new modules --- src/common/path.cc | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/common/path.cc (limited to 'src/common/path.cc') diff --git a/src/common/path.cc b/src/common/path.cc deleted file mode 100644 index d9fc332..0000000 --- a/src/common/path.cc +++ /dev/null @@ -1,40 +0,0 @@ -/* - common/path.cc - This file is part of the Osirion project and is distributed under - the terms of the GNU General Public License version 2 -*/ - -// project headers -#include "path.h" -#include "console.h" - -#ifdef _WIN32 -#include -#else -#include -#endif - -namespace common { - -void Path::create(std::string path) -{ - std::string tmp(path); - if (tmp[tmp.size()-1] == '/') - tmp = tmp.substr(0, tmp.size() - 1); - -#ifdef _WIN32 - mkdir(tmp.c_str()); -#else - if (!mkdir(tmp.c_str(), 0777)) - conwarn << "Could not create directory " << tmp << std::endl; - else - condebug << "Path created " << tmp << std::endl; -#endif -} - -bool Path::exists(std::string path) -{ - return false; -} - -} -- cgit v1.2.3