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 nsDataHashtable_h__ michael@0: #define nsDataHashtable_h__ michael@0: michael@0: #include "nsHashKeys.h" michael@0: #include "nsBaseHashtable.h" michael@0: michael@0: /** michael@0: * templated hashtable class maps keys to simple datatypes. michael@0: * See nsBaseHashtable for complete declaration michael@0: * @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h michael@0: * for a complete specification. michael@0: * @param DataType the simple datatype being wrapped michael@0: * @see nsInterfaceHashtable, nsClassHashtable michael@0: */ michael@0: template michael@0: class nsDataHashtable : michael@0: public nsBaseHashtable michael@0: { michael@0: public: michael@0: nsDataHashtable() michael@0: { michael@0: } michael@0: explicit nsDataHashtable(uint32_t aInitSize) michael@0: : nsBaseHashtable(aInitSize) michael@0: { michael@0: } michael@0: }; michael@0: michael@0: #endif // nsDataHashtable_h__