]> git.mxchange.org Git - flightgear.git/commitdiff
Explicit AppKit includes for Mac.
authorJames Turner <zakalawe@mac.com>
Sat, 11 Apr 2015 20:59:23 +0000 (21:59 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 11 Apr 2015 20:59:29 +0000 (21:59 +0100)
src/GUI/CocoaFileDialog.mm
src/GUI/CocoaHelpers.mm
src/GUI/CocoaMouseCursor.mm
src/GUI/FGCocoaMenuBar.mm
src/Scripting/ClipboardCocoa.mm

index 6f81bc0c1e2b5ddc002431ed48967da2bffff8d2..352fa3c15b66844cf0fc02b31fbad5cb8fbb390f 100644 (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>
 
index 70454f1f41e17c77635b5d4790906651d7502685..3d158cbfd201f1cdf502de043e16f6abd8b70712 100644 (file)
 #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>
index 3a31fffc2187fd9547e5143e420ac64a425ea9fd..b637736b3a327519945b222e9bfb323e86912eae 100644 (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>
index 048eb5769542bb76d984c5c2c7f34718591e4891..c82546f32ae8f6ad1e1cce923fcf0a527ea1a6d8 100644 (file)
@@ -1,6 +1,6 @@
 #include "FGCocoaMenuBar.hxx"
 
-#include <Cocoa/Cocoa.h>
+#include <AppKit/NSMenu.h>
 
 #include <boost/foreach.hpp>
 
index 7279cd208bd6e5983135ebe02287394e8789112c..c6ed13bc85ab1778bd139ba47a3d4bbcda32e86d 100644 (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>