2 #include "nsISupports.idl"
4 [scriptable, uuid(ea92ef52-afe4-4212-bacb-dfe9fca94cd6)]
6 interface VlcIntf : nsISupports
8 /* Basic playback control */
13 /* Audio/Video control */
15 void set_volume( in PRInt64 i_volume );
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);
34 /* Status accessors */
37 PRInt64 get_position();
40 void seek( in PRInt64 i_secs, in PRInt64 b_relative);