Skip to content

Commit

Permalink
macosx: fix recursive inclusion of the compatibility header
Browse files Browse the repository at this point in the history
  • Loading branch information
fkuehne committed Feb 2, 2014
1 parent eecfe43 commit 0975876
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 22 deletions.
3 changes: 1 addition & 2 deletions modules/gui/macosx/ControlsBar.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* ControlsBar.h: MacOS X interface module
*****************************************************************************
* Copyright (C) 2012 VLC authors and VideoLAN
* Copyright (C) 2012-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
Expand All @@ -23,7 +23,6 @@
*****************************************************************************/

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"
#import "misc.h"

@class VLCFSPanel;
Expand Down
3 changes: 2 additions & 1 deletion modules/gui/macosx/ControlsBar.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* ControlsBar.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2012-2013 VLC authors and VideoLAN
* Copyright (C) 2012-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
Expand All @@ -27,6 +27,7 @@
#import "CoreInteraction.h"
#import "MainMenu.h"
#import "fspanel.h"
#import "CompatibilityFixes.h"

/*****************************************************************************
* VLCControlsBarCommon
Expand Down
3 changes: 1 addition & 2 deletions modules/gui/macosx/MainWindow.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* MainWindow.h: MacOS X interface module
*****************************************************************************
* Copyright (C) 2002-2013 VLC authors and VideoLAN
* Copyright (C) 2002-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
Expand All @@ -26,7 +26,6 @@
*****************************************************************************/

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"
#import "PXSourceList.h"
#import "PXSourceListDataSource.h"

Expand Down
1 change: 0 additions & 1 deletion modules/gui/macosx/PXSourceList.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"

#import "PXSourceListDelegate.h"
#import "PXSourceListDataSource.h"
Expand Down
1 change: 1 addition & 0 deletions modules/gui/macosx/PXSourceList.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// GC-enabled code revised by Stefan Vogt http://byteproject.net
//

#import "CompatibilityFixes.h"
#import "PXSourceList.h"
#import "SideBarItem.h"

Expand Down
3 changes: 1 addition & 2 deletions modules/gui/macosx/VLCUIWidgets.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* VLCUIWidgets.h: Widgets for VLC's extensions dialogs for Mac OS X
*****************************************************************************
* Copyright (C) 2009-2012 the VideoLAN team and authors
* Copyright (C) 2009-2014 the VideoLAN team and authors
* $Id$
*
* Authors: Pierre d'Herbemont <pdherbemont # videolan dot>,
Expand All @@ -23,7 +23,6 @@
*****************************************************************************/

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"
#import <vlc_extensions.h>

@class VLCDialogGridView;
Expand Down
3 changes: 2 additions & 1 deletion modules/gui/macosx/VLCUIWidgets.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* VLCUIWidgets.m: Widgets for VLC's extensions dialogs for Mac OS X
*****************************************************************************
* Copyright (C) 2009-2012 the VideoLAN team and authors
* Copyright (C) 2009-2014 the VideoLAN team and authors
* $Id$
*
* Authors: Pierre d'Herbemont <pdherbemont # videolan dot>,
Expand All @@ -22,6 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#import "CompatibilityFixes.h"
#import "VLCUIWidgets.h"

#import <stdlib.h>
Expand Down
3 changes: 1 addition & 2 deletions modules/gui/macosx/VLCVoutWindowController.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* VLCVoutWindowController.h: MacOS X interface module
*****************************************************************************
* Copyright (C) 2012-2013 VLC authors and VideoLAN
* Copyright (C) 2012-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
Expand All @@ -23,7 +23,6 @@
*****************************************************************************/

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"

#import <vlc_vout_window.h>

Expand Down
3 changes: 2 additions & 1 deletion modules/gui/macosx/VLCVoutWindowController.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* VLCVoutWindowController.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2012-2013 VLC authors and VideoLAN
* Copyright (C) 2012-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
Expand All @@ -22,6 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#import "CompatibilityFixes.h"
#import "VLCVoutWindowController.h"
#import "intf.h"
#import "MainWindow.h"
Expand Down
3 changes: 2 additions & 1 deletion modules/gui/macosx/VideoView.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* VideoView.m: MacOS X video output module
*****************************************************************************
* Copyright (C) 2002-2013 VLC authors and VideoLAN
* Copyright (C) 2002-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <hartman at videolan dot org>
Expand Down Expand Up @@ -32,6 +32,7 @@
#import <stdlib.h> /* free() */
#import <string.h>

#import "CompatibilityFixes.h"
#import "intf.h"
#import "VideoView.h"
#import "CoreInteraction.h"
Expand Down
3 changes: 1 addition & 2 deletions modules/gui/macosx/Windows.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* Windows.h: MacOS X interface module
*****************************************************************************
* Copyright (C) 2012-2013 VLC authors and VideoLAN
* Copyright (C) 2012-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
Expand All @@ -23,7 +23,6 @@
*****************************************************************************/

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"

/*****************************************************************************
* VLCWindow
Expand Down
3 changes: 2 additions & 1 deletion modules/gui/macosx/Windows.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* Windows.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2012-2013 VLC authors and VideoLAN
* Copyright (C) 2012-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
Expand All @@ -27,6 +27,7 @@
#import "CoreInteraction.h"
#import "ControlsBar.h"
#import "VideoView.h"
#import "CompatibilityFixes.h"

/*****************************************************************************
* VLCWindow
Expand Down
3 changes: 1 addition & 2 deletions modules/gui/macosx/intf.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* intf.h: MacOS X interface module
*****************************************************************************
* Copyright (C) 2002-2013 VLC authors and VideoLAN
* Copyright (C) 2002-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Jon Lech Johansen <[email protected]>
Expand Down Expand Up @@ -38,7 +38,6 @@
#import <vlc_vout_window.h>

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"
#import "SPMediaKeyTap.h" /* for the media key support */
#import "misc.h"
#import "MainWindow.h"
Expand Down
3 changes: 1 addition & 2 deletions modules/gui/macosx/misc.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* misc.h: code not specific to vlc
*****************************************************************************
* Copyright (C) 2003-2013 VLC authors and VideoLAN
* Copyright (C) 2003-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Jon Lech Johansen <[email protected]>
Expand All @@ -23,7 +23,6 @@
*****************************************************************************/

#import <Cocoa/Cocoa.h>
#import "CompatibilityFixes.h"

/*****************************************************************************
* NSSound (VLCAdditions)
Expand Down
3 changes: 2 additions & 1 deletion modules/gui/macosx/misc.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* misc.m: code not specific to vlc
*****************************************************************************
* Copyright (C) 2003-2013 VLC authors and VideoLAN
* Copyright (C) 2003-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Jon Lech Johansen <[email protected]>
Expand All @@ -22,6 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#import "CompatibilityFixes.h"
#import "misc.h"
#import "intf.h" /* VLCApplication */
#import "MainWindow.h"
Expand Down
4 changes: 3 additions & 1 deletion modules/gui/macosx/playlist.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* playlist.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2002-2013 VLC authors and VideoLAN
* Copyright (C) 2002-2014 VLC authors and VideoLAN
* $Id$
*
* Authors: Jon Lech Johansen <[email protected]>
Expand Down Expand Up @@ -39,6 +39,8 @@
#include <math.h>
#include <sys/mount.h>

#import "CompatibilityFixes.h"

#import "intf.h"
#import "wizard.h"
#import "bookmarks.h"
Expand Down

0 comments on commit 0975876

Please sign in to comment.