aboutsummaryrefslogtreecommitdiff
path: root/include/aopacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aopacket.h')
-rw-r--r--include/aopacket.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/aopacket.h b/include/aopacket.h
index 4097be86..6d1debad 100644
--- a/include/aopacket.h
+++ b/include/aopacket.h
@@ -8,21 +8,16 @@
class AOPacket {
public:
AOPacket(QString p_packet_string);
- AOPacket(QString header, QStringList &p_contents);
- ~AOPacket();
+ AOPacket(QString header, QStringList &p_contents) : m_header(header), m_contents(p_contents){}
QString get_header() { return m_header; }
QStringList &get_contents() { return m_contents; }
QString to_string();
- void encrypt_header(unsigned int p_key);
- void decrypt_header(unsigned int p_key);
-
void net_encode();
void net_decode();
private:
- bool encrypted = false;
QString m_header;
QStringList m_contents;