]> git.sesse.net Git - vlc/blobdiff - modules/gui/beos/PlayListWindow.h
* modules/control/netsync.c: less verbose.
[vlc] / modules / gui / beos / PlayListWindow.h
index ee655c317477b8cd120489683b3f22badc7f9a85..2557635fe7ab8a360b419cdc1b9bd2610a47600e 100644 (file)
@@ -2,7 +2,7 @@
  * PlayListWindow.h: BeOS interface window class prototype
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: PlayListWindow.h,v 1.5 2002/11/27 05:36:41 titer Exp $
+ * $Id$
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *          Tony Castley <tcastley@mail.powerup.com.au>
@@ -13,7 +13,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -29,8 +29,7 @@
 
 #include <Window.h>
 
-class BListView;
-class CDMenu;
+class BMenuItem;
 class InterfaceWindow;
 class PlaylistView;
 
@@ -52,14 +51,30 @@ class PlayListWindow : public BWindow
                        void                            ReallyQuit();
                        void                            UpdatePlaylist( bool rebuild = false );
 
+                       void                            SetDisplayMode( uint32 mode );
+                       uint32                          DisplayMode() const;
+
  private:      
+                       void                            _CheckItemsEnableState() const;
+                       void                            _SetMenuItemEnabled( BMenuItem* item,
+                                                                                                        bool enabled ) const;
+
                        PlaylistView *      fListView;
                        BView *             fBackgroundView;
                        BMenuBar *          fMenuBar;
                        InterfaceWindow *   fMainWindow;
+
+                       BMenuItem*                      fSelectAllMI;
+                       BMenuItem*                      fSelectNoneMI;
+                       BMenuItem*                      fSortReverseMI;
+                       BMenuItem*                      fSortNameMI;
+                       BMenuItem*                      fSortPathMI;
+                       BMenuItem*                      fRandomizeMI;
+                       BMenuItem*                      fRemoveMI;
+                       BMenuItem*                      fRemoveAllMI;
+                       BMenu*                          fViewMenu;
                        
                        intf_thread_t *     p_intf;
-                       VlcWrapper *   p_wrapper;
 };
 
 #endif // BEOS_PLAY_LIST_WINDOW_H