miqt/qt/gen_qoperatingsystemversion.h

41 lines
1.4 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QOPERATINGSYSTEMVERSION_H
#define MIQT_QT_GEN_QOPERATINGSYSTEMVERSION_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QOperatingSystemVersion;
#else
typedef struct QOperatingSystemVersion QOperatingSystemVersion;
#endif
2024-12-07 04:15:57 +00: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);
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);
2024-11-19 06:29:06 +00:00
void QOperatingSystemVersion_Delete(QOperatingSystemVersion* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif