Added function stubs to Socket in unix
This commit is contained in:
parent
2c14c779af
commit
b806913cea
2 changed files with 26 additions and 0 deletions
|
@ -23,6 +23,9 @@ IF (APPLE)
|
||||||
#### Mac OS X ####
|
#### Mac OS X ####
|
||||||
SET( telldus-common_TARGET TelldusCommon )
|
SET( telldus-common_TARGET TelldusCommon )
|
||||||
ADD_DEFINITIONS( -D_MACOSX )
|
ADD_DEFINITIONS( -D_MACOSX )
|
||||||
|
LIST(APPEND telldus-common_SRCS
|
||||||
|
Socket_unix.cpp
|
||||||
|
)
|
||||||
ELSEIF (WIN32)
|
ELSEIF (WIN32)
|
||||||
#### Windows ####
|
#### Windows ####
|
||||||
ADD_DEFINITIONS( -DUNICODE )
|
ADD_DEFINITIONS( -DUNICODE )
|
||||||
|
@ -36,6 +39,9 @@ ELSE (APPLE)
|
||||||
#### Linux ####
|
#### Linux ####
|
||||||
SET( telldus-common_TARGET telldus-common )
|
SET( telldus-common_TARGET telldus-common )
|
||||||
ADD_DEFINITIONS( -D_LINUX )
|
ADD_DEFINITIONS( -D_LINUX )
|
||||||
|
LIST(APPEND telldus-common_SRCS
|
||||||
|
Socket_unix.cpp
|
||||||
|
)
|
||||||
ENDIF (APPLE)
|
ENDIF (APPLE)
|
||||||
|
|
||||||
|
|
||||||
|
|
20
telldus-core/common/Socket_unix.cpp
Normal file
20
telldus-core/common/Socket_unix.cpp
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#include "Socket.h"
|
||||||
|
|
||||||
|
using namespace TelldusCore;
|
||||||
|
|
||||||
|
class Socket::PrivateData {
|
||||||
|
public:
|
||||||
|
};
|
||||||
|
|
||||||
|
Socket::Socket(SOCKET_T hPipe)
|
||||||
|
{
|
||||||
|
d = new PrivateData;
|
||||||
|
}
|
||||||
|
|
||||||
|
Socket::~Socket(void){
|
||||||
|
delete d;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::wstring Socket::read() {
|
||||||
|
return L"";
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue