mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
27 lines
433 B
C
27 lines
433 B
C
|
#ifndef TOXID_H
|
||
|
#define TOXID_H
|
||
|
|
||
|
#include <QString>
|
||
|
|
||
|
class ToxId
|
||
|
{
|
||
|
public:
|
||
|
ToxId();
|
||
|
ToxId(const ToxId& other);
|
||
|
ToxId(const QString& id);
|
||
|
|
||
|
bool operator==(const ToxId& other) const;
|
||
|
bool operator!=(const ToxId& other) const;
|
||
|
QString toString() const;
|
||
|
void clear();
|
||
|
|
||
|
static bool isToxId(const QString& id);
|
||
|
|
||
|
public:
|
||
|
QString publicKey;
|
||
|
QString noSpam;
|
||
|
QString checkSum;
|
||
|
};
|
||
|
|
||
|
#endif // TOXID_H
|