diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-12-03 03:05:47 +0100 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-12-03 03:05:47 +0100 |
commit | 47ada94baa424e56d2ded256fddc91e6aa4d3090 (patch) | |
tree | 46fd1da4c5fe29694aea0d05b70fe7db2ba7fa88 /gatodescriptor.h | |
download | libgato-47ada94baa424e56d2ded256fddc91e6aa4d3090.tar.gz libgato-47ada94baa424e56d2ded256fddc91e6aa4d3090.zip |
initial import
Diffstat (limited to 'gatodescriptor.h')
-rw-r--r-- | gatodescriptor.h | 32 |
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 |