remove Core c++ module
This commit is contained in:
parent
2f2cec509e
commit
6ec0383392
11
src/Core.cc
11
src/Core.cc
@ -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);
|
||||
}
|
||||
}
|
25
src/Core.h
25
src/Core.h
@ -1,25 +0,0 @@
|
||||
#ifndef JES_CORE_H
|
||||
#define JES_CORE_H
|
||||
|
||||
#include "Ref.h"
|
||||
#include "Path.h"
|
||||
#include <string>
|
||||
|
||||
namespace jes
|
||||
{
|
||||
typedef Ref<std::string> 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
|
Loading…
x
Reference in New Issue
Block a user