some work towards encryption
This commit is contained in:
parent
297e08ba41
commit
a7d1a28f29
21 changed files with 129 additions and 81 deletions
|
@ -34,7 +34,7 @@
|
|||
#include "shared/enums.h"
|
||||
#include "shared/message.h"
|
||||
#include "shared/vcard.h"
|
||||
#include "storage/archive.h"
|
||||
#include "components/archive.h"
|
||||
#include "adapterfunctions.h"
|
||||
|
||||
namespace Core {
|
||||
|
@ -62,8 +62,8 @@ public:
|
|||
void setName(const QString& n);
|
||||
QString getServer() const;
|
||||
bool isMuc() const;
|
||||
bool isEncryptionEnabled() const;
|
||||
void enableEncryption(bool value = true);
|
||||
Shared::EncryptionProtocol encryption() const;
|
||||
void setEncryption(Shared::EncryptionProtocol value);
|
||||
|
||||
void addMessageToArchive(const Shared::Message& msg);
|
||||
void correctMessageInArchive(const QString& originalId, const Shared::Message& msg);
|
||||
|
@ -91,7 +91,7 @@ signals:
|
|||
void needHistory(const QString& before, const QString& after, const QDateTime& afterTime = QDateTime()) const;
|
||||
void avatarChanged(Shared::Avatar, const QString& path) const;
|
||||
void requestVCard(const QString& jid) const;
|
||||
void encryptionChanged(bool value) const;
|
||||
void encryptionChanged(Shared::EncryptionProtocol value) const;
|
||||
|
||||
public:
|
||||
const QString jid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue