/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Scheduler -p generated/com_deepin_daemon_calendar_scheduler ../xml/com.deepin.daemon.Calendar.Scheduler.xml
 *
 * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef COM_DEEPIN_DAEMON_CALENDAR_SCHEDULER_H
#define COM_DEEPIN_DAEMON_CALENDAR_SCHEDULER_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

#include <DBusExtendedAbstractInterface>
#include <QtDBus/QtDBus>


/*
 * Proxy class for interface com.deepin.daemon.Calendar.Scheduler
 */
class __SchedulerPrivate;
class __Scheduler : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.deepin.daemon.Calendar.Scheduler"; }

public:
    explicit __Scheduler(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~__Scheduler();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<qlonglong> CreateJob(const QString &jobInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(jobInfo);
        return asyncCallWithArgumentList(QStringLiteral("CreateJob"), argumentList);
    }



    inline QDBusPendingReply<qlonglong> CreateType(const QString &typeInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(typeInfo);
        return asyncCallWithArgumentList(QStringLiteral("CreateType"), argumentList);
    }



    inline QDBusPendingReply<> DebugRemindJob(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);
        return asyncCallWithArgumentList(QStringLiteral("DebugRemindJob"), argumentList);
    }

    inline void DebugRemindJobQueued(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);

        CallQueued(QStringLiteral("DebugRemindJob"), argumentList);
    }


    inline QDBusPendingReply<> DeleteJob(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);
        return asyncCallWithArgumentList(QStringLiteral("DeleteJob"), argumentList);
    }

    inline void DeleteJobQueued(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);

        CallQueued(QStringLiteral("DeleteJob"), argumentList);
    }


    inline QDBusPendingReply<> DeleteType(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);
        return asyncCallWithArgumentList(QStringLiteral("DeleteType"), argumentList);
    }

    inline void DeleteTypeQueued(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);

        CallQueued(QStringLiteral("DeleteType"), argumentList);
    }


    inline QDBusPendingReply<QString> GetJob(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);
        return asyncCallWithArgumentList(QStringLiteral("GetJob"), argumentList);
    }



    inline QDBusPendingReply<QString> GetJobs(int startYear, int startMonth, int startDay, int endYear, int endMonth, int endDay)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(startYear) << QVariant::fromValue(startMonth) << QVariant::fromValue(startDay) << QVariant::fromValue(endYear) << QVariant::fromValue(endMonth) << QVariant::fromValue(endDay);
        return asyncCallWithArgumentList(QStringLiteral("GetJobs"), argumentList);
    }



    inline QDBusPendingReply<QString> GetType(qlonglong id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);
        return asyncCallWithArgumentList(QStringLiteral("GetType"), argumentList);
    }



    inline QDBusPendingReply<QString> GetTypes()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetTypes"), argumentList);
    }



    inline QDBusPendingReply<> UpdateJob(const QString &jobInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(jobInfo);
        return asyncCallWithArgumentList(QStringLiteral("UpdateJob"), argumentList);
    }

    inline void UpdateJobQueued(const QString &jobInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(jobInfo);

        CallQueued(QStringLiteral("UpdateJob"), argumentList);
    }


    inline QDBusPendingReply<> UpdateType(const QString &typeInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(typeInfo);
        return asyncCallWithArgumentList(QStringLiteral("UpdateType"), argumentList);
    }

    inline void UpdateTypeQueued(const QString &typeInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(typeInfo);

        CallQueued(QStringLiteral("UpdateType"), argumentList);
    }



Q_SIGNALS: // SIGNALS
    void JobsUpdated(const QList<qlonglong> &Ids);
    // begin property changed signals

public Q_SLOTS:
    void CallQueued(const QString &callName, const QList<QVariant> &args);

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __SchedulerPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace daemon {
      namespace calendar {
        typedef ::__Scheduler Scheduler;
      }
    }
  }
}
#endif
