2016-02-24 22:46:36 +01:00
|
|
|
#ifndef SYSTEM_H
|
|
|
|
|
#define SYSTEM_H
|
|
|
|
|
|
2023-04-28 22:25:29 +02:00
|
|
|
#include "../core_global.h"
|
2016-02-24 22:46:36 +01:00
|
|
|
#include <QString>
|
|
|
|
|
|
2016-05-27 16:47:40 +02:00
|
|
|
class CORESHARED_EXPORT System
|
2016-02-24 22:46:36 +01:00
|
|
|
{
|
2023-04-28 22:25:29 +02:00
|
|
|
QX_REGISTER_FRIEND_CLASS(System)
|
2016-02-24 22:46:36 +01:00
|
|
|
public:
|
|
|
|
|
System();
|
2017-08-21 14:16:43 +02:00
|
|
|
virtual ~System();
|
2016-02-24 22:46:36 +01:00
|
|
|
|
2023-04-28 22:25:29 +02:00
|
|
|
long id() const;
|
|
|
|
|
void setId(long id);
|
2016-02-24 22:46:36 +01:00
|
|
|
|
|
|
|
|
QString pluginId() const;
|
|
|
|
|
|
|
|
|
|
QString schemaVersion() const;
|
|
|
|
|
|
|
|
|
|
QString settings() const;
|
|
|
|
|
void setSettings(const QString &settings);
|
|
|
|
|
|
|
|
|
|
private:
|
2023-04-28 22:25:29 +02:00
|
|
|
long m_id;
|
2016-02-24 22:46:36 +01:00
|
|
|
QString m_pluginId;
|
|
|
|
|
QString m_schemaVersion;
|
|
|
|
|
QString m_settings;
|
|
|
|
|
};
|
|
|
|
|
|
2023-04-28 22:25:29 +02:00
|
|
|
QX_REGISTER_HPP_CORE(System, qx::trait::no_base_class_defined, 0);
|
|
|
|
|
|
2016-02-24 22:46:36 +01:00
|
|
|
#endif // SYSTEM_H
|