Commit 6e7ae964 authored by Ronan's avatar Ronan
Browse files

feat(enums): use `enum class` instead of `enum`

parent bbc08352
......@@ -25,20 +25,20 @@
LINPHONE_BEGIN_NAMESPACE
enum MessageDirection {
IncomingMessage,
OutgoingMessage
enum class MessageDirection {
Incoming,
Outgoing
};
enum MessageState {
IdleMessageState,
InProgressMessageState,
DeliveredMessageState,
NotDeliveredMessageState,
FileTransferErrorMessageState,
FileTransferDoneMessageState,
DeliveredToUserMessageState,
DisplayedMessageState
enum class MessageState {
Idle,
InProgress,
Delivered,
NotDelivered,
FileTransferError,
FileTransferDone,
DeliveredToUser,
Displayed
};
LINPHONE_END_NAMESPACE
......
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