Refactor CMake files

This commit is contained in:
Jonas Kvinge
2024-10-03 22:32:51 +02:00
parent 525ebbb9b7
commit 0768298b95
43 changed files with 1494 additions and 1768 deletions

View File

@@ -50,11 +50,11 @@ class QSqlRecord;
class EngineMetadata;
#ifdef HAVE_LIBGPOD
#ifdef HAVE_GPOD
struct _Itdb_Track;
#endif
#ifdef HAVE_LIBMTP
#ifdef HAVE_MTP
struct LIBMTP_track_struct;
#endif
@@ -475,19 +475,19 @@ class Song {
void InitArtManual();
void InitArtAutomatic();
#ifdef HAVE_LIBGPOD
#ifdef HAVE_GPOD
void InitFromItdb(_Itdb_Track *track, const QString &prefix);
void ToItdb(_Itdb_Track *track) const;
#endif
#ifdef HAVE_LIBMTP
#ifdef HAVE_MTP
void InitFromMTP(const LIBMTP_track_struct *track, const QString &host);
void ToMTP(LIBMTP_track_struct *track) const;
#endif
// Save
void BindToQuery(SqlQuery *query) const;
#ifdef HAVE_DBUS
#ifdef HAVE_MPRIS2
void ToXesam(QVariantMap *map) const;
#endif