summaryrefslogtreecommitdiff
path: root/ExtraSocket.h
blob: 56229c706cc5397e0c699b5752ceda7e3a44a166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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