| 1 | #ifndef JDENTICONINTERFACE_H |
| 2 | #define JDENTICONINTERFACE_H |
| 3 | |
| 4 | #include <QString> |
| 5 | |
| 6 | class JdenticonInterface |
| 7 | { |
| 8 | public: |
| 9 | virtual ~JdenticonInterface() {} |
| 10 | virtual QString generate(const QString &message, uint16_t size) = 0; |
| 11 | }; |
| 12 | |
| 13 | #define JdenticonInterface_iid "im.nheko.JdenticonInterface" |
| 14 | |
| 15 | Q_DECLARE_INTERFACE(JdenticonInterface, JdenticonInterface_iid) |
| 16 | |
| 17 | #endif // JDENTICONINTERFACE_H |