1 /*****************************************************************************
2 * intf_vlc_wrapper.h: MacOS X plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
5 * $Id: intf_vlc_wrapper.h,v 1.4 2002/03/19 03:33:52 jlj Exp $
7 * Authors: Florian G. Pflug <fgp@phlo.org>
8 * Jon Lech Johansen <jon-vl@nanocrew.net>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
23 *****************************************************************************/
25 typedef enum intf_speed_e
32 /* Intf_VLCWrapper is a singleton class
33 (only one instance at any time) */
35 @interface Intf_VLCWrapper : NSObject
41 + (Intf_VLCWrapper *)instance;
46 /* Playback control */
47 - (void)setSpeed:(intf_speed_t)e_speed;
48 - (NSString *)getTimeAsString;
49 - (float)getTimeAsFloat;
50 - (void)setTimeAsFloat:(float)i_offset;
52 /* Playlist control */
53 - (NSArray *)playlistAsArray;
54 - (int)playlistLength;
55 - (NSString *)playlistItem:(int)i_pos;
56 - (bool)playlistPlayCurrent;
57 - (void)playlistPause;
59 - (void)playlistPlayNext;
60 - (void)playlistPlayPrev;
61 - (void)playlistPlayItem:(int)i_item;
62 - (void)playlistAdd:(NSString *)o_filename;
63 - (void)clearPlaylist;
64 - (bool)playlistPlaying;