]> source.dussan.org Git - tigervnc.git/commit
Restructure Xvnc/libvnc.so code to avoid C++ header hacks
authorPierre Ossman <ossman@cendio.se>
Mon, 26 Jan 2015 13:37:04 +0000 (14:37 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 26 Jan 2015 14:14:33 +0000 (15:14 +0100)
commitf8e3b34c69b848781b958c7a4d21175ddc6f90d8
treef2aec3ca936379cd910099f4be94a1e023ae4e88
parentcc3179046eb9b0a5e9f27572de1195ac8acf4766
Restructure Xvnc/libvnc.so code to avoid C++ header hacks

The internal Xorg headers are very incompatible with C++ and we've had
to resort to all kinds of hacks in order to include them in our C++
code. This approach isn't really viable long term so restructure things
so that we have a glue layer written in C that bridges the Xorg core
with the RFB classes.
31 files changed:
common/rfb/ServerCore.cxx
common/rfb/ServerCore.h
common/rfb/VNCSConnectionST.cxx
common/rfb/VNCSConnectionST.h
unix/xserver/hw/vnc/Input.c [new file with mode: 0644]
unix/xserver/hw/vnc/Input.cc [deleted file]
unix/xserver/hw/vnc/Input.h
unix/xserver/hw/vnc/InputCore.c [new file with mode: 0644]
unix/xserver/hw/vnc/InputCore.cc [deleted file]
unix/xserver/hw/vnc/InputXKB.c [new file with mode: 0644]
unix/xserver/hw/vnc/InputXKB.cc [deleted file]
unix/xserver/hw/vnc/Makefile.am
unix/xserver/hw/vnc/RFBGlue.cc [new file with mode: 0644]
unix/xserver/hw/vnc/RFBGlue.h [new file with mode: 0644]
unix/xserver/hw/vnc/RegionHelper.h [deleted file]
unix/xserver/hw/vnc/XorgGlue.c [new file with mode: 0644]
unix/xserver/hw/vnc/XorgGlue.h [new file with mode: 0644]
unix/xserver/hw/vnc/XserverDesktop.cc
unix/xserver/hw/vnc/XserverDesktop.h
unix/xserver/hw/vnc/vncBlockHandler.c [new file with mode: 0644]
unix/xserver/hw/vnc/vncBlockHandler.h [new file with mode: 0644]
unix/xserver/hw/vnc/vncExt.c [new file with mode: 0644]
unix/xserver/hw/vnc/vncExtInit.cc
unix/xserver/hw/vnc/vncExtInit.h
unix/xserver/hw/vnc/vncHooks.c [new file with mode: 0644]
unix/xserver/hw/vnc/vncHooks.cc [deleted file]
unix/xserver/hw/vnc/vncHooks.h
unix/xserver/hw/vnc/vncModule.c [new file with mode: 0644]
unix/xserver/hw/vnc/xf86vncModule.cc [deleted file]
unix/xserver/hw/vnc/xvnc.c [new file with mode: 0644]
unix/xserver/hw/vnc/xvnc.cc [deleted file]