~ubuntu-branches/ubuntu/trusty/tomahawk/trusty-proposed

« back to all changes in this revision

Viewing changes to src/libtomahawk/utils/XspfGenerator.h

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-03-07 21:50:13 UTC
  • Revision ID: package-import@ubuntu.com-20130307215013-6gdjkdds7i9uenvs
Tags: upstream-0.6.0+dfsg
ImportĀ upstreamĀ versionĀ 0.6.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (C) 2011  Leo Franchi <lfranchi@kde.org>
 
3
 
 
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.
 
8
 
 
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.
 
13
 
 
14
    You should have received a copy of the GNU General Public License along
 
15
    with this program; if not, write to the Free Software Foundation, Inc.,
 
16
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
17
*/
 
18
 
 
19
 
 
20
#ifndef XSPFGENERATOR_H
 
21
#define XSPFGENERATOR_H
 
22
 
 
23
#include "Typedefs.h"
 
24
 
 
25
#include <QtCore/qobject.h>
 
26
 
 
27
 
 
28
class XSPFGenerator : public QObject
 
29
{
 
30
    Q_OBJECT
 
31
public:
 
32
    explicit XSPFGenerator( const Tomahawk::playlist_ptr& pl, QObject* parent = 0 );
 
33
    virtual ~XSPFGenerator();
 
34
 
 
35
signals:
 
36
    void generated( const QByteArray& xspf );
 
37
 
 
38
private slots:
 
39
    void generate();
 
40
 
 
41
private:
 
42
    Tomahawk::playlist_ptr m_playlist;
 
43
};
 
44
 
 
45
#endif // XSPFGENERATOR_H