![]() |
![]() |
![]() |
Buzztard Bt-Core Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Every application using the libbtcore library should inherit from this class.
The base class automatically creates a GstBin element as a container for the
song. This can be retrieved via the "bin" property.
When creating BtSong instances, the BtApplication instance needs to be
passed to the bt_song_new()
constructor, so that it can retrieve the GstBin
element.
BtApplication *app; BtSong *song; ... song=bt_song_new(app);
Another module the application base class maintains is a settings instance (see BtSettings), that manages application preferences.