summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows/IoHandlePrivate.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-10-21 21:53:53 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-10-21 21:53:53 +0000
commitbd3c7f363d0a623ad1118fb337a38dee9a7d3b85 (patch)
tree4498dbfed67bb9d774735465df22ac3e92c797b3 /cpp/src/qpid/sys/windows/IoHandlePrivate.h
parent6ffba51e70414f0dfe3d641e7fe82622911f154a (diff)
downloadqpid-python-bd3c7f363d0a623ad1118fb337a38dee9a7d3b85.tar.gz
Tidied up dependencies in IOHandle so that it is no longer
dependent on the windows implementation classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828230 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows/IoHandlePrivate.h')
-rwxr-xr-xcpp/src/qpid/sys/windows/IoHandlePrivate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/windows/IoHandlePrivate.h b/cpp/src/qpid/sys/windows/IoHandlePrivate.h
index ffe539aab2..5943db5cc7 100755
--- a/cpp/src/qpid/sys/windows/IoHandlePrivate.h
+++ b/cpp/src/qpid/sys/windows/IoHandlePrivate.h
@@ -39,6 +39,9 @@ namespace sys {
// can be a RequestCallback set - this carries the callback object through
// from AsynchIO::requestCallback() through to the I/O completion processing.
class IOHandlePrivate {
+ friend QPID_COMMON_EXTERN SOCKET toSocketHandle(const Socket& s);
+ static IOHandlePrivate* getImpl(const IOHandle& h);
+
public:
IOHandlePrivate(SOCKET f = INVALID_SOCKET,
windows::AsynchIoResult::Completer cb = 0,
@@ -51,7 +54,7 @@ public:
AsynchIO::RequestCallback cbRequest;
};
-QPID_COMMON_EXTERN SOCKET toFd(const IOHandlePrivate* h);
+QPID_COMMON_EXTERN SOCKET toSocketHandle(const Socket& s);
}}