74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* $Xorg: dpms.h,v 1.3 2000/08/18 04:05:45 coskrey Exp $ */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/*****************************************************************
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncCopyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncPermission is hereby granted, free of charge, to any person obtaining a copy
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncof this software and associated documentation files (the "Software"), to deal
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncin the Software without restriction, including without limitation the rights
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynccopies of the Software.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncThe above copyright notice and this permission notice shall be included in
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncall copies or substantial portions of the Software.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncDIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncBUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncIN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncExcept as contained in this notice, the name of Digital Equipment Corporation
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncshall not be used in advertising or otherwise to promote the sale, use or other
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncdealings in this Software without prior written authorization from Digital
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncEquipment Corporation.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync******************************************************************/
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* $XFree86: xc/include/extensions/dpms.h,v 3.5 2001/01/17 17:53:20 dawes Exp $ */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/*
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * HISTORY
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/*
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * @(#)RCSfile: dpms.h,v Revision: 1.1.4.2 (DEC) Date: 1995/11/21 19:34:17
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#define DPMSModeOn 0
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#define DPMSModeStandby 1
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#define DPMSModeSuspend 2
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#define DPMSModeOff 3
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#ifndef DPMS_SERVER
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#include <X11/X.h>
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#include <X11/Xmd.h>
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Bool DPMSQueryExtension(Display *, int *, int *);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Status DPMSGetVersion(Display *, int *, int *);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Bool DPMSCapable(Display *);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Status DPMSEnable(Display *);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Status DPMSDisable(Display *);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Status DPMSForceLevel(Display *, CARD16);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncextern Status DPMSInfo(Display *, CARD16 *, BOOL *);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#endif
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync