storage/mozStorageStatementParams.h
author Timothy Nikkel <tnikkel@gmail.com>
Mon, 28 Mar 2016 18:53:36 -0500
changeset 290771 637e6dce9a3f1210163cfa513292146a7367acd8
parent 244689 dd79977a3286d947aff8e270245d05c05e676964
permissions -rw-r--r--
Bug 1156450. Remove pointer-events: auto from scrollbars. r=mstange This backs out bug 891136. See https://bugzilla.mozilla.org/show_bug.cgi?id=1156450#c6 for long explanation.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ :
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef MOZSTORAGESTATEMENTPARAMS_H
#define MOZSTORAGESTATEMENTPARAMS_H

#include "mozIStorageStatementParams.h"
#include "nsIXPCScriptable.h"
#include "mozilla/Attributes.h"

class mozIStorageStatement;

namespace mozilla {
namespace storage {

class StatementParams final : public mozIStorageStatementParams
                            , public nsIXPCScriptable
{
public:
  explicit StatementParams(mozIStorageStatement *aStatement);

  // interfaces
  NS_DECL_ISUPPORTS
  NS_DECL_MOZISTORAGESTATEMENTPARAMS
  NS_DECL_NSIXPCSCRIPTABLE

protected:
  ~StatementParams() {}

  mozIStorageStatement *mStatement;
  uint32_t mParamCount;

  friend class StatementParamsHolder;
  friend class StatementRowHolder;
};

} // namespace storage
} // namespace mozilla

#endif /* MOZSTORAGESTATEMENTPARAMS_H */