dpms.h revision 485f0483
1485f0483Smrg/* $Xorg: dpms.h,v 1.3 2000/08/18 04:05:45 coskrey Exp $ */
2485f0483Smrg/*****************************************************************
3485f0483Smrg
4485f0483SmrgCopyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts.
5485f0483Smrg
6485f0483SmrgPermission is hereby granted, free of charge, to any person obtaining a copy
7485f0483Smrgof this software and associated documentation files (the "Software"), to deal
8485f0483Smrgin the Software without restriction, including without limitation the rights
9485f0483Smrgto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10485f0483Smrgcopies of the Software.
11485f0483Smrg
12485f0483SmrgThe above copyright notice and this permission notice shall be included in
13485f0483Smrgall copies or substantial portions of the Software.
14485f0483Smrg
15485f0483SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16485f0483SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17485f0483SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18485f0483SmrgDIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
19485f0483SmrgBUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
20485f0483SmrgWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
21485f0483SmrgIN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22485f0483Smrg
23485f0483SmrgExcept as contained in this notice, the name of Digital Equipment Corporation
24485f0483Smrgshall not be used in advertising or otherwise to promote the sale, use or other
25485f0483Smrgdealings in this Software without prior written authorization from Digital
26485f0483SmrgEquipment Corporation.
27485f0483Smrg
28485f0483Smrg******************************************************************/
29485f0483Smrg/* $XFree86: xc/include/extensions/dpms.h,v 3.4 2000/03/15 16:51:51 tsi Exp $ */
30485f0483Smrg
31485f0483Smrg#ifndef _X11_EXTENSIONS_DPMS_H
32485f0483Smrg#define _X11_EXTENSIONS_DPMS_H 1
33485f0483Smrg
34485f0483Smrg#include <X11/X.h>
35485f0483Smrg#include <X11/Xmd.h>
36485f0483Smrg#include <X11/extensions/dpmsconst.h>
37485f0483Smrg
38485f0483Smrg_XFUNCPROTOBEGIN
39485f0483Smrg
40485f0483Smrgextern Bool DPMSQueryExtension(Display *, int *, int *);
41485f0483Smrgextern Status DPMSGetVersion(Display *, int *, int *);
42485f0483Smrgextern Bool DPMSCapable(Display *);
43485f0483Smrgextern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16);
44485f0483Smrgextern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
45485f0483Smrgextern Status DPMSEnable(Display *);
46485f0483Smrgextern Status DPMSDisable(Display *);
47485f0483Smrgextern Status DPMSForceLevel(Display *, CARD16);
48485f0483Smrgextern Status DPMSInfo(Display *, CARD16 *, BOOL *);
49485f0483Smrg
50485f0483Smrg_XFUNCPROTOEND
51485f0483Smrg
52485f0483Smrg#endif /* !_X11_EXTENSIONS_DPMS_H */
53485f0483Smrg
54