2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QOPERATINGSYSTEMVERSION_H
|
|
|
|
#define GEN_QOPERATINGSYSTEMVERSION_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QOperatingSystemVersion;
|
|
|
|
#else
|
|
|
|
typedef struct QOperatingSystemVersion QOperatingSystemVersion;
|
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_new(uintptr_t osType, int vmajor);
|
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_new2(uintptr_t osType, int vmajor, int vminor);
|
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_new3(uintptr_t osType, int vmajor, int vminor, int vmicro);
|
2024-08-25 04:08:24 +00:00
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_Current();
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QOperatingSystemVersion_CurrentType();
|
2024-08-25 04:08:24 +00:00
|
|
|
int QOperatingSystemVersion_MajorVersion(QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_MinorVersion(QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_MicroVersion(QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_SegmentCount(QOperatingSystemVersion* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QOperatingSystemVersion_Type(QOperatingSystemVersion* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QOperatingSystemVersion_Name(QOperatingSystemVersion* self, char** _out, int* _out_Strlen);
|
|
|
|
void QOperatingSystemVersion_Delete(QOperatingSystemVersion* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|