mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #199, direct access to other context convenience methods
This commit is contained in:
55
src/blackcore/context.cpp
Normal file
55
src/blackcore/context.cpp
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user