Bug 1825336 - Make toolkit/components/url-classifier/ buildable outside of a unified...
[gecko.git] / xpcom / ds / nsProperties.h
blobc45c7361ea192989539720dda344da2aa041a060
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsProperties_h___
8 #define nsProperties_h___
10 #include "nsIProperties.h"
11 #include "nsInterfaceHashtable.h"
12 #include "nsHashKeys.h"
13 #include "mozilla/Attributes.h"
15 typedef nsInterfaceHashtable<nsCharPtrHashKey, nsISupports>
16 nsProperties_HashBase;
18 class nsProperties final : public nsIProperties, public nsProperties_HashBase {
19 public:
20 NS_DECL_ISUPPORTS
21 NS_DECL_NSIPROPERTIES
23 nsProperties() = default;
25 private:
26 ~nsProperties() = default;
29 #endif /* nsProperties_h___ */