From 6ec03833927dd1a89148b222860afdddff213bac Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 18 Jul 2014 20:29:42 -0400 Subject: [PATCH] remove Core c++ module --- src/Core.cc | 11 ----------- src/Core.h | 25 ------------------------- 2 files changed, 36 deletions(-) delete mode 100644 src/Core.cc delete mode 100644 src/Core.h diff --git a/src/Core.cc b/src/Core.cc deleted file mode 100644 index d9104bb..0000000 --- a/src/Core.cc +++ /dev/null @@ -1,11 +0,0 @@ -#include "Core.h" - -namespace jes -{ - Core Core::instance; - - void Core::init(const std::string & bin_path) - { - m_bin_path = new Path(bin_path); - } -} diff --git a/src/Core.h b/src/Core.h deleted file mode 100644 index 1bbac49..0000000 --- a/src/Core.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef JES_CORE_H -#define JES_CORE_H - -#include "Ref.h" -#include "Path.h" -#include - -namespace jes -{ - typedef Ref StringRef; - - class Core - { - public: - static Core instance; - - void init(const std::string & bin_path); - PathRef get_bin_path() { return m_bin_path; } - - protected: - PathRef m_bin_path; - }; -} - -#endif