]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/intf.h
macosx: fill the side bar with SDs, etc.
[vlc] / modules / gui / macosx / intf.h
index c694ee0c26e8b2e676066badf4d29ecda9fb9fca..2755a0c62003d312d806094d635f2a5db49170f1 100644 (file)
@@ -78,12 +78,15 @@ struct intf_sys_t
 /*****************************************************************************
  * VLCMain interface
  *****************************************************************************/
+#ifndef MAC_OS_X_VERSION_10_6
+@protocol NSWindowDelegate <NSObject> @end
+#endif
 @class AppleRemote;
 @class VLCInformation;
 @class VLCEmbeddedWindow;
 @class VLCControls;
 @class VLCPlaylist;
-@interface VLCMain : NSObject
+@interface VLCMain : NSObject <NSWindowDelegate>
 {
     intf_thread_t *p_intf;      /* The main intf object */
     id o_mainmenu;              /* VLCMainMenu */