MacOSX/Framework: Rename the test2 app to test.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 02:24:38 +0000 (02:24 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 02:24:38 +0000 (02:24 +0000)
20 files changed:
extras/MacOSX/Framework/Examples/test/Controller.h [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/Controller.m [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/English.lproj/InfoPlist.strings [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/classes.nib [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/info.nib [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/keyedobjects.nib [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/Info.plist [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/main.m [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/test.xcodeproj/project.pbxproj [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test/test_Prefix.pch [new file with mode: 0644]
extras/MacOSX/Framework/Examples/test2/Controller.h [deleted file]
extras/MacOSX/Framework/Examples/test2/Controller.m [deleted file]
extras/MacOSX/Framework/Examples/test2/English.lproj/InfoPlist.strings [deleted file]
extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/classes.nib [deleted file]
extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/info.nib [deleted file]
extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/keyedobjects.nib [deleted file]
extras/MacOSX/Framework/Examples/test2/Info.plist [deleted file]
extras/MacOSX/Framework/Examples/test2/main.m [deleted file]
extras/MacOSX/Framework/Examples/test2/test.xcodeproj/project.pbxproj [deleted file]
extras/MacOSX/Framework/Examples/test2/test_Prefix.pch [deleted file]

diff --git a/extras/MacOSX/Framework/Examples/test/Controller.h b/extras/MacOSX/Framework/Examples/test/Controller.h
new file mode 100644 (file)
index 0000000..b66bb5f
--- /dev/null
@@ -0,0 +1,24 @@
+/* Controller */
+
+#import <Cocoa/Cocoa.h>
+#import <VLC/VLC.h>
+#import <VLC/VLCMediaPlayer.h>
+
+@interface Controller : NSObject
+{
+    IBOutlet id window;
+    IBOutlet id playlistOutline;
+    IBOutlet id videoHolderView;
+
+    VLCVideoView * videoView;
+    VLCMediaList *playlist;
+    VLCMediaPlayer *player;
+    int mediaIndex;
+}
+- (void)awakeFromNib;
+
+- (void)setMediaIndex:(int)value;
+- (void)play:(id)sender;
+- (void)pause:(id)sender;
+
+@end
diff --git a/extras/MacOSX/Framework/Examples/test/Controller.m b/extras/MacOSX/Framework/Examples/test/Controller.m
new file mode 100644 (file)
index 0000000..04f353a
--- /dev/null
@@ -0,0 +1,130 @@
+#import "Controller.h"
+
+static void *sleepForMe(void)
+{
+    while (1) sleep(60);
+}
+
+@implementation Controller
+
+- (void)awakeFromNib
+{
+//    atexit((void*)sleepForMe);    // Only used for memory leak debugging
+
+    [NSApp setDelegate:self];
+
+    // Allocate a VLCVideoView instance and tell it what area to occupy.
+    NSRect rect = NSMakeRect(0, 0, 0, 0);
+    rect.size = [videoHolderView frame].size;
+    
+    videoView = [[VLCVideoView alloc] initWithFrame:rect];
+    [videoHolderView addSubview:videoView];
+    [videoView setAutoresizingMask: NSViewHeightSizable|NSViewWidthSizable];
+
+    playlist = [[VLCMediaList alloc] init];
+    [playlist setDelegate:self];
+    
+    player = [[VLCMediaPlayer alloc] initWithVideoView:videoView];
+    mediaIndex = -1;
+
+    [playlistOutline registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType, NSURLPboardType, nil]];
+    [playlistOutline setDoubleAction:@selector(changeAndPlay:)];
+}
+
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
+{
+}
+
+- (void)applicationWillTerminate:(NSNotification *)aNotification
+{
+    [player pause];
+    [player setMedia:nil];
+    [player release];
+    [playlist release];
+    [videoView release];
+}
+
+
+- (void)changeAndPlay:(id)sender
+{
+    if ([playlistOutline selectedRow] != mediaIndex)
+    {
+               [self setMediaIndex:[playlistOutline selectedRow]];
+               if (![player isPlaying])
+                       [player play];
+    }
+}
+
+- (void)setMediaIndex:(int)value
+{
+    if ([playlist count] <= 0)
+               return;
+    
+    if (value < 0)
+               value = 0;
+    if (value > [playlist count] - 1)
+               value = [playlist count] - 1;
+    
+    mediaIndex = value;
+    [player setMedia:[playlist mediaAtIndex:mediaIndex]];
+}
+
+- (void)play:(id)sender
+{
+    [self setMediaIndex:mediaIndex+1];
+    if (![player isPlaying])
+               [player play];
+}
+
+- (void)pause:(id)sender
+{
+    NSLog(@"Sending pause message to media player...");
+    [player pause];
+}
+
+//
+- (void)mediaList:(VLCMediaList *)mediaList mediaAdded:(VLCMedia *)media atIndex:(int)index
+{
+    [playlistOutline reloadData];
+}
+
+- (void)mediaList:(VLCMediaList *)mediaList mediaRemoved:(VLCMedia *)media atIndex:(int)index
+{
+    [playlistOutline reloadData];
+}
+
+// NSTableView Implementation
+- (int)numberOfRowsInTableView:(NSTableView *)tableView
+{
+    return [playlist count];
+}
+
+- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn
+                       row:(int)row
+{
+    return [[playlist mediaAtIndex:row] description];
+}
+
+- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id <NSDraggingInfo>)info 
+                                proposedRow:(int)row proposedDropOperation:(NSTableViewDropOperation)op
+{
+    return NSDragOperationEvery; /* This is for now */
+}
+
+- (BOOL)tableView:(NSTableView *)aTableView acceptDrop:(id <NSDraggingInfo>)info
+                         row:(int)row dropOperation:(NSTableViewDropOperation)operation
+{
+    int i;
+    NSArray *droppedItems = [[info draggingPasteboard] propertyListForType:NSFilenamesPboardType];
+    
+    for (i = 0; i < [droppedItems count]; i++)
+    {
+        NSString * filename = [droppedItems objectAtIndex:i];
+               VLCMedia * media = [VLCMedia mediaWithURL:[NSURL fileURLWithPath:filename]];
+               NSLog(@"%@ length = %@", media, [media lengthWaitUntilDate:[NSDate dateWithTimeIntervalSinceNow:60]]);
+               [playlist addMedia:media];
+    }
+    return YES;
+}    
+
+@end
diff --git a/extras/MacOSX/Framework/Examples/test/English.lproj/InfoPlist.strings b/extras/MacOSX/Framework/Examples/test/English.lproj/InfoPlist.strings
new file mode 100644 (file)
index 0000000..997688e
Binary files /dev/null and b/extras/MacOSX/Framework/Examples/test/English.lproj/InfoPlist.strings differ
diff --git a/extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/classes.nib b/extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/classes.nib
new file mode 100644 (file)
index 0000000..c17b45c
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    IBClasses = (
+        {
+            ACTIONS = {pause = id; play = id; }; 
+            CLASS = Controller; 
+            LANGUAGE = ObjC; 
+            OUTLETS = {playlistOutline = id; videoHolderView = id; window = id; }; 
+            SUPERCLASS = NSObject; 
+        }, 
+        {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 
+        {CLASS = NSSegmentedControl; LANGUAGE = ObjC; SUPERCLASS = NSControl; }
+    ); 
+    IBVersion = 1; 
+}
\ No newline at end of file
diff --git a/extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/info.nib b/extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/info.nib
new file mode 100644 (file)
index 0000000..2209443
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>IBDocumentLocation</key>
+       <string>111 87 356 240 0 0 1440 878 </string>
+       <key>IBEditorPositions</key>
+       <dict>
+               <key>29</key>
+               <string>108 299 338 44 0 0 1440 878 </string>
+       </dict>
+       <key>IBFramework Version</key>
+       <string>446.1</string>
+       <key>IBOpenObjects</key>
+       <array>
+               <integer>29</integer>
+               <integer>21</integer>
+       </array>
+       <key>IBSystem Version</key>
+       <string>8R2218</string>
+</dict>
+</plist>
diff --git a/extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/keyedobjects.nib b/extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/keyedobjects.nib
new file mode 100644 (file)
index 0000000..f67f4f5
Binary files /dev/null and b/extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/keyedobjects.nib differ
diff --git a/extras/MacOSX/Framework/Examples/test/Info.plist b/extras/MacOSX/Framework/Examples/test/Info.plist
new file mode 100644 (file)
index 0000000..cf9cf81
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleExecutable</key>
+       <string>${EXECUTABLE_NAME}</string>
+       <key>CFBundleIconFile</key>
+       <string></string>
+       <key>CFBundleIdentifier</key>
+       <string>com.yourcompany.test</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>${PRODUCT_NAME}</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleSignature</key>
+       <string>????</string>
+       <key>CFBundleVersion</key>
+       <string>1.0</string>
+       <key>NSMainNibFile</key>
+       <string>MainMenu</string>
+       <key>NSPrincipalClass</key>
+       <string>NSApplication</string>
+</dict>
+</plist>
diff --git a/extras/MacOSX/Framework/Examples/test/main.m b/extras/MacOSX/Framework/Examples/test/main.m
new file mode 100644 (file)
index 0000000..618131d
--- /dev/null
@@ -0,0 +1,16 @@
+//
+//  main.m
+//  test
+//
+//  Created by Pierre d'Herbemont on 13/04/07.
+//  Copyright __MyCompanyName__ 2007. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import <VLC/VLC.h>
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+    return NSApplicationMain(argc, (const char **) argv);
+}
diff --git a/extras/MacOSX/Framework/Examples/test/test.xcodeproj/project.pbxproj b/extras/MacOSX/Framework/Examples/test/test.xcodeproj/project.pbxproj
new file mode 100644 (file)
index 0000000..92ca560
--- /dev/null
@@ -0,0 +1,347 @@
+// !$*UTF8*$!
+{
+       archiveVersion = 1;
+       classes = {
+       };
+       objectVersion = 42;
+       objects = {
+
+/* Begin PBXBuildFile section */
+               6333027B0BD24CDB00193D7D /* Controller.m in Sources */ = {isa = PBXBuildFile; fileRef = 633302790BD24CDB00193D7D /* Controller.m */; };
+               8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; };
+               8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
+               8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
+               8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
+               EFD5522C0CC6DF380074CEE1 /* VLC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EFD5522B0CC6DF190074CEE1 /* VLC.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+               EF00D30D0CC6E0AC00209802 /* PBXContainerItemProxy */ = {
+                       isa = PBXContainerItemProxy;
+                       containerPortal = EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */;
+                       proxyType = 1;
+                       remoteGlobalIDString = 8DC2EF4F0486A6940098B216;
+                       remoteInfo = VLC;
+               };
+               EFD5522A0CC6DF190074CEE1 /* PBXContainerItemProxy */ = {
+                       isa = PBXContainerItemProxy;
+                       containerPortal = EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */;
+                       proxyType = 2;
+                       remoteGlobalIDString = 8DC2EF5B0486A6940098B216;
+                       remoteInfo = VLC;
+               };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+               089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+               1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
+               13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
+               29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+               29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
+               29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
+               29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
+               32CA4F630368D1EE00C91783 /* test_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = test_Prefix.pch; sourceTree = "<group>"; };
+               633302780BD24CDB00193D7D /* Controller.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Controller.h; sourceTree = "<group>"; };
+               633302790BD24CDB00193D7D /* Controller.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = Controller.m; sourceTree = "<group>"; };
+               8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
+               8D1107320486CEB800E47090 /* test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = test.app; sourceTree = BUILT_PRODUCTS_DIR; };
+               EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = VLC.xcodeproj; path = ../../VLC.xcodeproj; sourceTree = SOURCE_ROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+               8D11072E0486CEB800E47090 /* Frameworks */ = {
+                       isa = PBXFrameworksBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                               EFD5522C0CC6DF380074CEE1 /* VLC.framework in Frameworks */,
+                               8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+               080E96DDFE201D6D7F000001 /* Classes */ = {
+                       isa = PBXGroup;
+                       children = (
+                               633302780BD24CDB00193D7D /* Controller.h */,
+                               633302790BD24CDB00193D7D /* Controller.m */,
+                       );
+                       name = Classes;
+                       sourceTree = "<group>";
+               };
+               1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
+                       isa = PBXGroup;
+                       children = (
+                               EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */,
+                               1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
+                       );
+                       name = "Linked Frameworks";
+                       sourceTree = "<group>";
+               };
+               1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
+                       isa = PBXGroup;
+                       children = (
+                               29B97324FDCFA39411CA2CEA /* AppKit.framework */,
+                               13E42FB307B3F0F600E4EEF1 /* CoreData.framework */,
+                               29B97325FDCFA39411CA2CEA /* Foundation.framework */,
+                       );
+                       name = "Other Frameworks";
+                       sourceTree = "<group>";
+               };
+               19C28FACFE9D520D11CA2CBB /* Products */ = {
+                       isa = PBXGroup;
+                       children = (
+                               8D1107320486CEB800E47090 /* test.app */,
+                       );
+                       name = Products;
+                       sourceTree = "<group>";
+               };
+               29B97314FDCFA39411CA2CEA /* test */ = {
+                       isa = PBXGroup;
+                       children = (
+                               080E96DDFE201D6D7F000001 /* Classes */,
+                               29B97315FDCFA39411CA2CEA /* Other Sources */,
+                               29B97317FDCFA39411CA2CEA /* Resources */,
+                               29B97323FDCFA39411CA2CEA /* Frameworks */,
+                               19C28FACFE9D520D11CA2CBB /* Products */,
+                       );
+                       name = test;
+                       sourceTree = "<group>";
+               };
+               29B97315FDCFA39411CA2CEA /* Other Sources */ = {
+                       isa = PBXGroup;
+                       children = (
+                               32CA4F630368D1EE00C91783 /* test_Prefix.pch */,
+                               29B97316FDCFA39411CA2CEA /* main.m */,
+                       );
+                       name = "Other Sources";
+                       sourceTree = "<group>";
+               };
+               29B97317FDCFA39411CA2CEA /* Resources */ = {
+                       isa = PBXGroup;
+                       children = (
+                               8D1107310486CEB800E47090 /* Info.plist */,
+                               089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
+                               29B97318FDCFA39411CA2CEA /* MainMenu.nib */,
+                       );
+                       name = Resources;
+                       sourceTree = "<group>";
+               };
+               29B97323FDCFA39411CA2CEA /* Frameworks */ = {
+                       isa = PBXGroup;
+                       children = (
+                               1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
+                               1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
+                       );
+                       name = Frameworks;
+                       sourceTree = "<group>";
+               };
+               EFD552240CC6DF190074CEE1 /* Products */ = {
+                       isa = PBXGroup;
+                       children = (
+                               EFD5522B0CC6DF190074CEE1 /* VLC.framework */,
+                       );
+                       name = Products;
+                       sourceTree = "<group>";
+               };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+               8D1107260486CEB800E47090 /* test */ = {
+                       isa = PBXNativeTarget;
+                       buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "test" */;
+                       buildPhases = (
+                               8D1107290486CEB800E47090 /* Resources */,
+                               8D11072C0486CEB800E47090 /* Sources */,
+                               8D11072E0486CEB800E47090 /* Frameworks */,
+                       );
+                       buildRules = (
+                       );
+                       dependencies = (
+                               EF00D30E0CC6E0AC00209802 /* PBXTargetDependency */,
+                       );
+                       name = test;
+                       productInstallPath = "$(HOME)/Applications";
+                       productName = test;
+                       productReference = 8D1107320486CEB800E47090 /* test.app */;
+                       productType = "com.apple.product-type.application";
+               };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+               29B97313FDCFA39411CA2CEA /* Project object */ = {
+                       isa = PBXProject;
+                       buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "test" */;
+                       compatibilityVersion = "Xcode 2.4";
+                       hasScannedForEncodings = 1;
+                       mainGroup = 29B97314FDCFA39411CA2CEA /* test */;
+                       projectDirPath = "";
+                       projectReferences = (
+                               {
+                                       ProductGroup = EFD552240CC6DF190074CEE1 /* Products */;
+                                       ProjectRef = EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */;
+                               },
+                       );
+                       projectRoot = "";
+                       targets = (
+                               8D1107260486CEB800E47090 /* test */,
+                       );
+               };
+/* End PBXProject section */
+
+/* Begin PBXReferenceProxy section */
+               EFD5522B0CC6DF190074CEE1 /* VLC.framework */ = {
+                       isa = PBXReferenceProxy;
+                       fileType = wrapper.framework;
+                       path = VLC.framework;
+                       remoteRef = EFD5522A0CC6DF190074CEE1 /* PBXContainerItemProxy */;
+                       sourceTree = BUILT_PRODUCTS_DIR;
+               };
+/* End PBXReferenceProxy section */
+
+/* Begin PBXResourcesBuildPhase section */
+               8D1107290486CEB800E47090 /* Resources */ = {
+                       isa = PBXResourcesBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                               8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */,
+                               8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+               8D11072C0486CEB800E47090 /* Sources */ = {
+                       isa = PBXSourcesBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                               8D11072D0486CEB800E47090 /* main.m in Sources */,
+                               6333027B0BD24CDB00193D7D /* Controller.m in Sources */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+               EF00D30E0CC6E0AC00209802 /* PBXTargetDependency */ = {
+                       isa = PBXTargetDependency;
+                       name = VLC;
+                       targetProxy = EF00D30D0CC6E0AC00209802 /* PBXContainerItemProxy */;
+               };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+               089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
+                       isa = PBXVariantGroup;
+                       children = (
+                               089C165DFE840E0CC02AAC07 /* English */,
+                       );
+                       name = InfoPlist.strings;
+                       sourceTree = "<group>";
+               };
+               29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = {
+                       isa = PBXVariantGroup;
+                       children = (
+                               29B97319FDCFA39411CA2CEA /* English */,
+                       );
+                       name = MainMenu.nib;
+                       sourceTree = "<group>";
+               };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+               C01FCF4B08A954540054247B /* Debug */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               COPY_PHASE_STRIP = NO;
+                               GCC_DYNAMIC_NO_PIC = NO;
+                               GCC_ENABLE_FIX_AND_CONTINUE = YES;
+                               GCC_MODEL_TUNING = G5;
+                               GCC_OPTIMIZATION_LEVEL = 0;
+                               INFOPLIST_FILE = Info.plist;
+                               INSTALL_PATH = "$(HOME)/Applications";
+                               LD_FLAGS_LIBINTL = "-dylib_file @loader_path/../lib/vlc_libintl.dylib:$(VLC_FRAMEWORK)/lib/vlc_libintl.dylib";
+                               LD_FLAGS_LIBVLC = "-dylib_file @loader_path/lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib -dylib_file @loader_path/../lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib";
+                               LD_FLAGS_LIBVLC_CONTROL = "-dylib_file @loader_path/lib/libvlc-control.dylib:$(VLC_FRAMEWORK)/lib/libvlc-control.dylib";
+                               OTHER_LDFLAGS = (
+                                       "$(LD_FLAGS_LIBINTL)",
+                                       "$(LD_FLAGS_LIBVLC)",
+                                       "$(LD_FLAGS_LIBVLC_CONTROL)",
+                               );
+                               PRODUCT_NAME = test;
+                               SYMROOT = ../../build;
+                               VLC_FRAMEWORK = "$(TARGET_BUILD_DIR)/VLC.framework";
+                               WRAPPER_EXTENSION = app;
+                               ZERO_LINK = YES;
+                       };
+                       name = Debug;
+               };
+               C01FCF4C08A954540054247B /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               ARCHS = "$(NATIVE_ARCH)";
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+                               GCC_MODEL_TUNING = G5;
+                               INFOPLIST_FILE = Info.plist;
+                               INSTALL_PATH = "$(HOME)/Applications";
+                               LD_FLAGS_LIBINTL = "-dylib_file @loader_path/../lib/vlc_libintl.dylib:$(VLC_FRAMEWORK)/lib/vlc_libintl.dylib";
+                               LD_FLAGS_LIBVLC = "-dylib_file @loader_path/lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib -dylib_file @loader_path/../lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib";
+                               LD_FLAGS_LIBVLC_CONTROL = "-dylib_file @loader_path/lib/libvlc-control.dylib:$(VLC_FRAMEWORK)/lib/libvlc-control.dylib";
+                               OTHER_LDFLAGS = (
+                                       "$(LD_FLAGS_LIBINTL)",
+                                       "$(LD_FLAGS_LIBVLC)",
+                                       "$(LD_FLAGS_LIBVLC_CONTROL)",
+                               );
+                               PRODUCT_NAME = test;
+                               SYMROOT = ../../build;
+                               VLC_FRAMEWORK = "$(TARGET_BUILD_DIR)/VLC.framework";
+                               WRAPPER_EXTENSION = app;
+                       };
+                       name = Release;
+               };
+               C01FCF4F08A954540054247B /* Debug */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
+                               GCC_WARN_UNUSED_VARIABLE = YES;
+                               PREBINDING = NO;
+                       };
+                       name = Debug;
+               };
+               C01FCF5008A954540054247B /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               ARCHS = "$(NATIVE_ARCH)";
+                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
+                               GCC_WARN_UNUSED_VARIABLE = YES;
+                               PREBINDING = NO;
+                       };
+                       name = Release;
+               };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+               C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "test" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               C01FCF4B08A954540054247B /* Debug */,
+                               C01FCF4C08A954540054247B /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Debug;
+               };
+               C01FCF4E08A954540054247B /* Build configuration list for PBXProject "test" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               C01FCF4F08A954540054247B /* Debug */,
+                               C01FCF5008A954540054247B /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Debug;
+               };
+/* End XCConfigurationList section */
+       };
+       rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
+}
diff --git a/extras/MacOSX/Framework/Examples/test/test_Prefix.pch b/extras/MacOSX/Framework/Examples/test/test_Prefix.pch
new file mode 100644 (file)
index 0000000..0b05af7
--- /dev/null
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'test' target in the 'test' project
+//
+
+#ifdef __OBJC__
+    #import <Cocoa/Cocoa.h>
+#endif
diff --git a/extras/MacOSX/Framework/Examples/test2/Controller.h b/extras/MacOSX/Framework/Examples/test2/Controller.h
deleted file mode 100644 (file)
index b66bb5f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Controller */
-
-#import <Cocoa/Cocoa.h>
-#import <VLC/VLC.h>
-#import <VLC/VLCMediaPlayer.h>
-
-@interface Controller : NSObject
-{
-    IBOutlet id window;
-    IBOutlet id playlistOutline;
-    IBOutlet id videoHolderView;
-
-    VLCVideoView * videoView;
-    VLCMediaList *playlist;
-    VLCMediaPlayer *player;
-    int mediaIndex;
-}
-- (void)awakeFromNib;
-
-- (void)setMediaIndex:(int)value;
-- (void)play:(id)sender;
-- (void)pause:(id)sender;
-
-@end
diff --git a/extras/MacOSX/Framework/Examples/test2/Controller.m b/extras/MacOSX/Framework/Examples/test2/Controller.m
deleted file mode 100644 (file)
index 04f353a..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#import "Controller.h"
-
-static void *sleepForMe(void)
-{
-    while (1) sleep(60);
-}
-
-@implementation Controller
-
-- (void)awakeFromNib
-{
-//    atexit((void*)sleepForMe);    // Only used for memory leak debugging
-
-    [NSApp setDelegate:self];
-
-    // Allocate a VLCVideoView instance and tell it what area to occupy.
-    NSRect rect = NSMakeRect(0, 0, 0, 0);
-    rect.size = [videoHolderView frame].size;
-    
-    videoView = [[VLCVideoView alloc] initWithFrame:rect];
-    [videoHolderView addSubview:videoView];
-    [videoView setAutoresizingMask: NSViewHeightSizable|NSViewWidthSizable];
-
-    playlist = [[VLCMediaList alloc] init];
-    [playlist setDelegate:self];
-    
-    player = [[VLCMediaPlayer alloc] initWithVideoView:videoView];
-    mediaIndex = -1;
-
-    [playlistOutline registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType, NSURLPboardType, nil]];
-    [playlistOutline setDoubleAction:@selector(changeAndPlay:)];
-}
-
-- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
-{
-}
-
-- (void)applicationWillTerminate:(NSNotification *)aNotification
-{
-    [player pause];
-    [player setMedia:nil];
-    [player release];
-    [playlist release];
-    [videoView release];
-}
-
-
-- (void)changeAndPlay:(id)sender
-{
-    if ([playlistOutline selectedRow] != mediaIndex)
-    {
-               [self setMediaIndex:[playlistOutline selectedRow]];
-               if (![player isPlaying])
-                       [player play];
-    }
-}
-
-- (void)setMediaIndex:(int)value
-{
-    if ([playlist count] <= 0)
-               return;
-    
-    if (value < 0)
-               value = 0;
-    if (value > [playlist count] - 1)
-               value = [playlist count] - 1;
-    
-    mediaIndex = value;
-    [player setMedia:[playlist mediaAtIndex:mediaIndex]];
-}
-
-- (void)play:(id)sender
-{
-    [self setMediaIndex:mediaIndex+1];
-    if (![player isPlaying])
-               [player play];
-}
-
-- (void)pause:(id)sender
-{
-    NSLog(@"Sending pause message to media player...");
-    [player pause];
-}
-
-//
-- (void)mediaList:(VLCMediaList *)mediaList mediaAdded:(VLCMedia *)media atIndex:(int)index
-{
-    [playlistOutline reloadData];
-}
-
-- (void)mediaList:(VLCMediaList *)mediaList mediaRemoved:(VLCMedia *)media atIndex:(int)index
-{
-    [playlistOutline reloadData];
-}
-
-// NSTableView Implementation
-- (int)numberOfRowsInTableView:(NSTableView *)tableView
-{
-    return [playlist count];
-}
-
-- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn
-                       row:(int)row
-{
-    return [[playlist mediaAtIndex:row] description];
-}
-
-- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id <NSDraggingInfo>)info 
-                                proposedRow:(int)row proposedDropOperation:(NSTableViewDropOperation)op
-{
-    return NSDragOperationEvery; /* This is for now */
-}
-
-- (BOOL)tableView:(NSTableView *)aTableView acceptDrop:(id <NSDraggingInfo>)info
-                         row:(int)row dropOperation:(NSTableViewDropOperation)operation
-{
-    int i;
-    NSArray *droppedItems = [[info draggingPasteboard] propertyListForType:NSFilenamesPboardType];
-    
-    for (i = 0; i < [droppedItems count]; i++)
-    {
-        NSString * filename = [droppedItems objectAtIndex:i];
-               VLCMedia * media = [VLCMedia mediaWithURL:[NSURL fileURLWithPath:filename]];
-               NSLog(@"%@ length = %@", media, [media lengthWaitUntilDate:[NSDate dateWithTimeIntervalSinceNow:60]]);
-               [playlist addMedia:media];
-    }
-    return YES;
-}    
-
-@end
diff --git a/extras/MacOSX/Framework/Examples/test2/English.lproj/InfoPlist.strings b/extras/MacOSX/Framework/Examples/test2/English.lproj/InfoPlist.strings
deleted file mode 100644 (file)
index 997688e..0000000
Binary files a/extras/MacOSX/Framework/Examples/test2/English.lproj/InfoPlist.strings and /dev/null differ
diff --git a/extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/classes.nib b/extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/classes.nib
deleted file mode 100644 (file)
index c17b45c..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-    IBClasses = (
-        {
-            ACTIONS = {pause = id; play = id; }; 
-            CLASS = Controller; 
-            LANGUAGE = ObjC; 
-            OUTLETS = {playlistOutline = id; videoHolderView = id; window = id; }; 
-            SUPERCLASS = NSObject; 
-        }, 
-        {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 
-        {CLASS = NSSegmentedControl; LANGUAGE = ObjC; SUPERCLASS = NSControl; }
-    ); 
-    IBVersion = 1; 
-}
\ No newline at end of file
diff --git a/extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/info.nib b/extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/info.nib
deleted file mode 100644 (file)
index 2209443..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-       <key>IBDocumentLocation</key>
-       <string>111 87 356 240 0 0 1440 878 </string>
-       <key>IBEditorPositions</key>
-       <dict>
-               <key>29</key>
-               <string>108 299 338 44 0 0 1440 878 </string>
-       </dict>
-       <key>IBFramework Version</key>
-       <string>446.1</string>
-       <key>IBOpenObjects</key>
-       <array>
-               <integer>29</integer>
-               <integer>21</integer>
-       </array>
-       <key>IBSystem Version</key>
-       <string>8R2218</string>
-</dict>
-</plist>
diff --git a/extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/keyedobjects.nib b/extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/keyedobjects.nib
deleted file mode 100644 (file)
index f67f4f5..0000000
Binary files a/extras/MacOSX/Framework/Examples/test2/English.lproj/MainMenu.nib/keyedobjects.nib and /dev/null differ
diff --git a/extras/MacOSX/Framework/Examples/test2/Info.plist b/extras/MacOSX/Framework/Examples/test2/Info.plist
deleted file mode 100644 (file)
index cf9cf81..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-       <key>CFBundleDevelopmentRegion</key>
-       <string>English</string>
-       <key>CFBundleExecutable</key>
-       <string>${EXECUTABLE_NAME}</string>
-       <key>CFBundleIconFile</key>
-       <string></string>
-       <key>CFBundleIdentifier</key>
-       <string>com.yourcompany.test</string>
-       <key>CFBundleInfoDictionaryVersion</key>
-       <string>6.0</string>
-       <key>CFBundleName</key>
-       <string>${PRODUCT_NAME}</string>
-       <key>CFBundlePackageType</key>
-       <string>APPL</string>
-       <key>CFBundleSignature</key>
-       <string>????</string>
-       <key>CFBundleVersion</key>
-       <string>1.0</string>
-       <key>NSMainNibFile</key>
-       <string>MainMenu</string>
-       <key>NSPrincipalClass</key>
-       <string>NSApplication</string>
-</dict>
-</plist>
diff --git a/extras/MacOSX/Framework/Examples/test2/main.m b/extras/MacOSX/Framework/Examples/test2/main.m
deleted file mode 100644 (file)
index 618131d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-//
-//  main.m
-//  test
-//
-//  Created by Pierre d'Herbemont on 13/04/07.
-//  Copyright __MyCompanyName__ 2007. All rights reserved.
-//
-
-#import <Cocoa/Cocoa.h>
-#import <VLC/VLC.h>
-#include <stdio.h>
-
-int main(int argc, char *argv[])
-{
-    return NSApplicationMain(argc, (const char **) argv);
-}
diff --git a/extras/MacOSX/Framework/Examples/test2/test.xcodeproj/project.pbxproj b/extras/MacOSX/Framework/Examples/test2/test.xcodeproj/project.pbxproj
deleted file mode 100644 (file)
index 92ca560..0000000
+++ /dev/null
@@ -1,347 +0,0 @@
-// !$*UTF8*$!
-{
-       archiveVersion = 1;
-       classes = {
-       };
-       objectVersion = 42;
-       objects = {
-
-/* Begin PBXBuildFile section */
-               6333027B0BD24CDB00193D7D /* Controller.m in Sources */ = {isa = PBXBuildFile; fileRef = 633302790BD24CDB00193D7D /* Controller.m */; };
-               8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; };
-               8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
-               8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
-               8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
-               EFD5522C0CC6DF380074CEE1 /* VLC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EFD5522B0CC6DF190074CEE1 /* VLC.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-               EF00D30D0CC6E0AC00209802 /* PBXContainerItemProxy */ = {
-                       isa = PBXContainerItemProxy;
-                       containerPortal = EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */;
-                       proxyType = 1;
-                       remoteGlobalIDString = 8DC2EF4F0486A6940098B216;
-                       remoteInfo = VLC;
-               };
-               EFD5522A0CC6DF190074CEE1 /* PBXContainerItemProxy */ = {
-                       isa = PBXContainerItemProxy;
-                       containerPortal = EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */;
-                       proxyType = 2;
-                       remoteGlobalIDString = 8DC2EF5B0486A6940098B216;
-                       remoteInfo = VLC;
-               };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-               089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
-               1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
-               13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
-               29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
-               29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
-               29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
-               29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
-               32CA4F630368D1EE00C91783 /* test_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = test_Prefix.pch; sourceTree = "<group>"; };
-               633302780BD24CDB00193D7D /* Controller.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Controller.h; sourceTree = "<group>"; };
-               633302790BD24CDB00193D7D /* Controller.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = Controller.m; sourceTree = "<group>"; };
-               8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
-               8D1107320486CEB800E47090 /* test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = test.app; sourceTree = BUILT_PRODUCTS_DIR; };
-               EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = VLC.xcodeproj; path = ../../VLC.xcodeproj; sourceTree = SOURCE_ROOT; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-               8D11072E0486CEB800E47090 /* Frameworks */ = {
-                       isa = PBXFrameworksBuildPhase;
-                       buildActionMask = 2147483647;
-                       files = (
-                               EFD5522C0CC6DF380074CEE1 /* VLC.framework in Frameworks */,
-                               8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
-                       );
-                       runOnlyForDeploymentPostprocessing = 0;
-               };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-               080E96DDFE201D6D7F000001 /* Classes */ = {
-                       isa = PBXGroup;
-                       children = (
-                               633302780BD24CDB00193D7D /* Controller.h */,
-                               633302790BD24CDB00193D7D /* Controller.m */,
-                       );
-                       name = Classes;
-                       sourceTree = "<group>";
-               };
-               1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
-                       isa = PBXGroup;
-                       children = (
-                               EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */,
-                               1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
-                       );
-                       name = "Linked Frameworks";
-                       sourceTree = "<group>";
-               };
-               1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
-                       isa = PBXGroup;
-                       children = (
-                               29B97324FDCFA39411CA2CEA /* AppKit.framework */,
-                               13E42FB307B3F0F600E4EEF1 /* CoreData.framework */,
-                               29B97325FDCFA39411CA2CEA /* Foundation.framework */,
-                       );
-                       name = "Other Frameworks";
-                       sourceTree = "<group>";
-               };
-               19C28FACFE9D520D11CA2CBB /* Products */ = {
-                       isa = PBXGroup;
-                       children = (
-                               8D1107320486CEB800E47090 /* test.app */,
-                       );
-                       name = Products;
-                       sourceTree = "<group>";
-               };
-               29B97314FDCFA39411CA2CEA /* test */ = {
-                       isa = PBXGroup;
-                       children = (
-                               080E96DDFE201D6D7F000001 /* Classes */,
-                               29B97315FDCFA39411CA2CEA /* Other Sources */,
-                               29B97317FDCFA39411CA2CEA /* Resources */,
-                               29B97323FDCFA39411CA2CEA /* Frameworks */,
-                               19C28FACFE9D520D11CA2CBB /* Products */,
-                       );
-                       name = test;
-                       sourceTree = "<group>";
-               };
-               29B97315FDCFA39411CA2CEA /* Other Sources */ = {
-                       isa = PBXGroup;
-                       children = (
-                               32CA4F630368D1EE00C91783 /* test_Prefix.pch */,
-                               29B97316FDCFA39411CA2CEA /* main.m */,
-                       );
-                       name = "Other Sources";
-                       sourceTree = "<group>";
-               };
-               29B97317FDCFA39411CA2CEA /* Resources */ = {
-                       isa = PBXGroup;
-                       children = (
-                               8D1107310486CEB800E47090 /* Info.plist */,
-                               089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
-                               29B97318FDCFA39411CA2CEA /* MainMenu.nib */,
-                       );
-                       name = Resources;
-                       sourceTree = "<group>";
-               };
-               29B97323FDCFA39411CA2CEA /* Frameworks */ = {
-                       isa = PBXGroup;
-                       children = (
-                               1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
-                               1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
-                       );
-                       name = Frameworks;
-                       sourceTree = "<group>";
-               };
-               EFD552240CC6DF190074CEE1 /* Products */ = {
-                       isa = PBXGroup;
-                       children = (
-                               EFD5522B0CC6DF190074CEE1 /* VLC.framework */,
-                       );
-                       name = Products;
-                       sourceTree = "<group>";
-               };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-               8D1107260486CEB800E47090 /* test */ = {
-                       isa = PBXNativeTarget;
-                       buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "test" */;
-                       buildPhases = (
-                               8D1107290486CEB800E47090 /* Resources */,
-                               8D11072C0486CEB800E47090 /* Sources */,
-                               8D11072E0486CEB800E47090 /* Frameworks */,
-                       );
-                       buildRules = (
-                       );
-                       dependencies = (
-                               EF00D30E0CC6E0AC00209802 /* PBXTargetDependency */,
-                       );
-                       name = test;
-                       productInstallPath = "$(HOME)/Applications";
-                       productName = test;
-                       productReference = 8D1107320486CEB800E47090 /* test.app */;
-                       productType = "com.apple.product-type.application";
-               };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-               29B97313FDCFA39411CA2CEA /* Project object */ = {
-                       isa = PBXProject;
-                       buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "test" */;
-                       compatibilityVersion = "Xcode 2.4";
-                       hasScannedForEncodings = 1;
-                       mainGroup = 29B97314FDCFA39411CA2CEA /* test */;
-                       projectDirPath = "";
-                       projectReferences = (
-                               {
-                                       ProductGroup = EFD552240CC6DF190074CEE1 /* Products */;
-                                       ProjectRef = EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */;
-                               },
-                       );
-                       projectRoot = "";
-                       targets = (
-                               8D1107260486CEB800E47090 /* test */,
-                       );
-               };
-/* End PBXProject section */
-
-/* Begin PBXReferenceProxy section */
-               EFD5522B0CC6DF190074CEE1 /* VLC.framework */ = {
-                       isa = PBXReferenceProxy;
-                       fileType = wrapper.framework;
-                       path = VLC.framework;
-                       remoteRef = EFD5522A0CC6DF190074CEE1 /* PBXContainerItemProxy */;
-                       sourceTree = BUILT_PRODUCTS_DIR;
-               };
-/* End PBXReferenceProxy section */
-
-/* Begin PBXResourcesBuildPhase section */
-               8D1107290486CEB800E47090 /* Resources */ = {
-                       isa = PBXResourcesBuildPhase;
-                       buildActionMask = 2147483647;
-                       files = (
-                               8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */,
-                               8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
-                       );
-                       runOnlyForDeploymentPostprocessing = 0;
-               };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-               8D11072C0486CEB800E47090 /* Sources */ = {
-                       isa = PBXSourcesBuildPhase;
-                       buildActionMask = 2147483647;
-                       files = (
-                               8D11072D0486CEB800E47090 /* main.m in Sources */,
-                               6333027B0BD24CDB00193D7D /* Controller.m in Sources */,
-                       );
-                       runOnlyForDeploymentPostprocessing = 0;
-               };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-               EF00D30E0CC6E0AC00209802 /* PBXTargetDependency */ = {
-                       isa = PBXTargetDependency;
-                       name = VLC;
-                       targetProxy = EF00D30D0CC6E0AC00209802 /* PBXContainerItemProxy */;
-               };
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-               089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
-                       isa = PBXVariantGroup;
-                       children = (
-                               089C165DFE840E0CC02AAC07 /* English */,
-                       );
-                       name = InfoPlist.strings;
-                       sourceTree = "<group>";
-               };
-               29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = {
-                       isa = PBXVariantGroup;
-                       children = (
-                               29B97319FDCFA39411CA2CEA /* English */,
-                       );
-                       name = MainMenu.nib;
-                       sourceTree = "<group>";
-               };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-               C01FCF4B08A954540054247B /* Debug */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               COPY_PHASE_STRIP = NO;
-                               GCC_DYNAMIC_NO_PIC = NO;
-                               GCC_ENABLE_FIX_AND_CONTINUE = YES;
-                               GCC_MODEL_TUNING = G5;
-                               GCC_OPTIMIZATION_LEVEL = 0;
-                               INFOPLIST_FILE = Info.plist;
-                               INSTALL_PATH = "$(HOME)/Applications";
-                               LD_FLAGS_LIBINTL = "-dylib_file @loader_path/../lib/vlc_libintl.dylib:$(VLC_FRAMEWORK)/lib/vlc_libintl.dylib";
-                               LD_FLAGS_LIBVLC = "-dylib_file @loader_path/lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib -dylib_file @loader_path/../lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib";
-                               LD_FLAGS_LIBVLC_CONTROL = "-dylib_file @loader_path/lib/libvlc-control.dylib:$(VLC_FRAMEWORK)/lib/libvlc-control.dylib";
-                               OTHER_LDFLAGS = (
-                                       "$(LD_FLAGS_LIBINTL)",
-                                       "$(LD_FLAGS_LIBVLC)",
-                                       "$(LD_FLAGS_LIBVLC_CONTROL)",
-                               );
-                               PRODUCT_NAME = test;
-                               SYMROOT = ../../build;
-                               VLC_FRAMEWORK = "$(TARGET_BUILD_DIR)/VLC.framework";
-                               WRAPPER_EXTENSION = app;
-                               ZERO_LINK = YES;
-                       };
-                       name = Debug;
-               };
-               C01FCF4C08A954540054247B /* Release */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ARCHS = "$(NATIVE_ARCH)";
-                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
-                               GCC_MODEL_TUNING = G5;
-                               INFOPLIST_FILE = Info.plist;
-                               INSTALL_PATH = "$(HOME)/Applications";
-                               LD_FLAGS_LIBINTL = "-dylib_file @loader_path/../lib/vlc_libintl.dylib:$(VLC_FRAMEWORK)/lib/vlc_libintl.dylib";
-                               LD_FLAGS_LIBVLC = "-dylib_file @loader_path/lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib -dylib_file @loader_path/../lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib";
-                               LD_FLAGS_LIBVLC_CONTROL = "-dylib_file @loader_path/lib/libvlc-control.dylib:$(VLC_FRAMEWORK)/lib/libvlc-control.dylib";
-                               OTHER_LDFLAGS = (
-                                       "$(LD_FLAGS_LIBINTL)",
-                                       "$(LD_FLAGS_LIBVLC)",
-                                       "$(LD_FLAGS_LIBVLC_CONTROL)",
-                               );
-                               PRODUCT_NAME = test;
-                               SYMROOT = ../../build;
-                               VLC_FRAMEWORK = "$(TARGET_BUILD_DIR)/VLC.framework";
-                               WRAPPER_EXTENSION = app;
-                       };
-                       name = Release;
-               };
-               C01FCF4F08A954540054247B /* Debug */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
-                               GCC_WARN_UNUSED_VARIABLE = YES;
-                               PREBINDING = NO;
-                       };
-                       name = Debug;
-               };
-               C01FCF5008A954540054247B /* Release */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ARCHS = "$(NATIVE_ARCH)";
-                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
-                               GCC_WARN_UNUSED_VARIABLE = YES;
-                               PREBINDING = NO;
-                       };
-                       name = Release;
-               };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-               C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "test" */ = {
-                       isa = XCConfigurationList;
-                       buildConfigurations = (
-                               C01FCF4B08A954540054247B /* Debug */,
-                               C01FCF4C08A954540054247B /* Release */,
-                       );
-                       defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Debug;
-               };
-               C01FCF4E08A954540054247B /* Build configuration list for PBXProject "test" */ = {
-                       isa = XCConfigurationList;
-                       buildConfigurations = (
-                               C01FCF4F08A954540054247B /* Debug */,
-                               C01FCF5008A954540054247B /* Release */,
-                       );
-                       defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Debug;
-               };
-/* End XCConfigurationList section */
-       };
-       rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
-}
diff --git a/extras/MacOSX/Framework/Examples/test2/test_Prefix.pch b/extras/MacOSX/Framework/Examples/test2/test_Prefix.pch
deleted file mode 100644 (file)
index 0b05af7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-//
-// Prefix header for all source files of the 'test' target in the 'test' project
-//
-
-#ifdef __OBJC__
-    #import <Cocoa/Cocoa.h>
-#endif