summaryrefslogtreecommitdiff
path: root/src/meta-private-enum-types.h.in
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-04-21 16:54:54 +0200
committerJonas Ådahl <jadahl@gmail.com>2020-07-30 09:51:16 +0200
commit14cd78a0161c8598d46ec0874a86bed7fc4b67ef (patch)
tree268109ece770a5ede0ae9ce8a4292e5b95e0ee00 /src/meta-private-enum-types.h.in
parent109fbdbac9eb6e42fbc510d3e205589a8c8268ec (diff)
downloadmutter-14cd78a0161c8598d46ec0874a86bed7fc4b67ef.tar.gz
screen-cast: Add screen cast flag to streams
Intended to be used to pass state from screen cast clients down the line. The first use case will be a boolean whether a screen cast is a plain recording or not, e.g. letting the Shell decide whether to use a red dot as the icon, or the generic "sharing" symbol. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1377
Diffstat (limited to 'src/meta-private-enum-types.h.in')
-rw-r--r--src/meta-private-enum-types.h.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/meta-private-enum-types.h.in b/src/meta-private-enum-types.h.in
new file mode 100644
index 000000000..2427a0c68
--- /dev/null
+++ b/src/meta-private-enum-types.h.in
@@ -0,0 +1,25 @@
+/*** BEGIN file-header ***/
+#ifndef META_PRIVATE_ENUM_TYPES_H
+#define META_PRIVATE_ENUM_TYPES_H
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+/*** END file-header ***/
+
+/*** BEGIN file-production ***/
+/* enumerations from "@basename@" */
+/*** END file-production ***/
+
+/*** BEGIN file-tail ***/
+G_END_DECLS
+
+#endif /* !__MUTTER_ENUM_TYPES_H__ */
+/*** END file-tail ***/
+
+/*** BEGIN value-header ***/
+GType @enum_name@_get_type (void) G_GNUC_CONST;
+#define META_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
+
+/*** END value-header ***/