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