diff options
Diffstat (limited to 'includes/jdenticoninterface.h')
-rw-r--r-- | includes/jdenticoninterface.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/includes/jdenticoninterface.h b/includes/jdenticoninterface.h new file mode 100644 index 00000000..2108a726 --- /dev/null +++ b/includes/jdenticoninterface.h @@ -0,0 +1,17 @@ +#ifndef JDENTICONINTERFACE_H +#define JDENTICONINTERFACE_H + +#include <QString> + +class JdenticonInterface +{ +public: + virtual ~JdenticonInterface() {} + virtual QString generate(const QString &message, uint16_t size) = 0; +}; + +#define JdenticonInterface_iid "redsky17.Qt.JdenticonInterface" + +Q_DECLARE_INTERFACE(JdenticonInterface, JdenticonInterface_iid) + +#endif // JDENTICONINTERFACE_H |