mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 21:47:57 +00:00
General: Tidy up includes
Alphabetizes includes and resolves quite a few instances of indirect inclusions, making the requirements of several interfaces explicit. This also trims out includes that aren't actually necessary (likely due to changes in the API over time).
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
#include <AppKit/AppKit.h>
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include "boo/IApplication.hpp"
|
||||
#include "boo/graphicsdev/Metal.hpp"
|
||||
#include "CocoaCommon.hpp"
|
||||
#include "../Common.hpp"
|
||||
#include "lib/Common.hpp"
|
||||
#include "lib/mac/CocoaCommon.hpp"
|
||||
|
||||
#include "logvisor/logvisor.hpp"
|
||||
#include <logvisor/logvisor.hpp>
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
#error ARC Required
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
#include <Metal/Metal.h>
|
||||
#include <QuartzCore/CAMetalLayer.h>
|
||||
#include <unordered_map>
|
||||
|
||||
#include <mutex>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace boo {
|
||||
class IWindow;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#include "boo/graphicsdev/Metal.hpp"
|
||||
#include "CocoaCommon.hpp"
|
||||
|
||||
#include "boo/IApplication.hpp"
|
||||
#include "boo/IGraphicsContext.hpp"
|
||||
#include "boo/IWindow.hpp"
|
||||
#include "boo/audiodev/IAudioVoiceEngine.hpp"
|
||||
#include "lib/mac/CocoaCommon.hpp"
|
||||
|
||||
#include <condition_variable>
|
||||
#include <memory>
|
||||
|
||||
Reference in New Issue
Block a user