2009-04-20 19:01:51 +04: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 15:12:37 +04: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/. */
|
2004-10-09 04:04:10 +04:00
|
|
|
|
2010-06-01 16:38:00 +04:00
|
|
|
#ifndef mozStorageArgValueArray_h
|
|
|
|
#define mozStorageArgValueArray_h
|
2004-10-09 04:04:10 +04:00
|
|
|
|
|
|
|
#include "mozIStorageValueArray.h"
|
2012-06-13 07:35:10 +04:00
|
|
|
#include "mozilla/Attributes.h"
|
2004-10-09 04:04:10 +04:00
|
|
|
|
2009-06-29 09:42:56 +04:00
|
|
|
#include "sqlite3.h"
|
2004-10-09 04:04:10 +04:00
|
|
|
|
2009-04-20 19:01:51 +04:00
|
|
|
namespace mozilla {
|
|
|
|
namespace storage {
|
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
class ArgValueArray final : public mozIStorageValueArray {
|
2004-10-09 04:04:10 +04:00
|
|
|
public:
|
2019-05-01 11:47:10 +03:00
|
|
|
ArgValueArray(int32_t aArgc, sqlite3_value** aArgv);
|
2004-10-09 04:04:10 +04:00
|
|
|
|
2009-04-20 19:01:51 +04:00
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_MOZISTORAGEVALUEARRAY
|
2004-10-09 04:04:10 +04:00
|
|
|
|
|
|
|
private:
|
2014-06-24 02:40:03 +04:00
|
|
|
~ArgValueArray() {}
|
|
|
|
|
2012-08-22 19:56:38 +04:00
|
|
|
uint32_t mArgc;
|
2019-05-01 11:47:10 +03:00
|
|
|
sqlite3_value** mArgv;
|
2004-10-09 04:04:10 +04:00
|
|
|
};
|
|
|
|
|
2009-04-20 19:01:51 +04:00
|
|
|
} // namespace storage
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2010-06-01 16:38:00 +04:00
|
|
|
#endif // mozStorageArgValueArray_h
|