mirror of https://github.com/Nheko-Reborn/nheko
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
386 B
17 lines
386 B
#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 "im.nheko.JdenticonInterface"
|
|
|
|
Q_DECLARE_INTERFACE(JdenticonInterface, JdenticonInterface_iid)
|
|
|
|
#endif // JDENTICONINTERFACE_H
|
|
|