diff options
author | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:28:41 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:28:41 +0000 |
commit | e3c27429831245a151706c395991b42f2876b2e1 (patch) | |
tree | 4316cf546d073b87d4c2345a89905cdaafd795b1 /src/core/core.cc | |
parent | c6414cfbeb25d9e4df783264d32f31de48241347 (diff) |
core subsystem
Diffstat (limited to 'src/core/core.cc')
-rw-r--r-- | src/core/core.cc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/core/core.cc b/src/core/core.cc new file mode 100644 index 0000000..b576ba5 --- /dev/null +++ b/src/core/core.cc @@ -0,0 +1,34 @@ +/* + core/core.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 "common/common.h" +#include "filesystem/filesystem.h" +#include "core/core.h" + +namespace core +{ + +/// initialize the core +void init() { + common::init(); + + filesystem::init(); + + con_debug << "Initializing core..." << std::endl; +} + +/// shutdown the core +void shutdown() { + con_debug << "Shutting down core..." << std::endl; + + filesystem::shutdown(); + + common::shutdown(); +} + +} + |