summary refs log tree commit diff
path: root/includes/jdenticoninterface.h
blob: 532f8dba9c05ae5aedfc6aaf6ef7f5a73c418638 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 "im.nheko.JdenticonInterface"

Q_DECLARE_INTERFACE(JdenticonInterface, JdenticonInterface_iid)

#endif // JDENTICONINTERFACE_H