Implement pImpl pattern for KRContext/Context, fix crash in KRDataBlock

This commit is contained in:
Kearwood Kip Gilbert
2019-07-14 15:18:48 -07:00
parent 891bb18b10
commit 3be32926b9
4 changed files with 58 additions and 6 deletions

View File

@@ -35,13 +35,15 @@ namespace kraken {
class Context
{
class impl;
public:
static Context* Get();
private:
Context();
~Context();
impl* mImpl;
};
Context* GetContext();
} // namepsace kraken
#endif // KRAKEN_CONTEXT_H