[gnome-flashback] backends: add gf-display-config-shared.h



commit f46a6b33765cb7824860ed1d23aa3d8b842c61a7
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 10 14:46:18 2017 +0300

    backends: add gf-display-config-shared.h

 backends/Makefile.am                |    1 +
 backends/gf-display-config-shared.h |   40 +++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/backends/Makefile.am b/backends/Makefile.am
index 50c72ba..27cb3d9 100644
--- a/backends/Makefile.am
+++ b/backends/Makefile.am
@@ -29,6 +29,7 @@ libbackends_la_SOURCES = \
        gf-backend-x11.c \
        gf-backend.c \
        gf-backend.h \
+       gf-display-config-shared.h \
        gf-edid-parse.c \
        gf-edid-private.h \
        gf-monitor-manager-dummy-private.h \
diff --git a/backends/gf-display-config-shared.h b/backends/gf-display-config-shared.h
new file mode 100644
index 0000000..bea9392
--- /dev/null
+++ b/backends/gf-display-config-shared.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2013 Red Hat Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*
+ * This file is shared between mutter (src/core/meta-display-config-shared.h)
+ * and gnome-desktop (libgnome-desktop/meta-xrandr-shared.h).
+ *
+ * The canonical place for all changes is mutter.
+ *
+ * There should be no includes in this file.
+ */
+
+#ifndef GF_DISPLAY_CONFIG_SHARED_H
+#define GF_DISPLAY_CONFIG_SHARED_H
+
+typedef enum
+{
+  GF_POWER_SAVE_UNSUPPORTED = -1,
+
+  GF_POWER_SAVE_ON = 0,
+  GF_POWER_SAVE_STANDBY,
+  GF_POWER_SAVE_SUSPEND,
+  GF_POWER_SAVE_OFF,
+} GfPowerSave;
+
+#endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]