* intf_vlc_wrapper.h: BeOS plugin for vlc (derived from MacOS X port )
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: VlcWrapper.h,v 1.6 2002/10/30 00:59:22 titer Exp $
+ * $Id: VlcWrapper.h,v 1.7 2002/11/26 01:06:08 titer Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
{
InterfaceWindow * p_window;
- input_thread_t * p_input;
- playlist_t * p_playlist;
- aout_instance_t * p_aout;
-
/* DVD mode */
vlc_bool_t b_disabled_menus;
vlc_bool_t b_loop;
int i_saved_volume;
int i_channel;
- Intf_VLCWrapper * p_vlc_wrapper;
+ Intf_VLCWrapper * p_wrapper;
};
/*****************************************************************************
*****************************************************************************
* This class makes the link between the BeOS interface and the vlc core.
* There is only one Intf_VLCWrapper instance at any time, which is stored
- * in p_intf->p_sys->p_vlc_wrapper
+ * in p_intf->p_sys->p_wrapper
*****************************************************************************/
class Intf_VLCWrapper
{
Intf_VLCWrapper( intf_thread_t *p_intf );
~Intf_VLCWrapper();
+ bool UpdateInputAndAOut();
+
int inputGetStatus();
+ int InputStatus();
+ int InputRate();
+ int InputTell();
+ int InputSize();
void inputSeek();
/* playlist control */
+ int PlaylistSize();
+ char *PlaylistItemName( int );
+ int PlaylistCurrent();
+
bool playlistPlay();
void playlistPause();
void playlistStop();
void navigatePrev();
void navigateNext();
+ /* DVD */
+ bool HasTitles();
+ void PrevTitle();
+ void NextTitle();
+ bool HasChapters();
+ void PrevChapter();
+ void NextChapter();
+
/* Stream Control */
void playSlower();
void playFaster();
void channelPrev();
private:
- intf_thread_t *p_intf;
+ intf_thread_t * p_intf;
+ input_thread_t * p_input;
+ playlist_t * p_playlist;
+ aout_instance_t * p_aout;
};