2019-01-26 19:03:49 +01:00
|
|
|
#ifndef JDENTICONINTERFACE_H
|
|
|
|
#define JDENTICONINTERFACE_H
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
class JdenticonInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~JdenticonInterface() {}
|
|
|
|
virtual QString generate(const QString &message, uint16_t size) = 0;
|
|
|
|
};
|
|
|
|
|
2021-11-19 00:15:24 +01:00
|
|
|
#define JdenticonInterface_iid "im.nheko.JdenticonInterface"
|
2019-01-26 19:03:49 +01:00
|
|
|
|
|
|
|
Q_DECLARE_INTERFACE(JdenticonInterface, JdenticonInterface_iid)
|
|
|
|
|
|
|
|
#endif // JDENTICONINTERFACE_H
|