]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlist.h
Implements sorting of the current node from context menu
[vlc] / modules / gui / macosx / playlist.h
index 735f922bcb0c132c8473d2d1048331b14d414f21..1049166da09f0443c238882327c67af586b3723e 100644 (file)
@@ -52,6 +52,8 @@
     IBOutlet id o_mi_delete;
     IBOutlet id o_mi_info;
     IBOutlet id o_mi_selectall;
+    IBOutlet id o_mi_sort_name;
+    IBOutlet id o_mi_sort_author;
 
     NSImage *o_descendingSortingImage;
     NSImage *o_ascendingSortingImage;
 - (NSMenu *)menuForEvent:(NSEvent *)o_event;
 
 - (void)playlistUpdated;
+- (void)sortNode:(int)i_mode;
 
 - (IBAction)playItem:(id)sender;
 - (IBAction)deleteItem:(id)sender;
 - (IBAction)selectAll:(id)sender;
+- (IBAction)sortNodeByName:(id)sender;
+- (IBAction)sortNodeByAuthor:(id)sender;
 
 - (void)appendArray:(NSArray*)o_array atPos:(int)i_position enqueue:(BOOL)b_enqueue;