summary refs log tree commit diff
path: root/includes
diff options
context:
space:
mode:
authorJoe <rubberduckie3554@gmail.com>2019-02-08 14:06:37 -0500
committerJoe <rubberduckie3554@gmail.com>2019-02-08 14:06:37 -0500
commitebe5b19e76648019cc1128c05b428a863479f5d3 (patch)
tree0351f0c6050f9190ee619e9d287f3fb229d907f0 /includes
parentAdd /bigobj for nheko MSVC build (diff)
parentAdjust cmake minimum for included boost (diff)
downloadnheko-ebe5b19e76648019cc1128c05b428a863479f5d3.tar.xz
Merge branch 'master' of https://github.com/redsky17/nheko
Diffstat (limited to 'includes')
-rw-r--r--includes/jdenticoninterface.h17
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