Overte C++ Documentation
ArrayBufferPrototype.h
1
//
2
// ArrayBufferPrototype.h
3
//
4
//
5
// Created by Clement on 7/3/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_ArrayBufferPrototype_h
18
#define hifi_ArrayBufferPrototype_h
19
20
// V8TODO Do not remove yet, this will be useful in later PRs
21
/*#include <QtCore/QObject>
22
23
#include "../Scriptable.h"
24
26
class ArrayBufferPrototype : public QObject, public Scriptable {
27
Q_OBJECT
28
public:
29
ArrayBufferPrototype(QObject* parent = NULL);
30
31
public slots:
32
QByteArray slice(qint32 begin, qint32 end) const;
33
QByteArray slice(qint32 begin) const;
34
QByteArray compress() const;
35
QByteArray recodeImage(const QString& sourceFormat, const QString& targetFormat, qint32 maxSize) const;
36
37
private:
38
QByteArray* thisArrayBuffer() const;
39
};
40
*/
41
#endif
// hifi_ArrayBufferPrototype_h
42
libraries
script-engine
src
v8
ArrayBufferPrototype.h
Generated by
1.9.1