mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
move the ctors back to private
This commit is contained in:
parent
69f8e15e21
commit
c89f68cb18
1 changed files with 2 additions and 2 deletions
|
@ -16,13 +16,13 @@ namespace geode {
|
||||||
private:
|
private:
|
||||||
class Impl;
|
class Impl;
|
||||||
std::shared_ptr<Impl> m_impl;
|
std::shared_ptr<Impl> m_impl;
|
||||||
|
explicit Hook(std::shared_ptr<Impl>&& impl);
|
||||||
~Hook();
|
~Hook();
|
||||||
|
|
||||||
friend class Mod;
|
friend class Mod;
|
||||||
friend class Loader;
|
friend class Loader;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Hook(std::shared_ptr<Impl>&& impl);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a hook at an address. The hook is enabled immediately. By
|
* Create a hook at an address. The hook is enabled immediately. By
|
||||||
|
@ -145,13 +145,13 @@ namespace geode {
|
||||||
private:
|
private:
|
||||||
class Impl;
|
class Impl;
|
||||||
std::shared_ptr<Impl> m_impl;
|
std::shared_ptr<Impl> m_impl;
|
||||||
|
explicit Patch(std::shared_ptr<Impl>&& impl);
|
||||||
~Patch();
|
~Patch();
|
||||||
|
|
||||||
friend class Mod;
|
friend class Mod;
|
||||||
friend class Loader;
|
friend class Loader;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Patch(std::shared_ptr<Impl>&& impl);
|
|
||||||
|
|
||||||
static std::shared_ptr<Patch> create(void* address, const ByteVector& patch);
|
static std::shared_ptr<Patch> create(void* address, const ByteVector& patch);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue