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 mozilla_storage_mozStorageAsyncStatementParams_h_ michael@0: #define mozilla_storage_mozStorageAsyncStatementParams_h_ michael@0: michael@0: #include "mozIStorageStatementParams.h" michael@0: #include "nsIXPCScriptable.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: class mozIStorageAsyncStatement; michael@0: michael@0: namespace mozilla { michael@0: namespace storage { michael@0: michael@0: class AsyncStatement; michael@0: michael@0: /* michael@0: * Since mozIStorageStatementParams is just a tagging interface we do not have michael@0: * an async variant. michael@0: */ michael@0: class AsyncStatementParams MOZ_FINAL : public mozIStorageStatementParams michael@0: , public nsIXPCScriptable michael@0: { michael@0: public: michael@0: AsyncStatementParams(AsyncStatement *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: AsyncStatement *mStatement; michael@0: michael@0: friend class AsyncStatement; michael@0: }; michael@0: michael@0: } // namespace storage michael@0: } // namespace mozilla michael@0: michael@0: #endif // mozilla_storage_mozStorageAsyncStatementParams_h_