/
Shymer123
/
Messenger
Обзор
Документация
Войти
/
Shymer123
/
Messenger
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
UI_Client/SourceFiles/Processes/updatedOther/UpdatedOtherProcess.h
28 строк
631 B
Shymer123
the code has been refactored (now there are no incomprehensible 'UserRole + n') so far only in the list of chats and the list of messages
09 май 2025, 05:48
09 май 2025, 05:48
f0d1c4e
Код
Авторство
О чём код?
#ifndef UPDATEDOTHERPROCESS_H #define UPDATEDOTHERPROCESS_H #include "SharedEnums/ChatTypes.h" #include <QObject> class CommunicationHandler; class MessageData; namespace Processes { class UpdatedOtherProcess : public QObject { Q_OBJECT public: UpdatedOtherProcess(); ~UpdatedOtherProcess(); void fetchParticipantsID(const int& chatID, const ChatTypes& chatType, std::function<void(const std::vector<int>& participants)> callback); private: CommunicationHandler* m_communicationHandler = nullptr; int m_userID; }; } // namespace Processes #endif // UPDATEDOTHERPROCESS_H