michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 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 nsXULTemplateResultStorage_h__ michael@0: #define nsXULTemplateResultStorage_h__ michael@0: michael@0: #include "nsXULTemplateQueryProcessorStorage.h" michael@0: #include "nsIRDFResource.h" michael@0: #include "nsIXULTemplateResult.h" michael@0: #include "nsAutoPtr.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: /** michael@0: * A single result of a query from mozstorage michael@0: */ michael@0: class nsXULTemplateResultStorage MOZ_FINAL : public nsIXULTemplateResult michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: michael@0: NS_DECL_NSIXULTEMPLATERESULT michael@0: michael@0: nsXULTemplateResultStorage(nsXULTemplateResultSetStorage* aResultSet); michael@0: michael@0: protected: michael@0: michael@0: nsRefPtr mResultSet; michael@0: michael@0: nsCOMArray mValues; michael@0: michael@0: nsCOMPtr mNode; michael@0: }; michael@0: michael@0: #endif // nsXULTemplateResultStorage_h__