MacOSX: Make sure VLC.framework is renamed to VLCKit.framework.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 6 Jan 2008 21:45:41 +0000 (21:45 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 6 Jan 2008 21:45:41 +0000 (21:45 +0000)
extras/MacOSX/Framework/Headers/Internal/VLCLibVLCBridging.h
extras/MacOSX/Framework/Headers/Public/VLCMediaDiscoverer.h
extras/MacOSX/Framework/VLC_Prefix.pch
extras/MacOSX/VLC_app/Sources/VLCController.m
extras/MacOSX/VLC_app/VLC.xcodeproj/project.pbxproj
src/misc/darwin_specific.c

index 4429be8..2e9156c 100644 (file)
@@ -23,6 +23,7 @@
 *****************************************************************************/
 
 #import "VLCLibrary.h"
+#import "VLCMediaListAspect.h"
 
 /**
  * Bridges functionality between libvlc and VLCMediaList implementation.
index 2967b83..2041ffa 100644 (file)
@@ -23,7 +23,7 @@
  *****************************************************************************/
 
 #import <Cocoa/Cocoa.h>
-#import <VLC/VLCMediaList.h>
+#import <VLCKit/VLCMediaList.h>
 
 @class VLCMediaList;
 
index 64a4794..c4340c7 100644 (file)
@@ -2,49 +2,12 @@
 // Prefix header for all source files of the 'VLC' target in the 'VLC' project.
 //
 
-#ifdef __OBJC__
-    #import <Cocoa/Cocoa.h>
-#endif
-
-#include <vlc/vlc.h>
-
-#ifndef VLC_PUBLIC_API
-
-// For some reason Xcode refuses to read vlc/vlc.h contents -- so we have to do
-// this so we can supress the errors
-#define VLC_PUBLIC_API extern
-typedef int vlc_bool_t;
-typedef struct vlc_list_t vlc_list_t;
-typedef struct vlc_object_t vlc_object_t;
-typedef signed long long vlc_int64_t;
-
-#endif
-
-#include <vlc/libvlc_structures.h>
-#include <vlc/libvlc.h>
-
-//
-// Prefix header for all source files of the 'VLC' target in the 'VLC' project.
-//
 
 #ifdef __OBJC__
     #import <Cocoa/Cocoa.h>
 #endif
 
 #include <vlc/vlc.h>
-
-#ifndef VLC_PUBLIC_API
-
-// For some reason Xcode refuses to read vlc/vlc.h contents -- so we have to do
-// this so we can supress the errors
-#define VLC_PUBLIC_API extern
-typedef int vlc_bool_t;
-typedef struct vlc_list_t vlc_list_t;
-typedef struct vlc_object_t vlc_object_t;
-typedef signed long long vlc_int64_t;
-
-#endif
-
 #include <vlc/libvlc_structures.h>
 #include <vlc/libvlc.h>
 
index af9ce8e..38a5e38 100644 (file)
@@ -59,8 +59,7 @@
     NSArray * mediaDiscoverers = [NSArray arrayWithObjects:
         [[[VLCMediaDiscoverer alloc] initWithName:@"shoutcasttv"] autorelease],
         [[[VLCMediaDiscoverer alloc] initWithName:@"shoutcast"] autorelease],
-        [[[VLCMediaDiscoverer alloc] initWithName:@"sap"] autorelease],
-        [[[VLCMediaDiscoverer alloc] initWithName:@"freebox"] autorelease], nil];
+        [[[VLCMediaDiscoverer alloc] initWithName:@"sap"] autorelease], nil];
 
     NSArray * playlists = [NSMutableArray arrayWithObjects:[VLCMedia mediaAsNodeWithName:@"Default Playlist"], nil];
 
index c4e3aef..848aa0b 100644 (file)
                        files = (
                        );
                        inputPaths = (
-                               $SRCROOT/../Framework/build/$BUILD_VARIANTS/VLC.framework,
+                               $SRCROOT/../Framework/build/$BUILD_VARIANTS/VLCKit.framework,
                        );
                        outputPaths = (
-                               $BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH/VLC.framework,
+                               $BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH/VLCKit.framework,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
index 77dff2f..c45cc43 100644 (file)
@@ -76,13 +76,13 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
     for (i = 0; i < _dyld_image_count(); i++)
     {
         char * psz_img_name = _dyld_get_image_name(i);
-        /* Check for "VLC.framework/Versions/Current/VLC",
-         * as well as "VLC.framework/Versions/A/VLC" and
+        /* Check for "VLCKit.framework/Versions/Current/VLC",
+         * as well as "VLCKit.framework/Versions/A/VLC" and
          * "VLC.framework/Versions/B/VLC" */
-        if( p_char = strstr( psz_img_name, "VLC.framework/Versions/" ))
+        if( p_char = strstr( psz_img_name, "VLCKit.framework/Versions/" ))
         {
             /* Look for the next forward slash */
-            p_char += 23; /* p_char += strlen(" VLC.framework/Versions/" ) */
+            p_char += 26; /* p_char += strlen(" VLCKit.framework/Versions/" ) */
             while( *p_char != '\0' && *p_char != '/')
                 p_char++;