jpayne@69: /***************************************************************** jpayne@69: jpayne@69: Copyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts. jpayne@69: jpayne@69: Permission is hereby granted, free of charge, to any person obtaining a copy jpayne@69: of this software and associated documentation files (the "Software"), to deal jpayne@69: in the Software without restriction, including without limitation the rights jpayne@69: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell jpayne@69: copies of the Software. jpayne@69: jpayne@69: The above copyright notice and this permission notice shall be included in jpayne@69: all copies or substantial portions of the Software. jpayne@69: jpayne@69: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR jpayne@69: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, jpayne@69: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL jpayne@69: DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING, jpayne@69: BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY, jpayne@69: WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR jpayne@69: IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. jpayne@69: jpayne@69: Except as contained in this notice, the name of Digital Equipment Corporation jpayne@69: shall not be used in advertising or otherwise to promote the sale, use or other jpayne@69: dealings in this Software without prior written authorization from Digital jpayne@69: Equipment Corporation. jpayne@69: jpayne@69: ******************************************************************/ jpayne@69: jpayne@69: #ifndef _X11_EXTENSIONS_DPMS_H jpayne@69: #define _X11_EXTENSIONS_DPMS_H 1 jpayne@69: jpayne@69: #include jpayne@69: #include jpayne@69: #include jpayne@69: jpayne@69: #ifndef DPMS_SERVER jpayne@69: _XFUNCPROTOBEGIN jpayne@69: jpayne@69: extern Bool DPMSQueryExtension(Display *, int *, int *); jpayne@69: extern Status DPMSGetVersion(Display *, int *, int *); jpayne@69: extern Bool DPMSCapable(Display *); jpayne@69: extern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16); jpayne@69: extern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *); jpayne@69: extern Status DPMSEnable(Display *); jpayne@69: extern Status DPMSDisable(Display *); jpayne@69: extern Status DPMSForceLevel(Display *, CARD16); jpayne@69: extern Status DPMSInfo(Display *, CARD16 *, BOOL *); jpayne@69: jpayne@69: _XFUNCPROTOEND jpayne@69: #endif jpayne@69: jpayne@69: #endif /* !_X11_EXTENSIONS_DPMS_H */ jpayne@69: