Remove HTTPD object type
[vlc.git] / modules / gui / beos / PlayListWindow.h
1 /*****************************************************************************
2  * PlayListWindow.h: BeOS interface window class prototype
3  *****************************************************************************
4  * Copyright (C) 1999, 2000, 2001 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
8  *          Tony Castley <tcastley@mail.powerup.com.au>
9  *          Richard Shepherd <richard@rshepherd.demon.co.uk>
10  *          Stephan Aßmus <stippi@yellowbites.com>
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25  *****************************************************************************/
26 #if 0
27 #ifndef BEOS_PLAY_LIST_WINDOW_H
28 #define BEOS_PLAY_LIST_WINDOW_H
29
30 #include <Window.h>
31
32 class BMenuItem;
33 class InterfaceWindow;
34 class PlaylistView;
35
36 class PlayListWindow : public BWindow
37 {
38  public:
39                                 PlayListWindow(BRect frame,
40                                                const char* name,
41                                                InterfaceWindow* mainWindow,
42                                                intf_thread_t *p_interface );
43     virtual                        ~PlayListWindow();
44
45                                 // BWindow
46     virtual    bool                QuitRequested();
47     virtual    void                MessageReceived(BMessage *message);
48     virtual    void                FrameResized(float width, float height);
49
50                                 // PlayListWindow
51             void                ReallyQuit();
52             void                UpdatePlaylist( bool rebuild = false );
53
54             void                SetDisplayMode( uint32 mode );
55             uint32                DisplayMode() const;
56
57  private:    
58             void                _CheckItemsEnableState() const;
59             void                _SetMenuItemEnabled( BMenuItem* item,
60                                                      bool enabled ) const;
61
62             PlaylistView *      fListView;
63             BView *             fBackgroundView;
64             BMenuBar *          fMenuBar;
65             InterfaceWindow *   fMainWindow;
66
67             BMenuItem*            fSelectAllMI;
68             BMenuItem*            fSelectNoneMI;
69             BMenuItem*            fSortReverseMI;
70             BMenuItem*            fSortNameMI;
71             BMenuItem*            fSortPathMI;
72             BMenuItem*            fRandomizeMI;
73             BMenuItem*            fRemoveMI;
74             BMenuItem*            fRemoveAllMI;
75             BMenu*                fViewMenu;
76             
77             intf_thread_t *     p_intf;
78 };
79
80 #endif    // BEOS_PLAY_LIST_WINDOW_H
81 #endif
82