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-02-02 13:21:22 +0000
committerStijn Buys <ingar@osirion.org>2008-02-02 13:21:22 +0000
commit1765b93250ac3b89947c3da7f0c7266a910367c9 (patch)
tree84db96af8a633211db1e451ded98ff1ea23253bd /src/common/consoleinterface.cc
parent365b0c6330ea607706b708d92da7a46b1ed1fb15 (diff)
moved ConsoleInterface to libsys
Diffstat (limited to 'src/common/consoleinterface.cc')
-rw-r--r--src/common/consoleinterface.cc36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/common/consoleinterface.cc b/src/common/consoleinterface.cc
deleted file mode 100644
index eb532c6..0000000
--- a/src/common/consoleinterface.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- common/consoleinterface.cc
- This file is part of the Osirion project and is distributed under
- the terms of the GNU General Public License version 2
-*/
-
-#include "common/consoleinterface.h"
-
-#include <iostream>
-
-#include <stdlib.h>
-
-namespace common {
-
-ConsoleInterface *ConsoleInterface::consoleinterface_instance = 0;
-
-ConsoleInterface::ConsoleInterface() {
- if (consoleinterface_instance) {
- std::cerr << "multiple singleton instances: common::ConsoleInterface" << std::endl;
- exit(2);
- }
- consoleinterface_instance = this;
-}
-
-ConsoleInterface::~ConsoleInterface()
-{
- consoleinterface_instance = 0;
-}
-
-ConsoleInterface *ConsoleInterface::instance()
-{
- return consoleinterface_instance;
-}
-
-} // namespace common
-