update to new rmmi

This commit is contained in:
Green Sky 2024-10-06 11:14:54 +02:00
parent 1a3d9dd187
commit 8f8b907fe6
No known key found for this signature in database
4 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@
#include <iostream>
#include <variant>
ToxMessageManager::ToxMessageManager(RegistryMessageModel& rmm, Contact3Registry& cr, ToxContactModel2& tcm, ToxI& t, ToxEventProviderI& tep) : _rmm(rmm), _cr(cr), _tcm(tcm), _t(t) {
ToxMessageManager::ToxMessageManager(RegistryMessageModelI& rmm, Contact3Registry& cr, ToxContactModel2& tcm, ToxI& t, ToxEventProviderI& tep) : _rmm(rmm), _cr(cr), _tcm(tcm), _t(t) {
// TODO: system messages?
//tep.subscribe(this, Tox_Event::TOX_EVENT_FRIEND_CONNECTION_STATUS);
//tep.subscribe(this, Tox_Event::TOX_EVENT_FRIEND_STATUS);

View File

@ -9,13 +9,13 @@ struct ToxI;
class ToxMessageManager : public RegistryMessageModelEventI, public ToxEventI {
protected:
RegistryMessageModel& _rmm;
RegistryMessageModelI& _rmm;
Contact3Registry& _cr;
ToxContactModel2& _tcm;
ToxI& _t;
public:
ToxMessageManager(RegistryMessageModel& rmm, Contact3Registry& cr, ToxContactModel2& tcm, ToxI& t, ToxEventProviderI& tep);
ToxMessageManager(RegistryMessageModelI& rmm, Contact3Registry& cr, ToxContactModel2& tcm, ToxI& t, ToxEventProviderI& tep);
virtual ~ToxMessageManager(void);
public: // mm3

View File

@ -76,7 +76,7 @@ ObjectHandle ToxTransferManager::toxFriendLookupReceiving(const uint32_t friend_
}
ToxTransferManager::ToxTransferManager(
RegistryMessageModel& rmm,
RegistryMessageModelI& rmm,
Contact3Registry& cr,
ToxContactModel2& tcm,
ToxI& t,

View File

@ -23,7 +23,7 @@ class ToxTransferManager : public RegistryMessageModelEventI, public ObjectStore
static constexpr const char* version {"2"};
protected:
RegistryMessageModel& _rmm;
RegistryMessageModelI& _rmm;
Contact3Registry& _cr;
ToxContactModel2& _tcm;
ToxI& _t;
@ -44,7 +44,7 @@ class ToxTransferManager : public RegistryMessageModelEventI, public ObjectStore
public:
ToxTransferManager(
RegistryMessageModel& rmm,
RegistryMessageModelI& rmm,
Contact3Registry& cr,
ToxContactModel2& tcm,
ToxI& t,