diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 03:48:01 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 03:48:01 +0000 |
commit | 1defe5c4379d711940d731d98ade7c5cb2dbffea (patch) | |
tree | eadcd9521b0958095f641bb77c38a433d3f39c12 /dpms.h | |
parent | da24110547ed45c08d707dbffb2972f043dbc1b1 (diff) | |
download | xorg-proto-xextproto-XORG-6_8_2.tar.gz |
//bugs.freedesktop.org/show_bug.cgi?id=830) attachment #1492XORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8-branch
(https://bugs.freedesktop.org/attachment.cgi?id=1492): Get DPMS header
file (include/extensions/dpms.h) working with C++ applications. Patch
by Kevin DeKorte <kdekorte@yahoo.com> and Roland Mainz
<roland.mainz@nrubsig.org>.
Diffstat (limited to 'dpms.h')
-rw-r--r-- | dpms.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -28,6 +28,9 @@ Equipment Corporation. ******************************************************************/ /* $XFree86: xc/include/extensions/dpms.h,v 3.4 2000/03/15 16:51:51 tsi Exp $ */ +#ifndef _X11_EXTENSIONS_DPMS_H +#define _X11_EXTENSIONS_DPMS_H 1 + /* * HISTORY */ @@ -46,6 +49,8 @@ Equipment Corporation. #include <X11/X.h> #include <X11/Xmd.h> +_XFUNCPROTOBEGIN + extern Bool DPMSQueryExtension(Display *, int *, int *); extern Status DPMSGetVersion(Display *, int *, int *); extern Bool DPMSCapable(Display *); @@ -55,6 +60,8 @@ extern Status DPMSEnable(Display *); extern Status DPMSDisable(Display *); extern Status DPMSForceLevel(Display *, CARD16); extern Status DPMSInfo(Display *, CARD16 *, BOOL *); -#endif +_XFUNCPROTOEND +#endif /* !DPMS_SERVER */ +#endif /* !_X11_EXTENSIONS_DPMS_H */ |