Changeset View
Changeset View
Standalone View
Standalone View
src/trackslistener.h
Show All 15 Lines | |||||
16 | */ | 16 | */ | ||
17 | 17 | | |||
18 | #ifndef TRACKSLISTENER_H | 18 | #ifndef TRACKSLISTENER_H | ||
19 | #define TRACKSLISTENER_H | 19 | #define TRACKSLISTENER_H | ||
20 | 20 | | |||
21 | #include "elisaLib_export.h" | 21 | #include "elisaLib_export.h" | ||
22 | 22 | | |||
23 | #include "databaseinterface.h" | 23 | #include "databaseinterface.h" | ||
24 | #include "datatypes.h" | ||||
24 | #include "musicaudiotrack.h" | 25 | #include "musicaudiotrack.h" | ||
25 | #include "elisautils.h" | 26 | #include "elisautils.h" | ||
26 | 27 | | |||
27 | #include <QObject> | 28 | #include <QObject> | ||
28 | 29 | | |||
29 | #include <memory> | 30 | #include <memory> | ||
30 | 31 | | |||
31 | class TracksListenerPrivate; | 32 | class TracksListenerPrivate; | ||
32 | 33 | | |||
33 | class ELISALIB_EXPORT TracksListener : public QObject | 34 | class ELISALIB_EXPORT TracksListener : public QObject | ||
34 | { | 35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT | ||
36 | 37 | | |||
37 | public: | 38 | public: | ||
38 | 39 | | |||
39 | using ListTrackDataType = DatabaseInterface::ListTrackDataType; | 40 | using ListTrackDataType = DataTypes::ListTrackDataType; | ||
40 | 41 | | |||
41 | using TrackDataType = DatabaseInterface::TrackDataType; | 42 | using TrackDataType = DataTypes::TrackDataType; | ||
42 | 43 | | |||
43 | explicit TracksListener(DatabaseInterface *database, QObject *parent = nullptr); | 44 | explicit TracksListener(DatabaseInterface *database, QObject *parent = nullptr); | ||
44 | 45 | | |||
45 | ~TracksListener() override; | 46 | ~TracksListener() override; | ||
46 | 47 | | |||
47 | Q_SIGNALS: | 48 | Q_SIGNALS: | ||
48 | 49 | | |||
49 | void trackHasChanged(const TracksListener::TrackDataType &audioTrack); | 50 | void trackHasChanged(const TracksListener::TrackDataType &audioTrack); | ||
Show All 38 Lines |