Author: axeld Date: 2010-04-11 11:18:09 +0200 (Sun, 11 Apr 2010) New Revision: 36137 Changeset: http://dev.haiku-os.org/changeset/36137/haiku Modified: haiku/trunk/src/servers/net/NetServer.cpp Log: * Style cleanup. Modified: haiku/trunk/src/servers/net/NetServer.cpp =================================================================== --- haiku/trunk/src/servers/net/NetServer.cpp 2010-04-11 09:07:43 UTC (rev 36136) +++ haiku/trunk/src/servers/net/NetServer.cpp 2010-04-11 09:18:09 UTC (rev 36137) @@ -45,34 +45,39 @@ class NetServer : public BServer { - public: - NetServer(status_t& status); - virtual ~NetServer(); +public: + NetServer(status_t& status); + virtual ~NetServer(); - virtual void AboutRequested(); - virtual void ReadyToRun(); - virtual void MessageReceived(BMessage* message); + virtual void AboutRequested(); + virtual void ReadyToRun(); + virtual void MessageReceived(BMessage* message); - private: - bool _IsValidInterface(int socket, const char* name); - void _RemoveInvalidInterfaces(int socket); - bool _TestForInterface(int socket, const char* name); - status_t _ConfigureInterface(int socket, BMessage& interface, - bool fromMessage = false); - status_t _ConfigureResolver(BMessage& resolverConfiguration); - bool _QuitLooperForDevice(const char* device); - AutoconfigLooper* _LooperForDevice(const char* device); - status_t _ConfigureDevice(int socket, const char* path); - void _ConfigureDevices(int socket, const char* path, - BMessage* suggestedInterface = NULL); - void _ConfigureInterfaces(int socket, BMessage* _missingDevice = NULL); - void _BringUpInterfaces(); - void _StartServices(); - void _HandleDeviceMonitor(int socket, BMessage* message); +private: + bool _IsValidInterface(int socket, const char* name); + void _RemoveInvalidInterfaces(int socket); + bool _TestForInterface(int socket, const char* name); + status_t _ConfigureInterface(int socket, + BMessage& interface, + bool fromMessage = false); + status_t _ConfigureResolver( + BMessage& resolverConfiguration); + bool _QuitLooperForDevice(const char* device); + AutoconfigLooper* _LooperForDevice(const char* device); + status_t _ConfigureDevice(int socket, const char* path); + void _ConfigureDevices(int socket, const char* path, + BMessage* suggestedInterface = NULL); + void _ConfigureInterfaces(int socket, + BMessage* _missingDevice = NULL); + void _BringUpInterfaces(); + void _StartServices(); + void _HandleDeviceMonitor(int socket, + BMessage* message); - Settings fSettings; - LooperMap fDeviceMap; - BMessenger fServices; +private: + Settings fSettings; + LooperMap fDeviceMap; + BMessenger fServices; };