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.
18 lines
389 B
18 lines
389 B
6 years ago
|
#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
|