Mercurial > hg > orthanc
comparison PalantirServer/DicomProtocol/DicomServer.cpp @ 2:67a6978503b7
fixing Windows build
author | Jodogne@Laptop |
---|---|
date | Thu, 19 Jul 2012 22:33:27 +0200 |
parents | 3959d33612cc |
children |
comparison
equal
deleted
inserted
replaced
0:3959d33612cc | 2:67a6978503b7 |
---|---|
119 DicomServer::~DicomServer() | 119 DicomServer::~DicomServer() |
120 { | 120 { |
121 Stop(); | 121 Stop(); |
122 } | 122 } |
123 | 123 |
124 void DicomServer::SetPort(uint16_t port) | 124 void DicomServer::SetPortNumber(uint16_t port) |
125 { | 125 { |
126 Stop(); | 126 Stop(); |
127 port_ = port; | 127 port_ = port; |
128 } | 128 } |
129 | 129 |
130 uint16_t DicomServer::GetPort() const | 130 uint16_t DicomServer::GetPortNumber() const |
131 { | 131 { |
132 return port_; | 132 return port_; |
133 } | 133 } |
134 | 134 |
135 void DicomServer::SetThreaded(bool isThreaded) | 135 void DicomServer::SetThreaded(bool isThreaded) |