libsaria: Change deck::push() to deck::push_back()
I'm going to create a push_front() function too, so renaming it makes sense. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
4c33ba82ec
commit
898865293d
|
@ -17,7 +17,7 @@ namespace libsaria
|
|||
namespace deck
|
||||
{
|
||||
|
||||
void push(Playlist *);
|
||||
void push_back(Playlist *);
|
||||
void next();
|
||||
void prev();
|
||||
void init();
|
||||
|
|
|
@ -135,7 +135,7 @@ namespace libsaria
|
|||
{
|
||||
app::mkdir("library");
|
||||
next_id = schedule_load();
|
||||
deck::push(&lib_playlist);
|
||||
deck::push_back(&lib_playlist);
|
||||
}
|
||||
|
||||
}; /* namespace: libsaria */
|
||||
|
|
|
@ -66,7 +66,7 @@ static void check_pause()
|
|||
namespace libsaria
|
||||
{
|
||||
|
||||
void deck::push(Playlist *plist)
|
||||
void deck::push_back(Playlist *plist)
|
||||
{
|
||||
list<libsaria::Playlist *>::iterator it;
|
||||
|
||||
|
@ -129,7 +129,7 @@ namespace libsaria
|
|||
plist = new List(PL_NONE);
|
||||
};
|
||||
|
||||
deck::push(plist);
|
||||
deck::push_back(plist);
|
||||
renumber_playlists();
|
||||
|
||||
if (on_new_playlist)
|
||||
|
@ -140,7 +140,7 @@ namespace libsaria
|
|||
void deck::init()
|
||||
{
|
||||
app::mkdir("playlist");
|
||||
push(&recent_plist);
|
||||
push_back(&recent_plist);
|
||||
}
|
||||
|
||||
Playlist *deck::get_recent_plist()
|
||||
|
|
Loading…
Reference in New Issue