30#ifndef JELLYFIN_DTO_IPLUGIN_H
31#define JELLYFIN_DTO_IPLUGIN_H
35#include <QSharedPointer>
54 QSharedPointer<Version>
version,
67 QJsonObject
toJson()
const;
102 QSharedPointer<Version>
version()
const;
104 void setVersion(QSharedPointer<Version> newVersion);
142 QSharedPointer<Version>
m_version = QSharedPointer<Version>();
QString m_jellyfinId
Definition iplugin.h:141
void setFromJson(QJsonObject source)
Definition iplugin.cpp:75
void setAssemblyFilePath(QString newAssemblyFilePath)
Gets the path to the assembly file.
Definition iplugin.cpp:155
void setDescriptionNull()
Definition iplugin.cpp:137
bool dataFolderPathNull() const
Definition iplugin.cpp:177
QString name() const
Gets the name of the plugin.
Definition iplugin.cpp:115
QString description() const
Gets the Description.
Definition iplugin.cpp:128
void setName(QString newName)
Gets the name of the plugin.
Definition iplugin.cpp:117
QString m_description
Definition iplugin.h:140
QString m_assemblyFilePath
Definition iplugin.h:143
void replaceData(IPlugin &other)
Definition iplugin.cpp:58
QString m_dataFolderPath
Definition iplugin.h:145
QString assemblyFilePath() const
Gets the path to the assembly file.
Definition iplugin.cpp:153
void setNameNull()
Definition iplugin.cpp:124
bool descriptionNull() const
Definition iplugin.cpp:133
QSharedPointer< Version > version() const
Definition iplugin.cpp:147
void setDescription(QString newDescription)
Gets the Description.
Definition iplugin.cpp:130
QString m_name
Definition iplugin.h:139
void setCanUninstall(bool newCanUninstall)
Gets a value indicating whether the plugin can be uninstalled.
Definition iplugin.cpp:168
void setAssemblyFilePathNull()
Definition iplugin.cpp:162
void setJellyfinId(QString newJellyfinId)
Gets the unique id.
Definition iplugin.cpp:143
QString jellyfinId() const
Gets the unique id.
Definition iplugin.cpp:141
bool canUninstall() const
Gets a value indicating whether the plugin can be uninstalled.
Definition iplugin.cpp:166
QJsonObject toJson() const
Definition iplugin.cpp:86
void setDataFolderPathNull()
Definition iplugin.cpp:181
QSharedPointer< Version > m_version
Definition iplugin.h:142
QString dataFolderPath() const
Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
Definition iplugin.cpp:172
bool assemblyFilePathNull() const
Definition iplugin.cpp:158
static IPlugin fromJson(QJsonObject source)
Definition iplugin.cpp:68
bool nameNull() const
Definition iplugin.cpp:120
void setVersion(QSharedPointer< Version > newVersion)
Definition iplugin.cpp:149
bool m_canUninstall
Definition iplugin.h:144
void setDataFolderPath(QString newDataFolderPath)
Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
Definition iplugin.cpp:174
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45