/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a weatheradaptor -i ekos/auxiliary/weather.h -l Ekos::Weather /chakra/desktop/kstars/src/kstars-3.4.0/kstars/org.kde.kstars.Ekos.Weather.xml
 *
 * qdbusxml2cpp is Copyright (C) 2019 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "weatheradaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class WeatherAdaptor
 */

WeatherAdaptor::WeatherAdaptor(Ekos::Weather *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

WeatherAdaptor::~WeatherAdaptor()
{
    // destructor
}

ISD::Weather::Status WeatherAdaptor::status() const
{
    // get the value of property status
    return qvariant_cast< ISD::Weather::Status >(parent()->property("status"));
}

ushort WeatherAdaptor::updatePeriod() const
{
    // get the value of property updatePeriod
    return qvariant_cast< ushort >(parent()->property("updatePeriod"));
}


#include "weatheradaptor.moc"
