Added getContext method to KRContextObject

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4075
This commit is contained in:
kearwood
2012-08-23 17:32:38 +00:00
parent 1efbb63ecf
commit fc45c06281
2 changed files with 7 additions and 0 deletions

View File

@@ -16,4 +16,9 @@ KRContextObject::KRContextObject(KRContext &context)
KRContextObject::~KRContextObject()
{
}
KRContext &KRContextObject::getContext()
{
return *m_pContext;
}

View File

@@ -16,6 +16,8 @@ class KRContextObject {
public:
KRContextObject(KRContext &context);
~KRContextObject();
KRContext &getContext();
protected:
KRContext *m_pContext;
};