diff --git a/src/xenia/ui/loop_gtk.h b/src/xenia/ui/loop_gtk.h deleted file mode 100644 index 4e24d8915..000000000 --- a/src/xenia/ui/loop_gtk.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - ****************************************************************************** - * Xenia : Xbox 360 Emulator Research Project * - ****************************************************************************** - * Copyright 2016 Ben Vanik. All rights reserved. * - * Released under the BSD license - see LICENSE in the root for more details. * - ****************************************************************************** - */ - -#ifndef XENIA_UI_LOOP_GTK_H_ -#define XENIA_UI_LOOP_GTK_H_ - -#include -#include -#include - -#include "xenia/base/platform_linux.h" -#include "xenia/base/threading.h" -#include "xenia/ui/loop.h" - -namespace xe { -namespace ui { - -class GTKWindow; - -class GTKLoop : public Loop { - public: - GTKLoop(); - ~GTKLoop() override; - - bool is_on_loop_thread() override; - - void Post(std::function fn) override; - void PostDelayed(std::function fn, uint64_t delay_millis) override; - - void Quit() override; - void AwaitQuit() override; - - private: - void ThreadMain(); - - std::thread::id thread_id_; - std::thread thread_; - xe::threading::Fence quit_fence_; -}; - -} // namespace ui -} // namespace xe - -#endif // XENIA_UI_LOOP_GTK_H_