summaryrefslogtreecommitdiff
path: root/gatodescriptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gatodescriptor.h')
-rw-r--r--gatodescriptor.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gatodescriptor.h b/gatodescriptor.h
new file mode 100644
index 0000000..7ced38a
--- /dev/null
+++ b/gatodescriptor.h
@@ -0,0 +1,32 @@
+#ifndef GATODESCRIPTOR_H
+#define GATODESCRIPTOR_H
+
+#include <QtCore/QObject>
+#include <QtCore/QSharedDataPointer>
+
+#include "gatouuid.h"
+
+class GatoDescriptorPrivate;
+
+class LIBGATO_EXPORT GatoDescriptor
+{
+ Q_GADGET
+
+public:
+ GatoDescriptor();
+ GatoDescriptor(const GatoDescriptor &o);
+ ~GatoDescriptor();
+
+ GatoUUID uuid() const;
+ void setUuid(const GatoUUID &uuid);
+
+ GatoHandle handle() const;
+ void setHandle(GatoHandle handle);
+
+ GatoDescriptor &operator=(const GatoDescriptor &o);
+
+private:
+ QSharedDataPointer<GatoDescriptorPrivate> d;
+};
+
+#endif // GATODESCRIPTOR_H