summaryrefslogtreecommitdiff
path: root/distfoldd/compressor.h
diff options
context:
space:
mode:
Diffstat (limited to 'distfoldd/compressor.h')
-rw-r--r--distfoldd/compressor.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/distfoldd/compressor.h b/distfoldd/compressor.h
new file mode 100644
index 0000000..6ab8e13
--- /dev/null
+++ b/distfoldd/compressor.h
@@ -0,0 +1,16 @@
+#ifndef COMPRESSOR_H
+#define COMPRESSOR_H
+
+#include <QtCore/QByteArray>
+
+class Compressor
+{
+private:
+ Compressor();
+
+public:
+ static QByteArray compress(const QByteArray& data);
+ static QByteArray decompress(const QByteArray& data);
+};
+
+#endif // COMPRESSOR_H