michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ : 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 MOZSTORAGESTATEMENTPARAMS_H michael@0: #define MOZSTORAGESTATEMENTPARAMS_H michael@0: michael@0: #include "mozIStorageStatementParams.h" michael@0: #include "nsIXPCScriptable.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: class mozIStorageStatement; michael@0: michael@0: namespace mozilla { michael@0: namespace storage { michael@0: michael@0: class Statement; michael@0: michael@0: class StatementParams MOZ_FINAL : public mozIStorageStatementParams michael@0: , public nsIXPCScriptable michael@0: { michael@0: public: michael@0: StatementParams(mozIStorageStatement *aStatement); michael@0: michael@0: // interfaces michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_MOZISTORAGESTATEMENTPARAMS michael@0: NS_DECL_NSIXPCSCRIPTABLE michael@0: michael@0: protected: michael@0: mozIStorageStatement *mStatement; michael@0: uint32_t mParamCount; michael@0: michael@0: friend class Statement; michael@0: }; michael@0: michael@0: } // namespace storage michael@0: } // namespace mozilla michael@0: michael@0: #endif /* MOZSTORAGESTATEMENTPARAMS_H */