diff options
Diffstat (limited to 'gatosocket.h')
-rw-r--r-- | gatosocket.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gatosocket.h b/gatosocket.h index 4b4afbf..c1c025f 100644 --- a/gatosocket.h +++ b/gatosocket.h @@ -28,6 +28,13 @@ public: UnknownError }; + enum SecurityLevel { + SecurityNone, + SecurityLow, + SecurityMedium, + SecurityHigh + }; + State state() const; bool connectTo(const GatoAddress &addr, unsigned short cid); @@ -39,6 +46,8 @@ public: /** Adds a message to the tx queue. */ void send(const QByteArray &pkt); + SecurityLevel securityLevel() const; + signals: void connected(); void disconnected(); |