refs #199, direct access to other context convenience methods

This commit is contained in:
Klaus Basan
2014-04-02 16:00:14 +02:00
parent 0ff353b671
commit 16b9c714af
5 changed files with 96 additions and 9 deletions

55
src/blackcore/context.cpp Normal file
View File

@@ -0,0 +1,55 @@
#include "context.h"
namespace BlackCore
{
IContextNetwork *CContext::getIContextNetwork()
{
return this->getRuntime()->getIContextNetwork();
}
const IContextNetwork *CContext::getIContextNetwork() const
{
return this->getRuntime()->getIContextNetwork();
}
IContextAudio *CContext::getIContextAudio()
{
return this->getRuntime()->getIContextAudio();
}
const IContextAudio *CContext::getIContextAudio() const
{
return this->getRuntime()->getIContextAudio();
}
IContextApplication *CContext::getIContextApplication()
{
return this->getRuntime()->getIContextApplication();
}
const IContextApplication *CContext::getIContextApplication() const
{
return this->getRuntime()->getIContextApplication();
}
IContextSettings *CContext::getIContextSettings()
{
return this->getRuntime()->getIContextSettings();
}
const IContextSettings *CContext::getIContextSettings() const
{
return this->getRuntime()->getIContextSettings();
}
IContextSimulator *CContext::getIContextSimulator()
{
return this->getRuntime()->getIContextSimulator();
}
const IContextSimulator *CContext::getIContextSimulator() const
{
return this->getRuntime()->getIContextSimulator();
}
}