X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fbeos%2FMessagesWindow.h;h=8267b3eff0d467f613996255203f94242d864c8c;hb=933e35601ce52a8960bb1eb093bb4e688f44911b;hp=ef269b8828560b5b40c884ef1d3ed49b8b6e4913;hpb=4a7b163500b0ddda7eba633bf216402987b09037;p=vlc diff --git a/modules/gui/beos/MessagesWindow.h b/modules/gui/beos/MessagesWindow.h index ef269b8828..8267b3eff0 100644 --- a/modules/gui/beos/MessagesWindow.h +++ b/modules/gui/beos/MessagesWindow.h @@ -1,8 +1,8 @@ /***************************************************************************** * MessagesWindow.h ***************************************************************************** - * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: MessagesWindow.h,v 1.4 2003/05/17 18:30:41 titer Exp $ + * Copyright (C) 1999, 2000, 2001 the VideoLAN team + * $Id$ * * Authors: Eric Petit * @@ -29,20 +29,18 @@ 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; - p_sub = ((intf_sys_t*)p_intf->p_sys)->p_sub; } virtual void Pulse(); - intf_thread_t * p_intf; msg_subscription_t * p_sub; - BScrollBar * fScrollBar; + BScrollBar * fScrollBar; }; class MessagesWindow : public BWindow @@ -56,12 +54,13 @@ 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