Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/X11/extensions/dpms.h @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 69:33d812a61356 |
---|---|
1 /***************************************************************** | |
2 | |
3 Copyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts. | |
4 | |
5 Permission is hereby granted, free of charge, to any person obtaining a copy | |
6 of this software and associated documentation files (the "Software"), to deal | |
7 in the Software without restriction, including without limitation the rights | |
8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
9 copies of the Software. | |
10 | |
11 The above copyright notice and this permission notice shall be included in | |
12 all copies or substantial portions of the Software. | |
13 | |
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
17 DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING, | |
18 BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY, | |
19 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR | |
20 IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
21 | |
22 Except as contained in this notice, the name of Digital Equipment Corporation | |
23 shall not be used in advertising or otherwise to promote the sale, use or other | |
24 dealings in this Software without prior written authorization from Digital | |
25 Equipment Corporation. | |
26 | |
27 ******************************************************************/ | |
28 | |
29 #ifndef _X11_EXTENSIONS_DPMS_H | |
30 #define _X11_EXTENSIONS_DPMS_H 1 | |
31 | |
32 #include <X11/X.h> | |
33 #include <X11/Xmd.h> | |
34 #include <X11/extensions/dpmsconst.h> | |
35 | |
36 #ifndef DPMS_SERVER | |
37 _XFUNCPROTOBEGIN | |
38 | |
39 extern Bool DPMSQueryExtension(Display *, int *, int *); | |
40 extern Status DPMSGetVersion(Display *, int *, int *); | |
41 extern Bool DPMSCapable(Display *); | |
42 extern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16); | |
43 extern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *); | |
44 extern Status DPMSEnable(Display *); | |
45 extern Status DPMSDisable(Display *); | |
46 extern Status DPMSForceLevel(Display *, CARD16); | |
47 extern Status DPMSInfo(Display *, CARD16 *, BOOL *); | |
48 | |
49 _XFUNCPROTOEND | |
50 #endif | |
51 | |
52 #endif /* !_X11_EXTENSIONS_DPMS_H */ | |
53 |