2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QOPERATINGSYSTEMVERSION_H
|
|
|
|
#define MIQT_QT_GEN_QOPERATINGSYSTEMVERSION_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +13:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QOperatingSystemVersion;
|
|
|
|
#else
|
|
|
|
typedef struct QOperatingSystemVersion QOperatingSystemVersion;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_new(int osType, int vmajor);
|
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_new2(int osType, int vmajor, int vminor);
|
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_new3(int osType, int vmajor, int vminor, int vmicro);
|
2025-02-01 13:45:16 +13:00
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_current();
|
|
|
|
int QOperatingSystemVersion_currentType();
|
|
|
|
int QOperatingSystemVersion_majorVersion(const QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_minorVersion(const QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_microVersion(const QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_segmentCount(const QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_type(const QOperatingSystemVersion* self);
|
|
|
|
struct miqt_string QOperatingSystemVersion_name(const QOperatingSystemVersion* self);
|
|
|
|
void QOperatingSystemVersion_delete(QOperatingSystemVersion* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#endif
|