update to new contact api, stubs only
This commit is contained in:
@@ -70,11 +70,25 @@ bool IRCClientContactModel::addContact(Contact4 c) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// irc provides invites
|
||||
bool IRCClientContactModel::acceptRequest(Contact4 c, std::string_view self_name, std::string_view password) {
|
||||
// TODO: implement
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IRCClientContactModel::leave(Contact4 c, std::string_view reason) {
|
||||
// TODO: implement
|
||||
return false;
|
||||
}
|
||||
|
||||
// irc provides invite
|
||||
bool IRCClientContactModel::invite(Contact4 c, Contact4 to) {
|
||||
// TODO: implement
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IRCClientContactModel::canInvite(Contact4 c, Contact4 to) {
|
||||
// TODO: implement
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -12,8 +12,6 @@
|
||||
#include <queue>
|
||||
#include <cstdint>
|
||||
|
||||
#include <iostream> // tmp
|
||||
|
||||
class IRCClientContactModel : public IRCClientEventI, public ContactModel4I {
|
||||
ContactStore4I& _cs;
|
||||
ConfigModelI& _conf;
|
||||
@@ -45,6 +43,8 @@ class IRCClientContactModel : public IRCClientEventI, public ContactModel4I {
|
||||
bool addContact(Contact4 c) override;
|
||||
bool acceptRequest(Contact4 c, std::string_view self_name, std::string_view password) override;
|
||||
bool leave(Contact4 c, std::string_view reason) override;
|
||||
bool invite(Contact4 c, Contact4 to) override;
|
||||
bool canInvite(Contact4 c, Contact4 to) override;
|
||||
|
||||
private:
|
||||
// just the hash algo
|
||||
|
Reference in New Issue
Block a user