aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/streambrowser/streambrowser.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-01-06 20:09:02 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-01-06 20:09:02 +0000
commitb9e09bd2280f58a07476b1faf9f24127915aaed9 (patch)
treea68db28e7d2b4e3f83abdab3d753c68d61c74698 /src/plugins/General/streambrowser/streambrowser.h
parent8a6f982632b4f4710576685a5647a771384ab29a (diff)
downloadqmmp-b9e09bd2280f58a07476b1faf9f24127915aaed9.tar.gz
qmmp-b9e09bd2280f58a07476b1faf9f24127915aaed9.tar.bz2
qmmp-b9e09bd2280f58a07476b1faf9f24127915aaed9.zip
using override keyword
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8592 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/streambrowser/streambrowser.h')
0 files changed, 0 insertions, 0 deletions
20 13:23:56 +0000 committer trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> 2008-03-20 13:23:56 +0000 streaming playlists support' href='/qmmp/commit/src/ui/fileloader.cpp?id=420e30ba9c4f043f37f7e3ffe452a4486a9238ca'>420e30ba9
2d622fd9b




420e30ba9




cda0f909b
45117f6d2

420e30ba9

2d622fd9b



420e30ba9
45117f6d2
420e30ba9






cda0f909b

45117f6d2

420e30ba9












2d622fd9b

2d622fd9b

420e30ba9



2d622fd9b

2d622fd9b

420e30ba9

2d622fd9b



420e30ba9

2d622fd9b



420e30ba9
2d622fd9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107


















                                                                             
                         

                       
                             
                         

                                       
                                                         
 

                                       




                         
                                          




                                                   




                             
                                                                                                              

                                                     

                               



                                               
 
                                






                                                                 

                                                                                        

                                                     












                                                       

 

                      



                                    

 

                                                      

                            



                                                      

                            



                         
                      
 
/***************************************************************************
 *   Copyright (C) 2006 by Ilya Kotov                                      *
 *   forkotov02@hotmail.ru                                                 *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#include <qmmp/decoder.h>

#include "fileloader.h"
#include "playlistsettings.h"
#include "playlistitem.h"

FileLoader::FileLoader(QObject *parent)
        : QThread(parent),m_files_to_load(),m_directory()
{
    m_filters = Decoder::nameFilters();
    m_finished = false;
}


FileLoader::~FileLoader()
{
    qWarning("FileLoader::~FileLoader()");
}


void FileLoader::addFiles(const QStringList &files)
{
    if (files.isEmpty ())
        return;

    foreach(QString s, files)
    {
        QList <FileInfo *> playList = Decoder::createPlayList(s, PlaylistSettings::instance()->useMetadata());
        foreach(FileInfo *info, playList)
        emit newPlayListItem(new PlayListItem(info));
        if (m_finished) return;
    }
}


void FileLoader::addDirectory(const QString& s)
{
    QList <FileInfo *> playList;