2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSESSIONMANAGER_H
|
|
|
|
#define GEN_QSESSIONMANAGER_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QMetaObject;
|
|
|
|
class QSessionManager;
|
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSessionManager QSessionManager;
|
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QSessionManager_MetaObject(const QSessionManager* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QSessionManager_Metacast(QSessionManager* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSessionManager_Tr(const char* s);
|
|
|
|
struct miqt_string QSessionManager_TrUtf8(const char* s);
|
|
|
|
struct miqt_string QSessionManager_SessionId(const QSessionManager* self);
|
|
|
|
struct miqt_string QSessionManager_SessionKey(const QSessionManager* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QSessionManager_AllowsInteraction(QSessionManager* self);
|
|
|
|
bool QSessionManager_AllowsErrorInteraction(QSessionManager* self);
|
|
|
|
void QSessionManager_Release(QSessionManager* self);
|
|
|
|
void QSessionManager_Cancel(QSessionManager* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QSessionManager_SetRestartHint(QSessionManager* self, int restartHint);
|
|
|
|
int QSessionManager_RestartHint(const QSessionManager* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QSessionManager_SetRestartCommand(QSessionManager* self, struct miqt_array* /* of struct miqt_string */ restartCommand);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QSessionManager_RestartCommand(const QSessionManager* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QSessionManager_SetDiscardCommand(QSessionManager* self, struct miqt_array* /* of struct miqt_string */ discardCommand);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QSessionManager_DiscardCommand(const QSessionManager* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QSessionManager_SetManagerProperty(QSessionManager* self, struct miqt_string name, struct miqt_string value);
|
|
|
|
void QSessionManager_SetManagerProperty2(QSessionManager* self, struct miqt_string name, struct miqt_array* /* of struct miqt_string */ value);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSessionManager_IsPhase2(const QSessionManager* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSessionManager_RequestPhase2(QSessionManager* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSessionManager_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QSessionManager_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QSessionManager_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QSessionManager_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|