2024-08-25 04:08:24 +00:00
|
|
|
#include <QJsonArray>
|
|
|
|
#include <QJsonObject>
|
|
|
|
#include <QJsonValue>
|
|
|
|
#include <QJsonValuePtr>
|
|
|
|
#include <QJsonValueRef>
|
|
|
|
#include <QJsonValueRefPtr>
|
|
|
|
#include <QString>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include <QByteArray>
|
|
|
|
#include <cstring>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QVariant>
|
2024-10-16 05:07:56 +00:00
|
|
|
#include <qjsonvalue.h>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qjsonvalue.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new() {
|
|
|
|
return new QJsonValue();
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValue* QJsonValue_new2(bool b) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(b);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new3(double n) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(static_cast<double>(n));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new4(int n) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(static_cast<int>(n));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new5(long long v) {
|
|
|
|
return new QJsonValue(static_cast<qint64>(v));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
QJsonValue* QJsonValue_new6(struct miqt_string* s) {
|
|
|
|
QString s_QString = QString::fromUtf8(&s->data, s->len);
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(s_QString);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new7(const char* s) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(s);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new8(QJsonArray* a) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(*a);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new9(QJsonObject* o) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(*o);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QJsonValue* QJsonValue_new10(QJsonValue* other) {
|
2024-08-25 04:08:24 +00:00
|
|
|
return new QJsonValue(*other);
|
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
QJsonValue* QJsonValue_new11(int param1) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return new QJsonValue(static_cast<QJsonValue::Type>(param1));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
void QJsonValue_OperatorAssign(QJsonValue* self, QJsonValue* other) {
|
|
|
|
self->operator=(*other);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValue_Swap(QJsonValue* self, QJsonValue* other) {
|
|
|
|
self->swap(*other);
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValue* QJsonValue_FromVariant(QVariant* variant) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonValue(QJsonValue::fromVariant(*variant));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QVariant* QJsonValue_ToVariant(const QJsonValue* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QVariant(self->toVariant());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
int QJsonValue_Type(const QJsonValue* self) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QJsonValue::Type _ret = self->type();
|
2024-09-18 00:12:02 +00:00
|
|
|
return static_cast<int>(_ret);
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_IsNull(const QJsonValue* self) {
|
|
|
|
return self->isNull();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_IsBool(const QJsonValue* self) {
|
|
|
|
return self->isBool();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_IsDouble(const QJsonValue* self) {
|
|
|
|
return self->isDouble();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_IsString(const QJsonValue* self) {
|
|
|
|
return self->isString();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_IsArray(const QJsonValue* self) {
|
|
|
|
return self->isArray();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_IsObject(const QJsonValue* self) {
|
|
|
|
return self->isObject();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_IsUndefined(const QJsonValue* self) {
|
|
|
|
return self->isUndefined();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_ToBool(const QJsonValue* self) {
|
|
|
|
return self->toBool();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QJsonValue_ToInt(const QJsonValue* self) {
|
|
|
|
return self->toInt();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
double QJsonValue_ToDouble(const QJsonValue* self) {
|
|
|
|
return self->toDouble();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QJsonValue_ToString(const QJsonValue* self) {
|
|
|
|
QString _ret = self->toString();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
|
|
|
return miqt_strdup(_b.data(), _b.length());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QJsonValue_ToStringWithDefaultValue(const QJsonValue* self, struct miqt_string* defaultValue) {
|
|
|
|
QString defaultValue_QString = QString::fromUtf8(&defaultValue->data, defaultValue->len);
|
|
|
|
QString _ret = self->toString(defaultValue_QString);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
|
|
|
return miqt_strdup(_b.data(), _b.length());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonArray* QJsonValue_ToArray(const QJsonValue* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonArray(self->toArray());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonArray* QJsonValue_ToArrayWithDefaultValue(const QJsonValue* self, QJsonArray* defaultValue) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonArray(self->toArray(*defaultValue));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonObject* QJsonValue_ToObject(const QJsonValue* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonObject(self->toObject());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonObject* QJsonValue_ToObjectWithDefaultValue(const QJsonValue* self, QJsonObject* defaultValue) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonObject(self->toObject(*defaultValue));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
QJsonValue* QJsonValue_OperatorSubscript(const QJsonValue* self, struct miqt_string* key) {
|
|
|
|
QString key_QString = QString::fromUtf8(&key->data, key->len);
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonValue(self->operator[](key_QString));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonValue* QJsonValue_OperatorSubscriptWithInt(const QJsonValue* self, int i) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonValue(self->operator[](static_cast<int>(i)));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_OperatorEqual(const QJsonValue* self, QJsonValue* other) {
|
|
|
|
return self->operator==(*other);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_OperatorNotEqual(const QJsonValue* self, QJsonValue* other) {
|
|
|
|
return self->operator!=(*other);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValue_ToBool1(const QJsonValue* self, bool defaultValue) {
|
|
|
|
return self->toBool(defaultValue);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QJsonValue_ToInt1(const QJsonValue* self, int defaultValue) {
|
|
|
|
return self->toInt(static_cast<int>(defaultValue));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
double QJsonValue_ToDouble1(const QJsonValue* self, double defaultValue) {
|
|
|
|
return self->toDouble(static_cast<double>(defaultValue));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValue_Delete(QJsonValue* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRef* QJsonValueRef_new(QJsonValueRef* param1) {
|
|
|
|
return new QJsonValueRef(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRef* QJsonValueRef_new2(QJsonArray* array, int idx) {
|
|
|
|
return new QJsonValueRef(array, static_cast<int>(idx));
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRef* QJsonValueRef_new3(QJsonObject* object, int idx) {
|
|
|
|
return new QJsonValueRef(object, static_cast<int>(idx));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValueRef_OperatorAssign(QJsonValueRef* self, QJsonValue* val) {
|
|
|
|
self->operator=(*val);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValueRef_OperatorAssignWithVal(QJsonValueRef* self, QJsonValueRef* val) {
|
|
|
|
self->operator=(*val);
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QVariant* QJsonValueRef_ToVariant(const QJsonValueRef* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QVariant(self->toVariant());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
int QJsonValueRef_Type(const QJsonValueRef* self) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QJsonValue::Type _ret = self->type();
|
2024-09-18 00:12:02 +00:00
|
|
|
return static_cast<int>(_ret);
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_IsNull(const QJsonValueRef* self) {
|
|
|
|
return self->isNull();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_IsBool(const QJsonValueRef* self) {
|
|
|
|
return self->isBool();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_IsDouble(const QJsonValueRef* self) {
|
|
|
|
return self->isDouble();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_IsString(const QJsonValueRef* self) {
|
|
|
|
return self->isString();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_IsArray(const QJsonValueRef* self) {
|
|
|
|
return self->isArray();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_IsObject(const QJsonValueRef* self) {
|
|
|
|
return self->isObject();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_IsUndefined(const QJsonValueRef* self) {
|
|
|
|
return self->isUndefined();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_ToBool(const QJsonValueRef* self) {
|
|
|
|
return self->toBool();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QJsonValueRef_ToInt(const QJsonValueRef* self) {
|
|
|
|
return self->toInt();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
double QJsonValueRef_ToDouble(const QJsonValueRef* self) {
|
|
|
|
return self->toDouble();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QJsonValueRef_ToString(const QJsonValueRef* self) {
|
|
|
|
QString _ret = self->toString();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
|
|
|
return miqt_strdup(_b.data(), _b.length());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonArray* QJsonValueRef_ToArray(const QJsonValueRef* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonArray(self->toArray());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QJsonObject* QJsonValueRef_ToObject(const QJsonValueRef* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QJsonObject(self->toObject());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_ToBoolWithDefaultValue(const QJsonValueRef* self, bool defaultValue) {
|
|
|
|
return self->toBool(defaultValue);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QJsonValueRef_ToIntWithDefaultValue(const QJsonValueRef* self, int defaultValue) {
|
|
|
|
return self->toInt(static_cast<int>(defaultValue));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
double QJsonValueRef_ToDoubleWithDefaultValue(const QJsonValueRef* self, double defaultValue) {
|
|
|
|
return self->toDouble(static_cast<double>(defaultValue));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QJsonValueRef_ToStringWithDefaultValue(const QJsonValueRef* self, struct miqt_string* defaultValue) {
|
|
|
|
QString defaultValue_QString = QString::fromUtf8(&defaultValue->data, defaultValue->len);
|
|
|
|
QString _ret = self->toString(defaultValue_QString);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
|
|
|
return miqt_strdup(_b.data(), _b.length());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_OperatorEqual(const QJsonValueRef* self, QJsonValue* other) {
|
|
|
|
return self->operator==(*other);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QJsonValueRef_OperatorNotEqual(const QJsonValueRef* self, QJsonValue* other) {
|
|
|
|
return self->operator!=(*other);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValueRef_Delete(QJsonValueRef* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValuePtr* QJsonValuePtr_new(QJsonValue* val) {
|
|
|
|
return new QJsonValuePtr(*val);
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValuePtr* QJsonValuePtr_new2(QJsonValuePtr* param1) {
|
|
|
|
return new QJsonValuePtr(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValue* QJsonValuePtr_OperatorMultiply(QJsonValuePtr* self) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QJsonValue& _ret = self->operator*();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Cast returned reference into pointer
|
2024-09-14 22:29:05 +00:00
|
|
|
return &_ret;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValue* QJsonValuePtr_OperatorMinusGreater(QJsonValuePtr* self) {
|
|
|
|
return self->operator->();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValuePtr_OperatorAssign(QJsonValuePtr* self, QJsonValuePtr* param1) {
|
|
|
|
self->operator=(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValuePtr_Delete(QJsonValuePtr* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRefPtr* QJsonValueRefPtr_new(QJsonArray* array, int idx) {
|
|
|
|
return new QJsonValueRefPtr(array, static_cast<int>(idx));
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRefPtr* QJsonValueRefPtr_new2(QJsonObject* object, int idx) {
|
|
|
|
return new QJsonValueRefPtr(object, static_cast<int>(idx));
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRefPtr* QJsonValueRefPtr_new3(QJsonValueRefPtr* param1) {
|
|
|
|
return new QJsonValueRefPtr(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRef* QJsonValueRefPtr_OperatorMultiply(QJsonValueRefPtr* self) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QJsonValueRef& _ret = self->operator*();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Cast returned reference into pointer
|
2024-09-14 22:29:05 +00:00
|
|
|
return &_ret;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QJsonValueRef* QJsonValueRefPtr_OperatorMinusGreater(QJsonValueRefPtr* self) {
|
|
|
|
return self->operator->();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValueRefPtr_OperatorAssign(QJsonValueRefPtr* self, QJsonValueRefPtr* param1) {
|
|
|
|
self->operator=(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QJsonValueRefPtr_Delete(QJsonValueRefPtr* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|