From f8093cb1e04a4ae78ed2a358ec2e7b403ae2bcda Mon Sep 17 00:00:00 2001 From: Doug Johnson Date: Thu, 12 May 2016 01:45:06 -0600 Subject: [PATCH] Add gtk and x11 headers to linux specific platform header --- src/xenia/base/platform_linux.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/xenia/base/platform_linux.h diff --git a/src/xenia/base/platform_linux.h b/src/xenia/base/platform_linux.h new file mode 100644 index 000000000..dd2ecb66d --- /dev/null +++ b/src/xenia/base/platform_linux.h @@ -0,0 +1,30 @@ +/** + ****************************************************************************** + * Xenia : Xbox 360 Emulator Research Project * + ****************************************************************************** + * Copyright 2015 Ben Vanik. All rights reserved. * + * Released under the BSD license - see LICENSE in the root for more details. * + ****************************************************************************** + */ + +#ifndef XENIA_BASE_PLATFORM_X11_H_ +#define XENIA_BASE_PLATFORM_X11_H_ + +// NOTE: if you're including this file it means you are explicitly depending +// on Linux headers. Including this file outside of linux platform specific +// source code will break portability + +#include "xenia/base/platform.h" + +// Xlib is used only for GLX interaction, the window management and input +// events are done with gtk/gdk +#include +#include +#include + +//Used for window management. Gtk is for GUI and wigets, gdk is for lower +//level events like key presses, mouse events, etc +#include +#include + +#endif // XENIA_BASE_PLATFORM_X11_H_