From 104113ad2d968b48ded17f5d23d7c509627a509a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Jul 2014 18:48:34 +0300 Subject: Fix different style issues in ipc code. --- src/net/ipc.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/net/ipc.h') diff --git a/src/net/ipc.h b/src/net/ipc.h index 337e19ce8..b9960abce 100644 --- a/src/net/ipc.h +++ b/src/net/ipc.h @@ -30,19 +30,24 @@ public: /** * Constructor. */ - IPC(unsigned short port); - + IPC(const unsigned short port); + /** * Destructor. */ ~IPC(); - + bool init(); - unsigned short port(); + + unsigned short getPort() const A_WARN_UNUSED + { return mPort; } + static int acceptLoop(void *ptr); + static void start(); + static void stop(); - + private: bool mListen; unsigned int mNumReqs; -- cgit v1.2.3-60-g2f50