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-display-config-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_DISPLAY_CONFIG_SHARED_H 28 #define META_DISPLAY_CONFIG_SHARED_H 29 30 typedef enum 31 { 32 META_POWER_SAVE_UNSUPPORTED = -1, 33 META_POWER_SAVE_ON = 0, 34 META_POWER_SAVE_STANDBY, 35 META_POWER_SAVE_SUSPEND, 36 META_POWER_SAVE_OFF, 37 } MetaPowerSave; 38 39 #endif /* META_DISPLAY_CONFIG_SHARED_H */ 40