/*****************************************************************************
* MessagesWindow.h
*****************************************************************************
- * Copyright (C) 1999, 2000, 2001 VideoLAN
+ * Copyright (C) 1999, 2000, 2001 the VideoLAN team
* $Id$
*
* Authors: Eric Petit <titer@videolan.org>
*
* 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.
*****************************************************************************/
#ifndef BEOS_MESSAGES_WINDOW_H
class MessagesView : public BTextView
{
public:
- MessagesView( intf_thread_t * _p_intf,
+ MessagesView( msg_subscription_t * _p_sub,
BRect rect, char * name, BRect textRect,
uint32 resizingMode, uint32 flags )
: BTextView( rect, name, textRect,
- resizingMode, flags )
+ resizingMode, flags ),
+ p_sub(_p_sub)
{
- p_intf = _p_intf;
}
virtual void Pulse();
- intf_thread_t * p_intf;
msg_subscription_t * p_sub;
- BScrollBar * fScrollBar;
+ BScrollBar * fScrollBar;
};
class MessagesWindow : public BWindow
void ReallyQuit();
- intf_thread_t * p_intf;
+ intf_thread_t * p_intf;
+ msg_subscription_t * p_sub;
BView * fBackgroundView;
MessagesView * fMessagesView;
BScrollView * fScrollView;
};
-#endif // BEOS_PREFERENCES_WINDOW_H
+#endif // BEOS_PREFERENCES_WINDOW_H