Commit b357534b authored by Ronan's avatar Ronan
Browse files

fix(MainDb): fix compilation when soci is not enabled

parent 47554237
......@@ -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 &) {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment