mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
51 lines
1.8 KiB
C++
51 lines
1.8 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_WEBCHANNEL_GEN_QQMLWEBCHANNEL_H
|
|
#define MIQT_QT_WEBCHANNEL_GEN_QQMLWEBCHANNEL_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QQmlWebChannel;
|
|
class QVariant;
|
|
class QWebChannel;
|
|
#else
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QQmlWebChannel QQmlWebChannel;
|
|
typedef struct QVariant QVariant;
|
|
typedef struct QWebChannel QWebChannel;
|
|
#endif
|
|
|
|
void QQmlWebChannel_new(QQmlWebChannel** outptr_QQmlWebChannel, QWebChannel** outptr_QWebChannel, QObject** outptr_QObject);
|
|
void QQmlWebChannel_new2(QObject* parent, QQmlWebChannel** outptr_QQmlWebChannel, QWebChannel** outptr_QWebChannel, QObject** outptr_QObject);
|
|
QMetaObject* QQmlWebChannel_MetaObject(const QQmlWebChannel* self);
|
|
void* QQmlWebChannel_Metacast(QQmlWebChannel* self, const char* param1);
|
|
struct miqt_string QQmlWebChannel_Tr(const char* s);
|
|
struct miqt_string QQmlWebChannel_TrUtf8(const char* s);
|
|
void QQmlWebChannel_RegisterObjects(QQmlWebChannel* self, struct miqt_map /* of struct miqt_string to QVariant* */ objects);
|
|
void QQmlWebChannel_ConnectTo(QQmlWebChannel* self, QObject* transport);
|
|
void QQmlWebChannel_DisconnectFrom(QQmlWebChannel* self, QObject* transport);
|
|
struct miqt_string QQmlWebChannel_Tr2(const char* s, const char* c);
|
|
struct miqt_string QQmlWebChannel_Tr3(const char* s, const char* c, int n);
|
|
struct miqt_string QQmlWebChannel_TrUtf82(const char* s, const char* c);
|
|
struct miqt_string QQmlWebChannel_TrUtf83(const char* s, const char* c, int n);
|
|
void QQmlWebChannel_Delete(QQmlWebChannel* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|