1 /*****************************************************************************
2 * PlayListWindow.h: BeOS interface window class prototype
3 *****************************************************************************
4 * Copyright (C) 1999, 2000, 2001 VideoLAN
5 * $Id: PlayListWindow.h,v 1.4 2002/11/26 01:06:08 titer Exp $
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>
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.
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.
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., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
25 *****************************************************************************/
27 #ifndef BEOS_PLAY_LIST_WINDOW_H
28 #define BEOS_PLAY_LIST_WINDOW_H
34 class InterfaceWindow;
37 class PlayListWindow : public BWindow
40 PlayListWindow(BRect frame,
42 InterfaceWindow* mainWindow,
43 intf_thread_t *p_interface );
44 virtual ~PlayListWindow();
47 virtual bool QuitRequested();
48 virtual void MessageReceived(BMessage *message);
49 virtual void FrameResized(float width, float height);
53 void UpdatePlaylist( bool rebuild = false );
56 PlaylistView * fListView;
57 BView * fBackgroundView;
59 InterfaceWindow * fMainWindow;
61 intf_thread_t * p_intf;
62 Intf_VLCWrapper * p_wrapper;
65 #endif // BEOS_PLAY_LIST_WINDOW_H