1 /***************************************************************************
2 * Copyright (c) 2007 Nikolaj Hald Nielsen <nhnFreespirit@gmail.com> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, write to the *
16 * Free Software Foundation, Inc., *
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ***************************************************************************/
20 #ifndef SHOUTCASTSERVICE_H
21 #define SHOUTCASTSERVICE_H
23 #include "servicebase.h"
25 #include "ShoutcastServiceCollection.h"
26 #include "servicemetabase.h"
29 class ShoutcastServiceFactory
: public ServiceFactory
34 ShoutcastServiceFactory() {}
35 virtual ~ShoutcastServiceFactory() {}
38 virtual QString
name();
39 virtual KPluginInfo
info();
40 virtual KConfigGroup
config();
44 A service for showing the shoutcast directory of online radio stations. Based on the shoutcast directory in the 1.4 series by
46 @author Nikolaj Hald Nielsen <nhnFreespirit@gmail.com>
48 class ShoutcastService
: public ServiceBase
54 ShoutcastService( const char *name
);
63 ShoutcastServiceCollection
* m_collection
;
64 QString m_tempFileName
;
65 KIO::StoredTransferJob
* m_storedTransferJob
;