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-11-19 19:29:06 +13:00
|
|
|
void QOperatingSystemVersion_new(int osType, int vmajor, QOperatingSystemVersion** outptr_QOperatingSystemVersion);
|
|
|
|
void QOperatingSystemVersion_new2(int osType, int vmajor, int vminor, QOperatingSystemVersion** outptr_QOperatingSystemVersion);
|
|
|
|
void QOperatingSystemVersion_new3(int osType, int vmajor, int vminor, int vmicro, QOperatingSystemVersion** outptr_QOperatingSystemVersion);
|
2024-08-25 16:08:24 +12:00
|
|
|
QOperatingSystemVersion* QOperatingSystemVersion_Current();
|
2024-09-18 12:12:02 +12:00
|
|
|
int QOperatingSystemVersion_CurrentType();
|
2024-09-11 17:41:09 +12:00
|
|
|
int QOperatingSystemVersion_MajorVersion(const QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_MinorVersion(const QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_MicroVersion(const QOperatingSystemVersion* self);
|
|
|
|
int QOperatingSystemVersion_SegmentCount(const QOperatingSystemVersion* self);
|
2024-09-18 12:12:02 +12:00
|
|
|
int QOperatingSystemVersion_Type(const QOperatingSystemVersion* self);
|
2024-10-19 12:53:33 +13:00
|
|
|
struct miqt_string QOperatingSystemVersion_Name(const QOperatingSystemVersion* self);
|
2024-11-19 19:29:06 +13:00
|
|
|
void QOperatingSystemVersion_Delete(QOperatingSystemVersion* self, bool isSubclass);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|