summaryrefslogtreecommitdiff
path: root/ExtraSocket.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
commit8f9f382e1c97cab2e72e97495650c73ac4b97314 (patch)
tree78510a0d81368c09b56f444fb19bb132c8bc3009 /ExtraSocket.h
Imported Upstream version 0.3.0.5
Diffstat (limited to 'ExtraSocket.h')
-rw-r--r--ExtraSocket.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/ExtraSocket.h b/ExtraSocket.h
new file mode 100644
index 0000000..56229c7
--- /dev/null
+++ b/ExtraSocket.h
@@ -0,0 +1,28 @@
+/** \file ExtraSocket.h
+\brief Define the socket for ultracopier
+\author alpha_one_x86
+\version 0.3
+\date 2010
+\licence GPL3, see the file COPYING */
+
+#ifndef EXTRASOCKET_H
+#define EXTRASOCKET_H
+
+#include <QString>
+
+#ifdef Q_OS_UNIX
+ #include <unistd.h>
+ #include <sys/types.h>
+#else
+ #include <windows.h>
+#endif
+
+/** \brief class to have general socket options */
+class ExtraSocket
+{
+public:
+ /** \brief class to return always the same socket resolution */
+ static QString pathSocket(const QString &name);
+};
+
+#endif // EXTRASOCKET_H