Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
b357534b
Commit
b357534b
authored
Nov 30, 2017
by
Ronan
Browse files
fix(MainDb): fix compilation when soci is not enabled
parent
47554237
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
src/db/main-db.cpp
src/db/main-db.cpp
+17
-1
No files found.
src/db/main-db.cpp
View file @
b357534b
...
...
@@ -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
&
)
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment