Skip to content

Commit 45200ea

Browse files
committed
Expose plugin enum names to documentation
1 parent 49b16f5 commit 45200ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engraving/api/v1/qmlpluginapi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class MsProcess;
5252
class Score;
5353

5454
#define DECLARE_API_ENUM(qmlName, cppName, enumName) \
55+
/** Accessed using qmlName.VALUE*/ \
5556
Q_PROPERTY(mu::engraving::apiv1::Enum * qmlName READ get_##cppName CONSTANT) \
5657
static Enum* cppName; \
5758
static Enum* get_##cppName() { \
@@ -61,6 +62,7 @@ class Score;
6162
}
6263

6364
#define DECLARE_API_ENUM2(qmlName, cppName, enumName1, enumName2) \
65+
/** Accessed using qmlName.VALUE*/ \
6466
Q_PROPERTY(mu::engraving::apiv1::Enum * qmlName READ get_##cppName CONSTANT) \
6567
static Enum* cppName; \
6668
static Enum* get_##cppName() { \

0 commit comments

Comments
 (0)