Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
5eca36e0
Commit
5eca36e0
authored
Oct 03, 2017
by
Sylvain Berfini
🎩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unusued method on ChatMessage
parent
cde7d0de
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
22 deletions
+0
-22
src/c-wrapper/api/c-chat-message.cpp
src/c-wrapper/api/c-chat-message.cpp
+0
-8
src/chat/chat-message-p.h
src/chat/chat-message-p.h
+0
-1
src/chat/chat-message.cpp
src/chat/chat-message.cpp
+0
-10
src/chat/chat-message.h
src/chat/chat-message.h
+0
-3
No files found.
src/c-wrapper/api/c-chat-message.cpp
View file @
5eca36e0
...
...
@@ -204,14 +204,6 @@ void linphone_chat_message_set_file_transfer_filepath(LinphoneChatMessage *msg,
L_GET_CPP_PTR_FROM_C_OBJECT
(
msg
)
->
setFileTransferFilepath
(
L_C_TO_STRING
(
filepath
));
}
bool_t
linphone_chat_message_get_to_be_stored
(
const
LinphoneChatMessage
*
msg
)
{
return
L_GET_CPP_PTR_FROM_C_OBJECT
(
msg
)
->
isToBeStored
();
}
void
linphone_chat_message_set_to_be_stored
(
LinphoneChatMessage
*
msg
,
bool_t
to_be_stored
)
{
L_GET_CPP_PTR_FROM_C_OBJECT
(
msg
)
->
setIsToBeStored
(
!!
to_be_stored
);
}
belle_http_request_t
*
linphone_chat_message_get_http_request
(
LinphoneChatMessage
*
msg
)
{
return
L_GET_PRIVATE_FROM_C_OBJECT
(
msg
)
->
getHttpRequest
();
}
...
...
src/chat/chat-message-p.h
View file @
5eca36e0
...
...
@@ -117,7 +117,6 @@ private:
std
::
string
rttMessage
=
""
;
bool
isSecured
=
false
;
bool
isReadOnly
=
false
;
bool
isToBeStored
=
false
;
std
::
list
<
std
::
shared_ptr
<
Content
>
>
contents
;
std
::
shared_ptr
<
Content
>
internalContent
;
std
::
unordered_map
<
std
::
string
,
std
::
string
>
customHeaders
;
...
...
src/chat/chat-message.cpp
View file @
5eca36e0
...
...
@@ -1283,16 +1283,6 @@ void ChatMessage::setFileTransferFilepath(const string &path) {
d
->
fileTransferFilePath
=
path
;
}
bool
ChatMessage
::
isToBeStored
()
const
{
L_D
();
return
d
->
isToBeStored
;
}
void
ChatMessage
::
setIsToBeStored
(
bool
store
)
{
L_D
();
d
->
isToBeStored
=
store
;
}
// -----------------------------------------------------------------------------
const
LinphoneErrorInfo
*
ChatMessage
::
getErrorInfo
()
const
{
...
...
src/chat/chat-message.h
View file @
5eca36e0
...
...
@@ -129,9 +129,6 @@ public:
const
std
::
string
&
getFileTransferFilepath
()
const
;
void
setFileTransferFilepath
(
const
std
::
string
&
path
);
bool
isToBeStored
()
const
;
void
setIsToBeStored
(
bool
store
);
const
LinphoneErrorInfo
*
getErrorInfo
()
const
;
bool
isReadOnly
()
const
;
...
...
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