ruby.cpp 715 B

12345678910111213141516171819202122232425262728293031
  1. #include <ruby/ruby.hpp>
  2. using namespace nall;
  3. using namespace ruby;
  4. #undef deprecated
  5. #undef mkdir
  6. #undef noinline
  7. #undef usleep
  8. #if defined(DISPLAY_XORG)
  9. #include <X11/Xlib.h>
  10. #include <X11/Xutil.h>
  11. #include <X11/Xatom.h>
  12. #include <X11/extensions/Xrandr.h>
  13. #elif defined(DISPLAY_QUARTZ)
  14. #include <nall/macos/guard.hpp>
  15. #include <Cocoa/Cocoa.h>
  16. #include <Carbon/Carbon.h>
  17. #include <CoreFoundation/CoreFoundation.h>
  18. #include <IOKit/IOKitLib.h>
  19. #include <IOKit/graphics/IOGraphicsLib.h>
  20. #include <nall/macos/guard.hpp>
  21. #elif defined(DISPLAY_WINDOWS)
  22. #define far
  23. #include <mmsystem.h>
  24. #endif
  25. #include <ruby/video/video.cpp>
  26. #include <ruby/audio/audio.cpp>
  27. #include <ruby/input/input.cpp>