michael@0: /* vim: et ts=2 sw=2 tw=80 michael@0: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsNetAddr_h__ michael@0: #define nsNetAddr_h__ michael@0: michael@0: #include "nsINetAddr.h" michael@0: #include "mozilla/net/DNS.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: class nsNetAddr MOZ_FINAL : public nsINetAddr michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSINETADDR michael@0: michael@0: nsNetAddr(mozilla::net::NetAddr* addr); michael@0: michael@0: private: michael@0: mozilla::net::NetAddr mAddr; michael@0: michael@0: protected: michael@0: /* additional members */ michael@0: }; michael@0: michael@0: #endif // !nsNetAddr_h__