Includes, comments and bugfixes

- Fix includes
- Use common regex (Song::kCoverRemoveDisc) for removing Disc/CD from album
- Remove Disc/CD from album when creating hash
- Make imobiledevice support compile
- Fix setting device on windows
This commit is contained in:
Jonas Kvinge
2018-05-01 00:41:33 +02:00
parent fccbd6790c
commit e337b7933b
518 changed files with 7003 additions and 4693 deletions

View File

@@ -23,10 +23,13 @@
#include "config.h"
#include <QObject>
#include <QPixmap>
#include <stdbool.h>
#include <QObject>
#include <QString>
#include <QPixmap>
#include <QAction>
class QAction;
class Song;
class SystemTrayIcon : public QObject {
@@ -43,10 +46,7 @@ class SystemTrayIcon : public QObject {
// Called by the OSD
virtual void ShowPopup(const QString &summary, const QString &message, int timeout) {}
/**
* If this get's invoked with image_path equal to nullptr, the tooltip should
* still be shown - just without the cover art.
*/
// If this get's invoked with image_path equal to nullptr, the tooltip should still be shown - just without the cover art.
virtual void SetNowPlaying(const Song &song, const QString &image_path) {}
virtual void ClearNowPlaying() {}