blob: 5a5ea65950751b3faaf03183c498dc634a38f0e0 (
plain)
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
|
/****************************************************************************
**
** Copyright (C) 2008-$THISYEAR$ $TROLLTECH$. All rights reserved.
**
** This file is part of the SCXML project on Trolltech Labs.
**
** $TROLLTECH_GPL_LICENSE$
**
****************************************************************************/
#ifndef SPHARVESTER_H
#define SPHARVESTER_H
#include "songdata.h"
class SPHarvester : public QObject
{
Q_OBJECT
public:
SPHarvester(QObject* o = NULL);
virtual ~SPHarvester ();
public slots:
void harvest (const QString & directory, bool recurse = true);
private slots:
void harvestNext ();
void readMetaData();
signals:
void foundTrack (const SongData & d);
void done ();
private:
class SPHarvesterPvt* pvt;
};
#endif // _H
|