mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
4e9cf83ee8
MozReview-Commit-ID: Kdz2xtTF9EG --HG-- extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
32 lines
641 B
C++
32 lines
641 B
C++
/* vim: et ts=2 sw=2 tw=80
|
|
*/
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef nsNetAddr_h__
|
|
#define nsNetAddr_h__
|
|
|
|
#include "nsINetAddr.h"
|
|
#include "mozilla/net/DNS.h"
|
|
#include "mozilla/Attributes.h"
|
|
|
|
class nsNetAddr final : public nsINetAddr
|
|
{
|
|
~nsNetAddr() {}
|
|
|
|
public:
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_NSINETADDR
|
|
|
|
explicit nsNetAddr(mozilla::net::NetAddr* addr);
|
|
|
|
private:
|
|
mozilla::net::NetAddr mAddr;
|
|
|
|
protected:
|
|
/* additional members */
|
|
};
|
|
|
|
#endif // !nsNetAddr_h__
|