Explicit AppKit includes for Mac.
This commit is contained in:
parent
c8c2da9448
commit
c07ce6d9bc
5 changed files with 12 additions and 6 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "FGCocoaMenuBar.hxx"
|
||||
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#include <AppKit/NSMenu.h>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue