File indexing completed on 2024-05-12 05:02:13
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include "libruqolacore_export.h" 0009 #include "videoconferenceinfo.h" 0010 #include <QObject> 0011 class RocketChatAccount; 0012 class LIBRUQOLACORE_EXPORT UpdateVideoConferenceMessageJob : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit UpdateVideoConferenceMessageJob(QObject *parent = nullptr); 0017 ~UpdateVideoConferenceMessageJob() override; 0018 0019 [[nodiscard]] bool canStart() const; 0020 void start(); 0021 0022 [[nodiscard]] VideoConferenceInfo videoConferenceInfo() const; 0023 void setVideoConferenceInfo(const VideoConferenceInfo &newVideoConferenceInfo); 0024 0025 [[nodiscard]] RocketChatAccount *rocketChatAccount() const; 0026 void setRocketChatAccount(RocketChatAccount *newRocketChatAccount); 0027 0028 private: 0029 VideoConferenceInfo mVideoConferenceInfo; 0030 RocketChatAccount *mRocketChatAccount = nullptr; 0031 };