VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/4.3/include/extensions/dpms.h@ 25452

Last change on this file since 25452 was 25452, checked in by vboxsync, 15 years ago

Additions/x11: added include files needed for building vboxmouse with XFree86 4.3 and equivalent X.Org versions

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1/* $Xorg: dpms.h,v 1.3 2000/08/18 04:05:45 coskrey Exp $ */
2/*****************************************************************
3
4Copyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts.
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to deal
8in the Software without restriction, including without limitation the rights
9to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10copies of the Software.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
19BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
21IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
23Except as contained in this notice, the name of Digital Equipment Corporation
24shall not be used in advertising or otherwise to promote the sale, use or other
25dealings in this Software without prior written authorization from Digital
26Equipment Corporation.
27
28******************************************************************/
29/* $XFree86: xc/include/extensions/dpms.h,v 3.5 2001/01/17 17:53:20 dawes Exp $ */
30
31/*
32 * HISTORY
33 */
34/*
35 * @(#)RCSfile: dpms.h,v Revision: 1.1.4.2 (DEC) Date: 1995/11/21 19:34:17
36 */
37
38
39#define DPMSModeOn 0
40#define DPMSModeStandby 1
41#define DPMSModeSuspend 2
42#define DPMSModeOff 3
43
44#ifndef DPMS_SERVER
45
46#include <X11/X.h>
47#include <X11/Xmd.h>
48
49extern Bool DPMSQueryExtension(Display *, int *, int *);
50extern Status DPMSGetVersion(Display *, int *, int *);
51extern Bool DPMSCapable(Display *);
52extern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16);
53extern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
54extern Status DPMSEnable(Display *);
55extern Status DPMSDisable(Display *);
56extern Status DPMSForceLevel(Display *, CARD16);
57extern Status DPMSInfo(Display *, CARD16 *, BOOL *);
58#endif
59
60
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette