summaryrefslogtreecommitdiff
path: root/distfoldd/compressor.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-09-17 23:03:03 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-09-17 23:03:03 +0200
commitc3a1946675855b299a2b36550cdf2c2f69d153aa (patch)
treef7adf66404cdc47994225b616bcaf082a07dd168 /distfoldd/compressor.h
downloaddistfold-c3a1946675855b299a2b36550cdf2c2f69d153aa.tar.gz
distfold-c3a1946675855b299a2b36550cdf2c2f69d153aa.zip
initial import
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