mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-03 20:40:17 -05:00
23 lines
400 B
C++
23 lines
400 B
C++
#include "i2-base.h"
|
|
|
|
using namespace icinga;
|
|
|
|
void Component::SetApplication(const Application::WeakPtr& application)
|
|
{
|
|
m_Application = application;
|
|
}
|
|
|
|
Application::Ptr Component::GetApplication(void)
|
|
{
|
|
return m_Application.lock();
|
|
}
|
|
|
|
void Component::SetConfig(ConfigObject::Ptr componentConfig)
|
|
{
|
|
m_Config = componentConfig;
|
|
}
|
|
|
|
ConfigObject::Ptr Component::GetConfig(void)
|
|
{
|
|
return m_Config;
|
|
}
|