michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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 nsProperties_h___ michael@0: #define nsProperties_h___ michael@0: michael@0: #include "nsIProperties.h" michael@0: #include "nsInterfaceHashtable.h" michael@0: #include "nsHashKeys.h" michael@0: #include "nsAgg.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: #define NS_PROPERTIES_CID \ michael@0: { /* 4de2bc90-b1bf-11d3-93b6-00104ba0fd40 */ \ michael@0: 0x4de2bc90, \ michael@0: 0xb1bf, \ michael@0: 0x11d3, \ michael@0: {0x93, 0xb6, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \ michael@0: } michael@0: michael@0: typedef nsInterfaceHashtable michael@0: nsProperties_HashBase; michael@0: michael@0: class nsProperties MOZ_FINAL : public nsIProperties, michael@0: public nsProperties_HashBase { michael@0: public: michael@0: michael@0: NS_DECL_AGGREGATED michael@0: NS_DECL_NSIPROPERTIES michael@0: michael@0: nsProperties(nsISupports *aOuter) { NS_INIT_AGGREGATED(aOuter); } michael@0: ~nsProperties() { } michael@0: }; michael@0: michael@0: #endif /* nsProperties_h___ */