1
0
Fork 0

Explicit AppKit includes for Mac.

This commit is contained in:
James Turner 2015-04-11 21:59:23 +01:00
parent c8c2da9448
commit c07ce6d9bc
5 changed files with 12 additions and 6 deletions

View file

@ -20,8 +20,8 @@
#include "CocoaFileDialog.hxx"
// bring it all in!
#include <Cocoa/Cocoa.h>
#include <AppKit/NSSavePanel.h>
#include <AppKit/NSOpenPanel.h>
#include <boost/foreach.hpp>

View file

@ -24,8 +24,11 @@
#include <string>
// OS
#include <Cocoa/Cocoa.h>
#include <Foundation/NSAutoreleasePool.h>
#include <Foundation/NSURL.h>
#include <Foundation/NSFileManager.h>
#include <AppKit/NSAlert.h>
// simgear
#include <simgear/misc/sg_path.hxx>

View file

@ -19,7 +19,9 @@
#include "CocoaMouseCursor.hxx"
#include <Cocoa/Cocoa.h>
#include <AppKit/NSImage.h>
#include <AppKit/NSCursor.h>
#include <map>
#include <Main/globals.hxx>

View file

@ -1,6 +1,6 @@
#include "FGCocoaMenuBar.hxx"
#include <Cocoa/Cocoa.h>
#include <AppKit/NSMenu.h>
#include <boost/foreach.hpp>

View file

@ -22,7 +22,8 @@
#include <simgear/debug/logstream.hxx>
#include <Cocoa/Cocoa.h>
#include <AppKit/NSPasteboard.h>
#include <Foundation/NSArray.h>
#include <GUI/CocoaHelpers_private.h>