ConfigurationService.cpp Example File
pushCollector/10.0/pushCollector/src/service/ConfigurationService.cpp
#include "ConfigurationService.hpp"
ConfigurationService::ConfigurationService()
{
}
ConfigurationService::~ConfigurationService()
{
}
void ConfigurationService::save(const Configuration &config)
{
m_configDAO.save(config);
}
void ConfigurationService::remove()
{
m_configDAO.remove();
}
Configuration& ConfigurationService::configuration()
{
return m_configDAO.configuration();
}
bool ConfigurationService::hasConfiguration() const
{
return m_configDAO.hasConfiguration();
}