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
6e7ae964
Commit
6e7ae964
authored
Aug 17, 2017
by
Ronan
Browse files
feat(enums): use `enum class` instead of `enum`
parent
bbc08352
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
src/enums.h
src/enums.h
+12
-12
No files found.
src/enums.h
View file @
6e7ae964
...
...
@@ -25,20 +25,20 @@
LINPHONE_BEGIN_NAMESPACE
enum
MessageDirection
{
Incoming
Message
,
Outgoing
Message
enum
class
MessageDirection
{
Incoming
,
Outgoing
};
enum
MessageState
{
Idle
MessageState
,
InProgress
MessageState
,
Delivered
MessageState
,
NotDelivered
MessageState
,
FileTransferError
MessageState
,
FileTransferDone
MessageState
,
DeliveredToUser
MessageState
,
Displayed
MessageState
enum
class
MessageState
{
Idle
,
InProgress
,
Delivered
,
NotDelivered
,
FileTransferError
,
FileTransferDone
,
DeliveredToUser
,
Displayed
};
LINPHONE_END_NAMESPACE
...
...
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