]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlistinfo.h
FSF address change.
[vlc] / modules / gui / macosx / playlistinfo.h
index b845ff3b3f7bb8caab718149c14d66e103d8ddc1..23f21f9b7a5d3545411c0ed50893a540619c9e6c 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * playlistinfo.h: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2002-2004 VideoLAN
- * $Id: playlist.h 7015 2004-03-08 15:22:58Z bigben $
+ * Copyright (C) 2002-2004 the VideoLAN team
+ * $Id$
  *
  * Authors: Benjamin Pracht <bigben at videolan dot org> 
  *
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -26,7 +26,7 @@
  *****************************************************************************/
 
 
-@interface VLCPlaylistInfo : NSObject
+@interface VLCInfo : NSObject
 {
     IBOutlet id o_info_window;
     IBOutlet id o_uri_lbl;
     IBOutlet id o_uri_txt;
     IBOutlet id o_title_txt;
     IBOutlet id o_author_txt;
-    IBOutlet id o_btn_info_ok;
-    IBOutlet id o_btn_info_cancel;
+    IBOutlet id o_btn_ok;
+    IBOutlet id o_btn_cancel;
     IBOutlet id o_btn_delete_group;
     IBOutlet id o_btn_add_group;
     IBOutlet id o_outline_view;
-    IBOutlet id o_vlc_playlist;
-    IBOutlet id o_group_lbl;
-    IBOutlet id o_group_cbx;
-    IBOutlet id o_group_color;
+
+    playlist_item_t * p_item;
 }
 
 - (IBAction)togglePlaylistInfoPanel:(id)sender;
+- (IBAction)toggleInfoPanel:(id)sender;
+- (void)initPanel:(id)sender;
 - (IBAction)infoCancel:(id)sender;
 - (IBAction)infoOk:(id)sender;
-- (IBAction)handleGroup:(id)sender;
-- (IBAction)deleteOutlineGroup:(id)sender;
-- (IBAction)createOutlineGroup:(id)sender;
-- (void)createComboBox;
+- (playlist_item_t *)getItem;
+- (BOOL)isItemInPlaylist:(playlist_item_t *)p_item;
 
 @end
 
@@ -61,7 +59,7 @@
     NSString *o_name;
     NSString *o_value;
     int i_object_id;
-    int i_item;
+    playlist_item_t * p_item;
     VLCInfoTreeItem *o_parent;
     NSMutableArray *o_children;
 }