Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-01-30 17:34:35 +0000
committerStijn Buys <ingar@osirion.org>2008-01-30 17:34:35 +0000
commit69f7ffa70863bef2be4cae08c466b5d97a627277 (patch)
tree9945e1c5cb29e10afda66af3274c3ef87886225a /src/common/path.cc
parenta94049b1a43f83d750b9b5dee031c19a6b1fafb0 (diff)
accomodate the new modules
Diffstat (limited to 'src/common/path.cc')
-rw-r--r--src/common/path.cc40
1 files changed, 0 insertions, 40 deletions
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 <dlfcn.h>
-#else
-#include <sys/stat.h>
-#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;
-}
-
-}