mirror of
https://github.com/mappu/miqt.git
synced 2025-02-08 14:10:22 +00:00
54 lines
1.8 KiB
C++
54 lines
1.8 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_GEN_QUUID_H
|
|
#define MIQT_QT_GEN_QUUID_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 QUuid;
|
|
#else
|
|
typedef struct QUuid QUuid;
|
|
#endif
|
|
|
|
QUuid* QUuid_new();
|
|
QUuid* QUuid_new2(unsigned int l, uint16_t w1, uint16_t w2, unsigned char b1, unsigned char b2, unsigned char b3, unsigned char b4, unsigned char b5, unsigned char b6, unsigned char b7, unsigned char b8);
|
|
QUuid* QUuid_new3(struct miqt_string param1);
|
|
QUuid* QUuid_new4(const char* param1);
|
|
QUuid* QUuid_new5(struct miqt_string param1);
|
|
QUuid* QUuid_new6(QUuid* param1);
|
|
struct miqt_string QUuid_toString(const QUuid* self);
|
|
struct miqt_string QUuid_toStringWithMode(const QUuid* self, int mode);
|
|
struct miqt_string QUuid_toByteArray(const QUuid* self);
|
|
struct miqt_string QUuid_toByteArrayWithMode(const QUuid* self, int mode);
|
|
struct miqt_string QUuid_toRfc4122(const QUuid* self);
|
|
QUuid* QUuid_fromRfc4122(struct miqt_string param1);
|
|
bool QUuid_isNull(const QUuid* self);
|
|
bool QUuid_operatorEqual(const QUuid* self, QUuid* orig);
|
|
bool QUuid_operatorNotEqual(const QUuid* self, QUuid* orig);
|
|
bool QUuid_operatorLesser(const QUuid* self, QUuid* other);
|
|
bool QUuid_operatorGreater(const QUuid* self, QUuid* other);
|
|
QUuid* QUuid_createUuid();
|
|
QUuid* QUuid_createUuidV3(QUuid* ns, struct miqt_string baseData);
|
|
QUuid* QUuid_createUuidV5(QUuid* ns, struct miqt_string baseData);
|
|
QUuid* QUuid_createUuidV32(QUuid* ns, struct miqt_string baseData);
|
|
QUuid* QUuid_createUuidV52(QUuid* ns, struct miqt_string baseData);
|
|
int QUuid_variant(const QUuid* self);
|
|
int QUuid_version(const QUuid* self);
|
|
void QUuid_delete(QUuid* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|