rust.vapi
This commit is contained in:
parent
e5871e0bfc
commit
d49c348781
4 changed files with 13 additions and 9 deletions
|
@ -3,9 +3,9 @@ audrey_sources = [
|
||||||
'globalconf.vala',
|
'globalconf.vala',
|
||||||
'mpris.vala',
|
'mpris.vala',
|
||||||
'playbin.vala',
|
'playbin.vala',
|
||||||
|
'rust.vapi',
|
||||||
'subsonic.vala',
|
'subsonic.vala',
|
||||||
'ui/play_queue.vala',
|
'ui/play_queue.vala',
|
||||||
'ui/playbar.vapi',
|
|
||||||
'ui/setup.vala',
|
'ui/setup.vala',
|
||||||
'ui/window.vala',
|
'ui/window.vala',
|
||||||
]
|
]
|
||||||
|
|
12
src/rust.vapi
Normal file
12
src/rust.vapi
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[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; }
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -1,8 +0,0 @@
|
||||||
[CCode (cheader_filename = "ui/playbar.h")]
|
|
||||||
public class Audrey.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; }
|
|
||||||
}
|
|
Loading…
Reference in a new issue