]> git.sesse.net Git - vlc/blob - mozilla/vlcintf.idl
* Added new functions to the Mozilla plugin
[vlc] / mozilla / vlcintf.idl
1
2 #include "nsISupports.idl"
3
4 [scriptable, uuid(ea92ef52-afe4-4212-bacb-dfe9fca94cd6)]
5
6 interface VlcIntf : nsISupports
7 {
8     /* Basic playback control */
9     void play();
10     void pause();
11     void stop();
12  
13     /* Audio/Video control */
14     void fullscreen();
15     void set_volume( in PRInt64 i_volume );
16     PRInt64 get_volume();
17     void mute();
18
19     /* Playlist management */
20     void clear_playlist();
21     void add_item( in string psz_name);
22     void next();
23     void previous();
24  
25     /* Status accessors */
26     PRBool isplaying();
27     PRInt64 get_length();
28     PRInt64 get_position();
29     PRInt64 get_time();
30
31     void seek( in PRInt64 i_secs, in PRInt64 b_relative);
32 };
33