mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix(MainDb): fix compilation when soci is not enabled
This commit is contained in:
parent
47554237c1
commit
b357534bfe
1 changed files with 17 additions and 1 deletions
|
|
@ -2060,6 +2060,10 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
return false;
|
||||
}
|
||||
|
||||
bool MainDb::updateEvent (const std::shared_ptr<EventLog> &) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool MainDb::deleteEvent (const shared_ptr<EventLog> &) {
|
||||
return false;
|
||||
}
|
||||
|
|
@ -2068,6 +2072,10 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
return 0;
|
||||
}
|
||||
|
||||
shared_ptr<EventLog> MainDb::getEventFromKey (const MainDbKey &) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
list<shared_ptr<EventLog>> MainDb::getConferenceNotifiedEvents (
|
||||
const ChatRoomId &,
|
||||
unsigned int
|
||||
|
|
@ -2083,6 +2091,14 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
return 0;
|
||||
}
|
||||
|
||||
shared_ptr<ChatMessage> MainDb::getLastChatMessage (const ChatRoomId &) const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
list<std::shared_ptr<ChatMessage>> MainDb::findChatMessages (const ChatRoomId &, const std::string &) const {
|
||||
return list<shared_ptr<ChatMessage>>();
|
||||
}
|
||||
|
||||
void MainDb::markChatMessagesAsRead (const ChatRoomId &) const {}
|
||||
|
||||
list<shared_ptr<ChatMessage>> MainDb::getUnreadChatMessages (const ChatRoomId &) const {
|
||||
|
|
@ -2101,7 +2117,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
return list<shared_ptr<ChatRoom>>();
|
||||
}
|
||||
|
||||
void MainDb::insertChatRoom (const ChatRoomId &, int, const string &) {}
|
||||
void MainDb::insertChatRoom (const shared_ptr<ChatRoom> &) {}
|
||||
|
||||
void MainDb::deleteChatRoom (const ChatRoomId &) {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue