*****************************************************************************/
@interface VLCApplication : NSApplication
{
- vlc_t *o_vlc;
+ libvlc_int_t *o_libvlc;
}
-- (void)setVLC: (vlc_t *)p_vlc;
+- (void)setVLC: (libvlc_int_t *)p_libvlc;
@end
#endif
#ifdef __APPLE__
/*****************************************************************************
- * VLCApplication implementation
+ * VLCApplication implementation
*****************************************************************************/
-@implementation VLCApplication
+@implementation VLCApplication
-- (void)setVLC: (vlc_t *) p_vlc
+- (void)setVLC: (libvlc_int_t *) p_libvlc
{
- o_vlc = p_vlc;
+ o_vlc = p_libvlc;
}
- (void)stop: (id)sender
}
/*****************************************************************************
- * VLC_Create: allocate a vlc_t structure, and initialize libvlc if needed.
+ * VLC_Create: allocate a libvlc instance and intialize global libvlc stuff if needed
*****************************************************************************
- * This function allocates a vlc_t structure and returns a negative value
+ * This function allocates a libvlc instance and returns a negative value
* in case of failure. Also, the thread system is initialized.
*****************************************************************************/
int VLC_Create( void )
/*****************************************************************************
- * VLC_Init: initialize a vlc_t structure.
+ * VLC_Init: initialize a libvlc instance
*****************************************************************************
- * This function initializes a previously allocated vlc_t structure:
+ * This function initializes a previously allocated libvlc instance:
* - CPU detection
* - gettext initialization
* - message queue, module bank and playlist initialization
*****************************************************************************/
/*****************************************************************************
- * Initializer for the vlc_t structure storing the action / key associations
+ * Initializer for the libvlc instance structure
+ * storing the action / key associations
*****************************************************************************/
static struct hotkey p_hotkeys[] =
{