From be09530f849ec00001fc0575816030b7a5dde05c Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Tue, 7 Dec 2004 23:37:37 +0000 Subject: //bugs.freedesktop.org/show_bug.cgi?id=830): Get DPMS header file (include/extensions/dpms.h) working with C++ applications. Patch by Kevin DeKorte and Roland Mainz . --- dpms.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dpms.h b/dpms.h index 4f1d70f..7555f4a 100644 --- a/dpms.h +++ b/dpms.h @@ -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 #include +_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 */ -- cgit v1.2.1