Skip to content
Snippets Groups Projects
Commit ca8eb77e authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

swarm: allow exposing the conversation mode through qml

Change-Id: I945f42bd43bb939e47f41e4a7a5e3b6f64b19603
parent f892f6c5
Branches
No related tags found
No related merge requests found
...@@ -30,8 +30,11 @@ namespace lrc { ...@@ -30,8 +30,11 @@ namespace lrc {
namespace api { namespace api {
namespace conversation { namespace conversation {
Q_NAMESPACE
Q_CLASSINFO("RegisterEnumClassesUnscoped", "false")
enum class Mode { ONE_TO_ONE, ADMIN_INVITES_ONLY, INVITES_ONLY, PUBLIC, NON_SWARM }; enum class Mode { ONE_TO_ONE, ADMIN_INVITES_ONLY, INVITES_ONLY, PUBLIC, NON_SWARM };
Q_ENUM_NS(Mode)
static inline Mode static inline Mode
to_mode(const int intMode) to_mode(const int intMode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment