diff options
author | Andre Pang <athp@users.sourceforge.net> | 2004-06-26 15:09:35 +0000 |
---|---|---|
committer | Andre Pang <athp@users.sourceforge.net> | 2004-06-26 15:09:35 +0000 |
commit | 22bb60f3e41dbd471b225c251f57b883dc83e235 (patch) | |
tree | 1bf14536e1bbd0d6bf5ac524a980a3db226db3f4 /src | |
parent | 80625dbb6ed32304c0b46dbaf81ae885c109d13f (diff) | |
download | xine-lib-22bb60f3e41dbd471b225c251f57b883dc83e235.tar.gz xine-lib-22bb60f3e41dbd471b225c251f57b883dc83e235.tar.bz2 |
Mac OS X video_window.h: #import <Cocoa/Cocoa.h> so the header file can
compile :)
CVS patchset: 6752
CVS date: 2004/06/26 15:09:35
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/macosx/video_window.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_out/macosx/video_window.h b/src/video_out/macosx/video_window.h index b6b79a75d..f0f01c314 100644 --- a/src/video_out/macosx/video_window.h +++ b/src/video_out/macosx/video_window.h @@ -22,12 +22,13 @@ #ifndef HAVE_VIDEO_WINDOW_H #define HAVE_VIDEO_WINDOW_H +#import <Cocoa/Cocoa.h> + typedef enum { XINE_FULLSCREEN_OVERSCAN, XINE_FULLSCREEN_CROP } XineVideoWindowFullScreenMode; - @interface XineOpenGLView : NSOpenGLView { IBOutlet id delegate; int video_width, video_height; @@ -38,7 +39,7 @@ typedef enum { XineVideoWindowFullScreenMode fullscreen_mode; NSOpenGLContext *fullScreenContext; NSOpenGLContext *currentContext; - NSLock *mutex; + NSLock *mutex; } - (void) displayTexture; @@ -81,7 +82,7 @@ typedef enum { /* XineOpenGLView delegate methods */ @interface NSObject (XineOpenGLViewDelegate) - + - (NSSize)xineViewWillResize:(NSSize)previousSize toSize:(NSSize)proposedFrameSize; - (void)xineViewDidResize:(NSNotification *)aNotification; |