// SPDX-FileCopyrightText: 2019 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later //#include "cscheduledbusstub.h" //#include "cscheduledbus.h" //#include //qint64 CreateJob_stub(void *obj, const ScheduleDataInfo &info) //{ // Q_UNUSED(obj) // Q_UNUSED(info) // return 1; //} //bool UpdateJob_stub(void *obj, const ScheduleDataInfo &info) //{ // Q_UNUSED(obj) // Q_UNUSED(info) // return true; //} //bool DeleteJob_stub(void *obj, qint64 jobId) //{ // Q_UNUSED(obj) // Q_UNUSED(jobId) // return true; //} //bool GetJob_stub(void *obj, qint64 jobId, ScheduleDataInfo &out) //{ // Q_UNUSED(obj) // Q_UNUSED(jobId) // Q_UNUSED(out) // return true; //} //bool QueryJobs_stub(void *obj, QString key, QDateTime starttime, QDateTime endtime, QMap> &out) //{ // Q_UNUSED(obj) // Q_UNUSED(key) // Q_UNUSED(starttime) // Q_UNUSED(endtime) // Q_UNUSED(out) // return true; //} //void cscheduleDbusStub(Stub &stub) //{ // stub.set(ADDR(CScheduleDBus, CreateJob), CreateJob_stub); // stub.set(ADDR(CScheduleDBus, UpdateJob), UpdateJob_stub); // stub.set(ADDR(CScheduleDBus, DeleteJob), DeleteJob_stub); // stub.set(ADDR(CScheduleDBus, GetJob), GetJob_stub); // stub.set((bool (CScheduleDBus::*)(QString, QDateTime, QDateTime, QMap> &))ADDR(CScheduleDBus, QueryJobs), QueryJobs_stub); //}