* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#import "misc.h"
/*****************************************************************************
* VLCEmbeddedList interface
*****************************************************************************/
NSMutableArray * o_embedded_array;
}
-- (id)getEmbeddedVout;
+- (id)embeddedVout;
- (void)releaseEmbeddedVout: (id)o_vout_view;
- (void)addEmbeddedVout: (id)o_vout_view;
- (BOOL)windowContainsEmbedded: (id)o_window;
-- (id)getViewForWindow: (id)o_window;
+- (id)viewForWindow: (id)o_window;
@end
- (void)toggleFullscreen;
- (BOOL)isFullscreen;
- (void)snapshot;
-- (id)getWindow;
+- (id)voutWindow;
-+ (id)getVoutView: (vout_thread_t *)p_vout subView: (NSView *) view
- frame: (NSRect *) s_frame;
-+ (vout_thread_t *)getRealVout: (vout_thread_t *)p_vout;
++ (id)voutView: (vout_thread_t *)p_vout subView: (NSView *) view
+ frame: (NSRect *) s_frame;
++ (vout_thread_t *)realVout: (vout_thread_t *)p_vout;
- (void)enterFullscreen;
- (void)leaveFullscreen;
/*****************************************************************************
* VLCVoutWindow interface
*****************************************************************************/
-@interface VLCVoutWindow : NSWindow
+@interface VLCVoutWindow : VLCWindow
{
vout_thread_t * p_vout;
VLCVoutView * o_view;
NSRect * s_frame;
- vout_thread_t * p_real_vout;
bool b_init_ok;
- bool b_black;
- bool b_embedded;
+ BOOL fullscreen;
+ NSRect initialFrame;
}
- (id) initWithVout: (vout_thread_t *) p_vout view: (VLCVoutView *) view
frame: (NSRect *) s_frame;
- (id)initMainThread: (id) sender;
-- (void)close;
-- (void)closeWindow;
-- (id)closeMainThread: (id) sender;
-- (id)getVoutView;
-
-- (BOOL)windowShouldClose:(id)sender;
-
+- (void)leaveFullscreen;
+- (void)enterFullscreen;
+- (id)voutView;
@end