Commit 47c81aff authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: add missing selector declarations and more cleanup

parent f0d15924
...@@ -88,6 +88,4 @@ ...@@ -88,6 +88,4 @@
- (IBAction)transcodeInfoChanged:(id)object; - (IBAction)transcodeInfoChanged:(id)object;
- (IBAction)announceChanged:(id)sender; - (IBAction)announceChanged:(id)sender;
- (IBAction)streamTTLStepperChanged:(id)sender;
@end @end
...@@ -42,6 +42,22 @@ ...@@ -42,6 +42,22 @@
#include <vlc_input.h> #include <vlc_input.h>
#include <vlc_url.h> #include <vlc_url.h>
@interface VLCPLModel ()
{
playlist_t *p_playlist;
__weak NSOutlineView *_outlineView;
NSUInteger _retainedRowSelection;
}
- (void)VLCPLItemAppended:(NSArray *)valueArray;
- (void)VLCPLItemRemoved:(NSNumber *)value;
- (void)VLCPLItemUpdated;
@end
#pragma mark -
static int VLCPLItemUpdated(vlc_object_t *p_this, const char *psz_var, static int VLCPLItemUpdated(vlc_object_t *p_this, const char *psz_var,
vlc_value_t oldval, vlc_value_t new_val, void *param) vlc_value_t oldval, vlc_value_t new_val, void *param)
{ {
...@@ -105,15 +121,6 @@ static int VolumeUpdated(vlc_object_t *p_this, const char *psz_var, ...@@ -105,15 +121,6 @@ static int VolumeUpdated(vlc_object_t *p_this, const char *psz_var,
#pragma mark - #pragma mark -
@interface VLCPLModel ()
{
playlist_t *p_playlist;
__weak NSOutlineView *_outlineView;
NSUInteger _retainedRowSelection;
}
@end
@implementation VLCPLModel @implementation VLCPLModel
#pragma mark - #pragma mark -
......
...@@ -2186,7 +2186,6 @@ o_moduleenabled = [NSNumber numberWithBool:NO];\ ...@@ -2186,7 +2186,6 @@ o_moduleenabled = [NSNumber numberWithBool:NO];\
row:(NSInteger)dropRow dropOperation:(NSTableViewDropOperation)op; row:(NSInteger)dropRow dropOperation:(NSTableViewDropOperation)op;
{ {
NSPasteboard *pb = [info draggingPasteboard]; NSPasteboard *pb = [info draggingPasteboard];
NSDragOperation srcMask = [info draggingSourceOperationMask];
BOOL accepted = NO; BOOL accepted = NO;
NS_DURING NS_DURING
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment