You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
542 B
C++
36 lines
542 B
C++
#ifndef SYSTEM_H
|
|
#define SYSTEM_H
|
|
|
|
#include "core_global.h"
|
|
#include <QString>
|
|
|
|
#include <odb/core.hxx>
|
|
|
|
#pragma db object
|
|
class CORESHARED_EXPORT System
|
|
{
|
|
public:
|
|
System();
|
|
|
|
int id() const;
|
|
void setId(int id);
|
|
|
|
QString pluginId() const;
|
|
|
|
QString schemaVersion() const;
|
|
|
|
QString settings() const;
|
|
void setSettings(const QString &settings);
|
|
|
|
private:
|
|
friend class odb::access;
|
|
|
|
#pragma db id auto
|
|
int m_id;
|
|
QString m_pluginId;
|
|
QString m_schemaVersion;
|
|
QString m_settings;
|
|
};
|
|
|
|
#endif // SYSTEM_H
|