Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
b2ca4505
Commit
b2ca4505
authored
Jan 02, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/Framework: Delete the old test app.
parent
d3b42ad4
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
0 additions
and
451 deletions
+0
-451
extras/MacOSX/Framework/Examples/test/Controller.h
extras/MacOSX/Framework/Examples/test/Controller.h
+0
-18
extras/MacOSX/Framework/Examples/test/Controller.m
extras/MacOSX/Framework/Examples/test/Controller.m
+0
-34
extras/MacOSX/Framework/Examples/test/English.lproj/InfoPlist.strings
...X/Framework/Examples/test/English.lproj/InfoPlist.strings
+0
-0
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/classes.nib
...work/Examples/test/English.lproj/MainMenu.nib/classes.nib
+0
-14
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/info.nib
...amework/Examples/test/English.lproj/MainMenu.nib/info.nib
+0
-22
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/keyedobjects.nib
...Examples/test/English.lproj/MainMenu.nib/keyedobjects.nib
+0
-0
extras/MacOSX/Framework/Examples/test/Info.plist
extras/MacOSX/Framework/Examples/test/Info.plist
+0
-28
extras/MacOSX/Framework/Examples/test/main.m
extras/MacOSX/Framework/Examples/test/main.m
+0
-26
extras/MacOSX/Framework/Examples/test/test.xcodeproj/project.pbxproj
...SX/Framework/Examples/test/test.xcodeproj/project.pbxproj
+0
-302
extras/MacOSX/Framework/Examples/test/test_Prefix.pch
extras/MacOSX/Framework/Examples/test/test_Prefix.pch
+0
-7
No files found.
extras/MacOSX/Framework/Examples/test/Controller.h
deleted
100644 → 0
View file @
d3b42ad4
/* Controller */
#import <Cocoa/Cocoa.h>
#import <VLC/VLC.h>
@interface
Controller
:
NSObject
{
IBOutlet
id
window
;
IBOutlet
id
playlistOutline
;
IBOutlet
id
videoHolderView
;
VLCVideoView
*
videoView
;
VLCPlaylist
*
playlist
;
}
-
(
void
)
awakeFromNib
;
-
(
void
)
play
:(
id
)
sender
;
@end
extras/MacOSX/Framework/Examples/test/Controller.m
deleted
100644 → 0
View file @
d3b42ad4
#import "Controller.h"
@implementation
Controller
-
(
void
)
awakeFromNib
{
NSRect
rect
;
VLCPlaylistDataSource
*
aDataSource
;
/* Won't be released */
videoView
=
[[
VLCVideoView
alloc
]
init
];
rect
=
[
videoHolderView
frame
];
[[
window
contentView
]
replaceSubview
:
videoHolderView
with
:
videoView
];
[
videoView
setFrame
:
rect
];
[
videoView
setAutoresizingMask
:
NSViewHeightSizable
|
NSViewWidthSizable
];
/* Won't be released */
playlist
=
[[
VLCPlaylist
alloc
]
init
];
/* Won't be released */
aDataSource
=
[[
VLCPlaylistDataSource
alloc
]
initWithPlaylist
:
playlist
videoView
:
videoView
];
[
playlistOutline
setDataSource
:
aDataSource
];
[
playlistOutline
registerForDraggedTypes
:
[
NSArray
arrayWithObjects
:
NSFilenamesPboardType
,
NSURLPboardType
,
nil
]];
}
-
(
void
)
play
:(
id
)
sender
{
if
(
!
[
videoView
playlist
])
[
videoView
setPlaylist
:
playlist
];
if
(
[
sender
isKindOfClass
:[
NSTableView
class
]]
&&
[
sender
selectedRow
]
>=
0
)
[
videoView
playItemAtIndex
:
[
sender
selectedRow
]];
}
@end
extras/MacOSX/Framework/Examples/test/English.lproj/InfoPlist.strings
deleted
100644 → 0
View file @
d3b42ad4
Binary files a/extras/MacOSX/Framework/Examples/test/English.lproj/InfoPlist.strings and /dev/null differ
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/classes.nib
deleted
100644 → 0
View file @
d3b42ad4
{
IBClasses = (
{
ACTIONS = {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
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/info.nib
deleted
100644 → 0
View file @
d3b42ad4
<?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>
135 107 356 240 0 0 1680 1028
</string>
<key>
IBEditorPositions
</key>
<dict>
<key>
29
</key>
<string>
132 353 338 44 0 0 1680 1028
</string>
</dict>
<key>
IBFramework Version
</key>
<string>
446.1
</string>
<key>
IBOpenObjects
</key>
<array>
<integer>
21
</integer>
<integer>
29
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
8R218
</string>
</dict>
</plist>
extras/MacOSX/Framework/Examples/test/English.lproj/MainMenu.nib/keyedobjects.nib
deleted
100644 → 0
View file @
d3b42ad4
File deleted
extras/MacOSX/Framework/Examples/test/Info.plist
deleted
100644 → 0
View file @
d3b42ad4
<?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>
extras/MacOSX/Framework/Examples/test/main.m
deleted
100644 → 0
View file @
d3b42ad4
//
// 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[])
{
/* If we can't load the VLC.framework dyld will tell us anyway
* But this is cool */
if(test_vlc_framework() == 0xbabe)
printf("We are linked to VLC.framework!\n");
else
{
fprintf(stderr, "*** Can't load the VLC.framework\n");
return -1;
}
return NSApplicationMain(argc, (const char **) argv);
}
extras/MacOSX/Framework/Examples/test/test.xcodeproj/project.pbxproj
deleted
100644 → 0
View file @
d3b42ad4
This diff is collapsed.
Click to expand it.
extras/MacOSX/Framework/Examples/test/test_Prefix.pch
deleted
100644 → 0
View file @
d3b42ad4
//
// Prefix header for all source files of the 'test' target in the 'test' project
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment