summaryrefslogtreecommitdiff
path: root/gatodescriptor.h
blob: 7ced38a9ed21713e79733ab01e388ba463ce8125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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