Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

MessagesWindow.h

00001 /*****************************************************************************
00002  * MessagesWindow.h
00003  *****************************************************************************
00004  * Copyright (C) 1999, 2000, 2001 the VideoLAN team
00005  * $Id: MessagesWindow.h 11664 2005-07-09 06:17:09Z courmisch $
00006  *
00007  * Authors: Eric Petit <[email protected]>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00022  *****************************************************************************/
00023 
00024 #ifndef BEOS_MESSAGES_WINDOW_H
00025 #define BEOS_MESSAGES_WINDOW_H
00026 
00027 #include <Window.h>
00028 
00029 class MessagesView : public BTextView
00030 {
00031     public:
00032                              MessagesView( msg_subscription_t * _p_sub,
00033                                            BRect rect, char * name, BRect textRect,
00034                                            uint32 resizingMode, uint32 flags )
00035                                  : BTextView( rect, name, textRect,
00036                                               resizingMode, flags ),
00037                                  p_sub(_p_sub)
00038                              {
00039                              }
00040         virtual void         Pulse();
00041 
00042         msg_subscription_t * p_sub;
00043         BScrollBar         * fScrollBar;
00044 };
00045 
00046 class MessagesWindow : public BWindow
00047 {
00048     public:
00049                              MessagesWindow( intf_thread_t * p_intf,
00050                                              BRect frame, const char * name );
00051         virtual              ~MessagesWindow();
00052         virtual void         FrameResized( float, float );
00053         virtual bool         QuitRequested();
00054 
00055         void                 ReallyQuit();
00056 
00057         intf_thread_t      * p_intf;
00058         msg_subscription_t * p_sub;
00059 
00060         BView *              fBackgroundView;
00061         MessagesView *       fMessagesView;
00062         BScrollView *        fScrollView;
00063 };
00064 
00065 #endif    // BEOS_PREFERENCES_WINDOW_H
00066 

Generated on Tue Dec 20 10:14:37 2005 for vlc-0.8.4a by  doxygen 1.4.2