Sayonara Player
LibraryManager.h
1 #ifndef LIBRARYMANAGER_H
2 #define LIBRARYMANAGER_H
3 
4 #include "Helper/Singleton.h"
5 #include "Helper/Pimpl.h"
6 #include "Helper/Settings/SayonaraClass.h"
7 
8 #include <QList>
9 
10 class LibraryInfo;
11 
13  public SayonaraClass
14 {
15  PIMPL(LibraryManager)
16  SINGLETON(LibraryManager)
17 
18 public:
19  bool add_library(const QString& name, const QString& path);
20  void remove_library(int index);
21 
22  LibraryInfo get_current_library() const;
23  QList<LibraryInfo> get_all_libraries() const;
24  int count() const;
25 
26 };
27 
28 
29 #endif // LIBRARYMANAGER_H
The SayonaraClass class provides access to Settings and notifications.
Definition: SayonaraClass.h:29
Definition: LibraryManager.h:12
Definition: LibraryInfo.h:6
Definition: org_mpris_media_player2_adaptor.h:20