summary refs log tree commit diff
path: root/includes/jdenticoninterface.h
blob: 2108a7261facd10efaf9e556b5f7be0b5a59b766 (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 "redsky17.Qt.JdenticonInterface"

Q_DECLARE_INTERFACE(JdenticonInterface, JdenticonInterface_iid)

#endif // JDENTICONINTERFACE_H