put version(USE_XCB): to all xcb files

This commit is contained in:
Vadim Lopatin 2014-12-05 14:55:36 +03:00
parent ac230392d7
commit 7c70116c91
29 changed files with 29 additions and 0 deletions

1
3rdparty/X11/X.d vendored
View File

@ -7,6 +7,7 @@
*/
module std.c.linux.X11.X;
version(USE_XCB):
const uint X_PROTOCOL=11; /* current protocol version */
const uint X_PROTOCOL_REVISION=0; /* current minor version */

1
3rdparty/X11/Xlib.d vendored
View File

@ -12,6 +12,7 @@
*/
module std.c.linux.X11.Xlib;
version(USE_XCB):
public import std.c.linux.X11.X;
const int XlibSpecificationRelease=6;

View File

@ -114,6 +114,7 @@ const XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*\/\*\(U+([0-9A-F]{4,6}) = (.*)\)\*\/\
*/
module std.c.linux.X11.keysymdef;
version(USE_XCB):
const XK_VoidSymbol = 0xffffff; /* Void symbol */

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.bigreq;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.composite;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.damage;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.dpms;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -1,4 +1,5 @@
module std.c.linux.X11.xcb.examle;
version(USE_XCB):
/* build with: dmd xcb.d xproto.d example.d -L-lxcb */

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.glx;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -1,5 +1,6 @@
// Manually created
module std.c.linux.X11.xcb.image;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.shm;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.randr;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.record;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.render;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.res;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.screensaver;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.shape;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.shm;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.sync;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xc_misc;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -26,6 +26,7 @@
*/
module std.c.linux.X11.xcb.xcb;
version(USE_XCB):
/* Include the generated xproto module. */
import std.c.linux.X11.xcb.xproto;
/*#include <sys/uio.h>

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xevie;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xf86dri;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xfixes;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xinerama;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xprint;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xproto;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xtest;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xv;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xproto;

View File

@ -11,6 +11,7 @@
module std.c.linux.X11.xcb.xvmc;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
import std.c.linux.X11.xcb.xv;