#define SHOW_UNKNOWN_FILETYPES false
#endif
+#ifndef SHOW_ALBUM_ART
+#define SHOW_ALBUM_ART true
+#endif
+
+#ifndef ALERT_ON_CLOSE
+#define ALERT_ON_CLOSE false
+#endif
+
struct VlcDirectory {
QString name;
explicit AppSettings();
~AppSettings();
static QString getCurrentKey();
+ static void setCurrentKey(QString key);
static QString getCurrentIp();
+ static void setCurrentIp(QString ip);
+ static QStringList getAllAccounts();
static VlcDirectory getHomeDirectory();
static QList<VlcDirectory>* getFavourites();
static bool addFavourite(VlcDirectory dir);
static int getRetrieveArtTimeout();
static int getRetryNetworkTimeout();
static bool getShowUnknownFileTypes();
+ static bool getShowAlbumArt();
+ static bool getAlertOnClose();
+
};
#endif // APPSETTINGS_H