1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- #include "hybridpluginplatform.h"
- Dependency::Dependency(QString name, QString version)
- : m_name(name),
- m_version(version)
- {
- }
- HybridPluginPlatform::HybridPluginPlatform(HybridPlugin& plugin)
- : m_plugin(plugin)
- {
- }
- HybridPluginPlatform::~HybridPluginPlatform()
- {
- }
- HybridPlugin& HybridPluginPlatform::plugin()
- {
- return m_plugin;
- }
- const QString& HybridPluginPlatform::name() const
- {
- return m_name;
- }
- void HybridPluginPlatform::setName(QString name)
- {
- m_name = name;
- }
- int HybridPluginPlatform::version() const
- {
- return m_version;
- }
- void HybridPluginPlatform::setVersion(int version)
- {
- m_version = version;
- }
- HybridPluginPlatform::Format HybridPluginPlatform::format() const
- {
- return m_format;
- }
- void HybridPluginPlatform::setFormat(Format format)
- {
- m_format = format;
- }
- HybridPluginPlatform::Configuration HybridPluginPlatform::configuration() const
- {
- return m_configuration;
- }
- void HybridPluginPlatform::setConfiguration(Configuration configuration)
- {
- m_configuration = configuration;
- }
- const QString& HybridPluginPlatform::url() const
- {
- return m_url;
- }
- void HybridPluginPlatform::setUrl(QString url)
- {
- m_url = url;
- }
- int HybridPluginPlatform::qtVersion() const
- {
- return m_qtVersion;
- }
- void HybridPluginPlatform::setQtVersion(int version)
- {
- m_qtVersion = version;
- }
- const QList< QSharedPointer<Dependency> >& HybridPluginPlatform::dependencies() const
- {
- return m_dependencies;
- }
- void HybridPluginPlatform::addDependency(QSharedPointer<Dependency> dependency)
- {
- m_dependencies.append(dependency);
- }
|