21#ifndef LIBRARYMANAGER_H
22#define LIBRARYMANAGER_H
24#include "Interfaces/LibraryInfoAccessor.h"
26#include "Utils/Singleton.h"
27#include "Utils/Pimpl.h"
47 void sigPathChanged(LibraryId
id);
48 void sigAdded(LibraryId
id);
49 void sigRenamed(LibraryId
id);
50 void sigMoved(LibraryId
id,
int from,
int to);
51 void sigRemoved(LibraryId
id);
57 LibraryId addLibrary(
const QString& name,
const QString& path);
58 bool renameLibrary(LibraryId
id,
const QString& newName);
59 bool removeLibrary(LibraryId
id);
60 bool moveLibrary(
int old_row,
int new_row);
61 bool changeLibraryPath(LibraryId
id,
const QString& newPath);
64 Info libraryInfo(LibraryId
id)
const override;
65 Info libraryInfoByPath(
const QString& path)
const override;
66 int count()
const override;
69 static QString requestLibraryName(
const QString& path);
Definition: LibraryInfoAccessor.h:36
Definition: LibraryPlaylistInteractor.h:27
The Info class.
Definition: LibraryInfo.h:38
Definition: LibraryManager.h:40
Definition: LocalLibrary.h:38
Definition: EngineUtils.h:33
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31