Configuration.cpp Example File
pushCollector/10.0/pushCollector/src/vo/Configuration.cpp
#include "Configuration.hpp"
Configuration::Configuration()
: m_usingPublicPushProxyGateway(true)
, m_launchApplicationOnPush(true)
{
}
Configuration::~Configuration()
{
}
bool Configuration::usingPublicPushProxyGateway() const
{
return m_usingPublicPushProxyGateway;
}
QString Configuration::providerApplicationId() const
{
return m_providerApplicationId;
}
QString Configuration::ppgUrl() const
{
return m_ppgUrl;
}
QString Configuration::pushInitiatorUrl() const
{
return m_pushInitiatorUrl;
}
bool Configuration::launchApplicationOnPush() const
{
return m_launchApplicationOnPush;
}
void Configuration::setUsingPublicPushProxyGateway(bool usingPublicPushProxyGateway)
{
m_usingPublicPushProxyGateway = usingPublicPushProxyGateway;
}
void Configuration::setProviderApplicationId(const QString& providerApplicationId)
{
m_providerApplicationId = providerApplicationId;
}
void Configuration::setPpgUrl(const QString& ppgUrl)
{
m_ppgUrl = ppgUrl;
}
void Configuration::setPushInitiatorUrl(const QString& pushInitiatorUrl)
{
m_pushInitiatorUrl = pushInitiatorUrl;
}
void Configuration::setLaunchApplicationOnPush(bool launchApplicationOnPush)
{
m_launchApplicationOnPush = launchApplicationOnPush;
}