1
by Alessio Treglia
Import upstream version 0.2.5 |
1 |
// -------------------------------------------------------------------------------- //
|
1.1.5
by Alessio Treglia
Import upstream version 0.3.7~ds0 |
2 |
// Copyright (C) 2008-2013 J.Rios
|
1
by Alessio Treglia
Import upstream version 0.2.5 |
3 |
// anonbeat@gmail.com
|
4 |
//
|
|
5 |
// This Program is free software; you can redistribute it and/or modify
|
|
6 |
// it under the terms of the GNU General Public License as published by
|
|
1.1.3
by Alessio Treglia
Import upstream version 0.3.1~dfsg0 |
7 |
// the Free Software Foundation; either version 3, or (at your option)
|
1
by Alessio Treglia
Import upstream version 0.2.5 |
8 |
// any later version.
|
9 |
//
|
|
10 |
// This Program is distributed in the hope that it will be useful,
|
|
11 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13 |
// GNU General Public License for more details.
|
|
14 |
//
|
|
15 |
// You should have received a copy of the GNU General Public License
|
|
16 |
// along with this program; see the file LICENSE. If not, write to
|
|
17 |
// the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
18 |
// http://www.gnu.org/copyleft/gpl.html
|
|
19 |
//
|
|
20 |
// -------------------------------------------------------------------------------- //
|
|
21 |
#ifndef PLAYLISTAPPEND_H
|
|
22 |
#define PLAYLISTAPPEND_H
|
|
23 |
||
24 |
#include <wx/string.h> |
|
25 |
#include <wx/stattext.h> |
|
26 |
#include <wx/gdicmn.h> |
|
27 |
#include <wx/font.h> |
|
28 |
#include <wx/colour.h> |
|
29 |
#include <wx/settings.h> |
|
30 |
#include <wx/choice.h> |
|
31 |
#include <wx/combobox.h> |
|
32 |
#include <wx/sizer.h> |
|
33 |
#include <wx/button.h> |
|
34 |
#include <wx/dialog.h> |
|
35 |
||
36 |
#include "DbLibrary.h" |
|
37 |
||
38 |
// -------------------------------------------------------------------------------- //
|
|
39 |
class guPlayListAppend : public wxDialog |
|
40 |
{
|
|
41 |
protected: |
|
1.1.2
by Alessio Treglia
Import upstream version 0.2.9 |
42 |
wxChoice * m_PosChoice; |
43 |
wxComboBox * m_PlayListComboBox; |
|
44 |
wxStaticText * m_TracksStaticText; |
|
1
by Alessio Treglia
Import upstream version 0.2.5 |
45 |
|
1.1.2
by Alessio Treglia
Import upstream version 0.2.9 |
46 |
guDbLibrary * m_Db; |
47 |
const wxArrayInt * m_Tracks; |
|
48 |
guListItems * m_PlayListItems; |
|
1
by Alessio Treglia
Import upstream version 0.2.5 |
49 |
|
50 |
public: |
|
1.1.2
by Alessio Treglia
Import upstream version 0.2.9 |
51 |
guPlayListAppend( wxWindow * parent, guDbLibrary * db, const wxArrayInt * songs, guListItems * items ); |
1
by Alessio Treglia
Import upstream version 0.2.5 |
52 |
~guPlayListAppend(); |
53 |
||
54 |
int GetSelectedPosition( void ); |
|
55 |
int GetSelectedPlayList( void ); |
|
56 |
wxString GetPlaylistName( void ); |
|
57 |
||
58 |
};
|
|
59 |
||
1.1.4
by Alessio Treglia
Import upstream version 0.3.5~ds0 |
60 |
int FindPlayListItem( guListItems * items, const wxString &playlistname ); |
61 |
||
1
by Alessio Treglia
Import upstream version 0.2.5 |
62 |
#endif
|
63 |
// -------------------------------------------------------------------------------- //
|