mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-30 06:38:49 +03:00
18 lines
389 B
C
18 lines
389 B
C
|
#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
|