* Tagged the 0.8.0 release.
[vlc.git] / mozilla / vlcintf.idl
blob08515f2030256b9c02ceb727380b5a55c924b570
2 #include "nsISupports.idl"
4 [scriptable, uuid(ea92ef52-afe4-4212-bacb-dfe9fca94cd6)]
6 interface VlcIntf : nsISupports
8 /* Basic playback control */
9 void play();
10 void pause();
11 void stop();
13 /* Audio/Video control */
14 void fullscreen();
15 void set_volume( in PRInt64 i_volume );
16 PRInt64 get_volume();
17 void mute();
19 /* Get/Set variable */
20 void set_int_variable( in string psz_var, in PRInt64 i_value );
21 void set_bool_variable( in string psz_var, in PRBool b_value );
22 void set_str_variable( in string psz_var, in string psz_value );
24 PRInt64 get_int_variable( in string psz_var );
25 PRBool get_bool_variable( in string psz_var );
26 string get_str_variable( in string psz_var );
28 /* Playlist management */
29 void clear_playlist();
30 void add_item( in string psz_name);
31 void next();
32 void previous();
34 /* Status accessors */
35 PRBool isplaying();
36 PRInt64 get_length();
37 PRInt64 get_position();
38 PRInt64 get_time();
40 void seek( in PRInt64 i_secs, in PRInt64 b_relative);