2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QDESKTOPSERVICES_H
|
|
|
|
#define GEN_QDESKTOPSERVICES_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#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);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDesktopServices_SetUrlHandler(const char* scheme, size_t scheme_Strlen, QObject* receiver, const char* method);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDesktopServices_UnsetUrlHandler(const char* scheme, size_t scheme_Strlen);
|
|
|
|
void QDesktopServices_Delete(QDesktopServices* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|