Implement pImpl pattern for KRContext/Context, fix crash in KRDataBlock
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user