1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 2 /* 3 * Copyright (C) 2013 Red Hat Inc. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of the 8 * License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, but 11 * WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 /* This file is shared between mutter (src/core/meta-xrandr-shared.h) 20 and gnome-desktop (libgnome-desktop/meta-xrandr-shared.h). 21 22 The canonical place for all changes is mutter. 23 24 There should be no includes in this file. 25 */ 26 27 #ifndef META_XRANDR_SHARED_H 28 #define META_XRANDR_SHARED_H 29 30 typedef enum { 31 META_POWER_SAVE_UNKNOWN = -1, 32 META_POWER_SAVE_ON = 0, 33 META_POWER_SAVE_STANDBY, 34 META_POWER_SAVE_SUSPEND, 35 META_POWER_SAVE_OFF, 36 } MetaPowerSave; 37 38 #define META_OUTPUT_STRUCT "(uxiausauau@a{sv})" 39 #define META_CRTC_STRUCT "(uxiiiiiuau@a{sv})" 40 #define META_MONITOR_MODE_STRUCT "(uxuudu)" 41 #endif 42