2009-04-20 08:01:51 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
* vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ :
|
2012-05-21 04:12:37 -07:00
|
|
|
* 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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-06-01 05:38:00 -07:00
|
|
|
#ifndef mozStorageArgValueArray_h
|
|
|
|
#define mozStorageArgValueArray_h
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "mozIStorageValueArray.h"
|
2012-06-12 20:35:10 -07:00
|
|
|
#include "mozilla/Attributes.h"
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-06-28 22:42:56 -07:00
|
|
|
#include "sqlite3.h"
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-04-20 08:01:51 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace storage {
|
|
|
|
|
2015-03-21 09:28:04 -07:00
|
|
|
class ArgValueArray final : public mozIStorageValueArray
|
2007-03-22 10:30:00 -07:00
|
|
|
{
|
|
|
|
public:
|
2012-08-22 08:56:38 -07:00
|
|
|
ArgValueArray(int32_t aArgc, sqlite3_value **aArgv);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-04-20 08:01:51 -07:00
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_MOZISTORAGEVALUEARRAY
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
private:
|
2014-06-23 15:40:03 -07:00
|
|
|
~ArgValueArray() {}
|
|
|
|
|
2012-08-22 08:56:38 -07:00
|
|
|
uint32_t mArgc;
|
2009-04-20 08:01:51 -07:00
|
|
|
sqlite3_value **mArgv;
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|
|
|
|
|
2009-04-20 08:01:51 -07:00
|
|
|
} // namespace storage
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2010-06-01 05:38:00 -07:00
|
|
|
#endif // mozStorageArgValueArray_h
|