Commit ca8eb77e authored by Andreas Traczyk's avatar Andreas Traczyk

swarm: allow exposing the conversation mode through qml

Change-Id: I945f42bd43bb939e47f41e4a7a5e3b6f64b19603
parent f892f6c5
......@@ -30,8 +30,11 @@ namespace lrc {
namespace api {
namespace conversation {
Q_NAMESPACE
Q_CLASSINFO("RegisterEnumClassesUnscoped", "false")
enum class Mode { ONE_TO_ONE, ADMIN_INVITES_ONLY, INVITES_ONLY, PUBLIC, NON_SWARM };
Q_ENUM_NS(Mode)
static inline Mode
to_mode(const int intMode)
......
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