From 1c1860cf83ba5d504b69c0ebd737139c8ab1bd46 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 28 Jul 2014 20:06:31 +0300 Subject: Fix formatting in net files. --- src/net/ipc.h | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'src/net/ipc.h') diff --git a/src/net/ipc.h b/src/net/ipc.h index 6d7f88ecc..eb2e92c9b 100644 --- a/src/net/ipc.h +++ b/src/net/ipc.h @@ -27,39 +27,39 @@ class IPC final { -public: - /** - * Constructor. - */ - IPC(); + public: + /** + * Constructor. + */ + IPC(); - A_DELETE_COPY(IPC) + A_DELETE_COPY(IPC) - /** - * Destructor. - */ - ~IPC(); + /** + * Destructor. + */ + ~IPC(); - bool init(); + bool init(); - unsigned short getPort() const A_WARN_UNUSED - { return mPort; } + unsigned short getPort() const A_WARN_UNUSED + { return mPort; } - static int acceptLoop(void *ptr); + static int acceptLoop(void *ptr); - static void start(); + static void start(); - static void stop(); + static void stop(); -private: - void setPort(const unsigned short port) - { mPort = port; } + private: + void setPort(const unsigned short port) + { mPort = port; } - unsigned int mNumReqs; - TcpNet::Socket mSocket; - SDL_Thread *mThread; - unsigned short mPort; - bool mListen; + unsigned int mNumReqs; + TcpNet::Socket mSocket; + SDL_Thread *mThread; + unsigned short mPort; + bool mListen; }; extern IPC *ipc; -- cgit v1.2.3-70-g09d2