[aseprite] 157/250: Minor changes to Skia/OSX #includes

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 4379c6793e0db4c1eb26c762f059580e50a8422d
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Oct 13 16:55:29 2015 -0300

    Minor changes to Skia/OSX #includes
---
 src/she/osx/app.mm            | 4 +---
 src/she/osx/app_delegate.h    | 4 +---
 src/she/osx/app_delegate.mm   | 4 +---
 src/she/osx/clipboard.mm      | 4 +---
 src/she/osx/event_queue.mm    | 4 +---
 src/she/osx/native_dialogs.mm | 5 +----
 src/she/osx/view.h            | 4 +---
 src/she/osx/window.h          | 6 +-----
 8 files changed, 8 insertions(+), 27 deletions(-)

diff --git a/src/she/osx/app.mm b/src/she/osx/app.mm
index a628bf8..5547979 100644
--- a/src/she/osx/app.mm
+++ b/src/she/osx/app.mm
@@ -8,9 +8,7 @@
 #include "config.h"
 #endif
 
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
-#include <AppKit/AppKit.h>
+#include <Cocoa/Cocoa.h>
 
 #include "she/osx/app.h"
 
diff --git a/src/she/osx/app_delegate.h b/src/she/osx/app_delegate.h
index 0ba6420..ba87441 100644
--- a/src/she/osx/app_delegate.h
+++ b/src/she/osx/app_delegate.h
@@ -8,9 +8,7 @@
 #define SHE_OSX_APP_DELEGATE_H_INCLUDED
 #pragma once
 
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
-#include <AppKit/AppKit.h>
+#include <Cocoa/Cocoa.h>
 
 @interface OSXAppDelegate : NSObject
 - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*)sender;
diff --git a/src/she/osx/app_delegate.mm b/src/she/osx/app_delegate.mm
index 3115f4a..b97239d 100644
--- a/src/she/osx/app_delegate.mm
+++ b/src/she/osx/app_delegate.mm
@@ -8,9 +8,7 @@
 #include "config.h"
 #endif
 
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
-#include <AppKit/AppKit.h>
+#include <Cocoa/Cocoa.h>
 
 #include "she/osx/app_delegate.h"
 
diff --git a/src/she/osx/clipboard.mm b/src/she/osx/clipboard.mm
index aaecda9..0acccd9 100644
--- a/src/she/osx/clipboard.mm
+++ b/src/she/osx/clipboard.mm
@@ -4,9 +4,7 @@
 // This file is released under the terms of the MIT license.
 // Read LICENSE.txt for more information.
 
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
-#include <AppKit/AppKit.h>
+#include <Cocoa/Cocoa.h>
 
 #include "she/osx/clipboard.h"
 
diff --git a/src/she/osx/event_queue.mm b/src/she/osx/event_queue.mm
index 5fd45f0..94c177d 100644
--- a/src/she/osx/event_queue.mm
+++ b/src/she/osx/event_queue.mm
@@ -8,9 +8,7 @@
 #include "config.h"
 #endif
 
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
-#include <AppKit/AppKit.h>
+#include <Cocoa/Cocoa.h>
 
 #include "she/osx/event_queue.h"
 
diff --git a/src/she/osx/native_dialogs.mm b/src/she/osx/native_dialogs.mm
index 9921d18..bedbd65 100644
--- a/src/she/osx/native_dialogs.mm
+++ b/src/she/osx/native_dialogs.mm
@@ -4,10 +4,7 @@
 // This file is released under the terms of the MIT license.
 // Read LICENSE.txt for more information.
 
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
-#include <AppKit/AppKit.h>
-
+#include <Cocoa/Cocoa.h>
 #include <vector>
 
 #include "she/display.h"
diff --git a/src/she/osx/view.h b/src/she/osx/view.h
index a4727ba..454c21b 100644
--- a/src/she/osx/view.h
+++ b/src/she/osx/view.h
@@ -8,9 +8,7 @@
 #define SHE_OSX_VIEW_H_INCLUDED
 #pragma once
 
-#include <AppKit/AppKit.h>
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
+#include <Cocoa/Cocoa.h>
 
 @interface OSXView : NSView {
 @private
diff --git a/src/she/osx/window.h b/src/she/osx/window.h
index 8384c40..75c8e85 100644
--- a/src/she/osx/window.h
+++ b/src/she/osx/window.h
@@ -8,11 +8,7 @@
 #define SHE_OSX_WINDOW_H_INCLUDED
 #pragma once
 
-#include <AppKit/AppKit.h>
-#include <CoreFoundation/CoreFoundation.h>
-#include <Foundation/Foundation.h>
-
-#include <stdio.h>
+#include <Cocoa/Cocoa.h>
 
 #include "gfx/rect.h"
 #include "gfx/size.h"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list