audrey/src/rust.vapi

47 lines
1.5 KiB
Vala
Raw Normal View History

2024-10-31 07:20:36 +00:00
[CCode (cheader_filename = "rust.h")]
namespace Audrey {
public class Ui.Playbar : Adw.Bin {
public PlaybinSong? song { get; set; }
public Gdk.Paintable? playing_cover_art { get; set; }
public weak Playbin playbin { get; set; }
public bool show_cover_art { get; set; /*default = true;*/ }
public int volume { get; set; }
}
public class Ui.PlayQueueSong : Gtk.Box {
public bool draggable { get; set; }
public bool show_position { get; set; }
public bool show_artist { get; set; }
public bool show_cover { get; set; }
public bool current { get; set; }
public uint displayed_position { get; set; }
public PlaybinSong song { get; set; }
public PlayQueueSong (Playbin playbin);
public void bind (uint position, PlaybinSong song);
public void unbind ();
}
2024-10-31 11:02:00 +00:00
public class Ui.PlayQueue : Adw.Bin {
public Playbin playbin { get; set; }
public bool can_clear_all { get; }
}
2024-11-02 09:50:12 +00:00
public class Ui.Setup : Adw.PreferencesDialog {
public string status { get; }
public bool authn_can_edit { get; }
public bool authn_can_validate { get; }
public string server_url { get; set; }
public string username { get; set; }
public string password { get; set; }
public signal void connected (Subsonic.Client api);
public Setup ();
public void load ();
public void save ();
}
2024-10-31 07:20:36 +00:00
}