first ever received and cached client data!
This commit is contained in:
parent
037dabbe06
commit
c50cd1140e
11 changed files with 297 additions and 60 deletions
|
@ -19,17 +19,34 @@
|
|||
#ifndef SHARED_IDENTITY_H
|
||||
#define SHARED_IDENTITY_H
|
||||
|
||||
#include <QDataStream>
|
||||
#include <QString>
|
||||
|
||||
namespace Shared {
|
||||
|
||||
struct Identity {
|
||||
class Identity {
|
||||
public:
|
||||
Identity();
|
||||
|
||||
QDataStream& operator << (QDataStream& stream);
|
||||
QDataStream& operator >> (QDataStream& stream) const;
|
||||
|
||||
bool operator < (const Identity& other) const;
|
||||
bool operator > (const Identity& other) const;
|
||||
bool operator >= (const Identity& other) const;
|
||||
bool operator <= (const Identity& other) const;
|
||||
bool operator == (const Identity& other) const;
|
||||
bool operator != (const Identity& other) const;
|
||||
public:
|
||||
QString category;
|
||||
QString type;
|
||||
QString language;
|
||||
QString name;
|
||||
QString type;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
QDataStream& operator << (QDataStream& stream, const Shared::Identity& identity);
|
||||
QDataStream& operator >> (QDataStream& stream, Shared::Identity& identity);
|
||||
|
||||
#endif //SHARED_IDENTITY_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue