Overte C++ Documentation
TypedArrayPrototype.h
1
//
2
// TypedArrayPrototype.h
3
//
4
//
5
// Created by Clement on 7/14/14.
6
// Copyright 2014 High Fidelity, Inc.
7
// Copyright 2023 Overte e.V.
8
//
9
// Distributed under the Apache License, Version 2.0.
10
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
11
// SPDX-License-Identifier: Apache-2.0
12
//
13
16
17
#ifndef hifi_TypedArrayPrototype_h
18
#define hifi_TypedArrayPrototype_h
19
20
#include <QtCore/QObject>
21
22
#include "V8Types.h"
23
#include "../Scriptable.h"
24
25
// V8TODO Do not remove yet, this will be useful in later PRs
27
/*class TypedArrayPrototype : public QObject, public Scriptable {
28
Q_OBJECT
29
public:
30
TypedArrayPrototype(QObject* parent = NULL);
31
32
public slots:
33
void set(V8ScriptValue array, qint32 offset = 0);
34
V8ScriptValue subarray(qint32 begin);
35
V8ScriptValue subarray(qint32 begin, qint32 end);
36
37
V8ScriptValue get(quint32 index);
38
void set(quint32 index, V8ScriptValue& value);
39
private:
40
QByteArray* thisArrayBuffer() const;
41
};
42
*/
43
#endif
// hifi_TypedArrayPrototype_h
44
libraries
script-engine
src
v8
TypedArrayPrototype.h
Generated by
1.9.1