Added getContext method to KRContextObject
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4075
This commit is contained in:
@@ -16,4 +16,9 @@ KRContextObject::KRContextObject(KRContext &context)
|
||||
KRContextObject::~KRContextObject()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
KRContext &KRContextObject::getContext()
|
||||
{
|
||||
return *m_pContext;
|
||||
}
|
||||
@@ -16,6 +16,8 @@ class KRContextObject {
|
||||
public:
|
||||
KRContextObject(KRContext &context);
|
||||
~KRContextObject();
|
||||
|
||||
KRContext &getContext();
|
||||
protected:
|
||||
KRContext *m_pContext;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user