mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
37 lines
814 B
C++
37 lines
814 B
C++
#pragma once
|
|
#ifndef MIQT_QT_GEN_QDESKTOPSERVICES_H
|
|
#define MIQT_QT_GEN_QDESKTOPSERVICES_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 QDesktopServices;
|
|
class QObject;
|
|
class QUrl;
|
|
#else
|
|
typedef struct QDesktopServices QDesktopServices;
|
|
typedef struct QObject QObject;
|
|
typedef struct QUrl QUrl;
|
|
#endif
|
|
|
|
bool QDesktopServices_OpenUrl(QUrl* url);
|
|
void QDesktopServices_SetUrlHandler(struct miqt_string scheme, QObject* receiver, const char* method);
|
|
void QDesktopServices_UnsetUrlHandler(struct miqt_string scheme);
|
|
void QDesktopServices_Delete(QDesktopServices* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|