mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
70 lines
3.0 KiB
C
70 lines
3.0 KiB
C
|
#ifndef GEN_QRADIODATA_H
|
||
|
#define GEN_QRADIODATA_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 QMediaObject;
|
||
|
class QMetaObject;
|
||
|
class QObject;
|
||
|
class QRadioData;
|
||
|
#else
|
||
|
typedef struct QMediaObject QMediaObject;
|
||
|
typedef struct QMetaObject QMetaObject;
|
||
|
typedef struct QObject QObject;
|
||
|
typedef struct QRadioData QRadioData;
|
||
|
#endif
|
||
|
|
||
|
QRadioData* QRadioData_new(QMediaObject* mediaObject);
|
||
|
QRadioData* QRadioData_new2(QMediaObject* mediaObject, QObject* parent);
|
||
|
QMetaObject* QRadioData_MetaObject(const QRadioData* self);
|
||
|
void* QRadioData_Metacast(QRadioData* self, const char* param1);
|
||
|
struct miqt_string QRadioData_Tr(const char* s);
|
||
|
struct miqt_string QRadioData_TrUtf8(const char* s);
|
||
|
int QRadioData_Availability(const QRadioData* self);
|
||
|
QMediaObject* QRadioData_MediaObject(const QRadioData* self);
|
||
|
struct miqt_string QRadioData_StationId(const QRadioData* self);
|
||
|
int QRadioData_ProgramType(const QRadioData* self);
|
||
|
struct miqt_string QRadioData_ProgramTypeName(const QRadioData* self);
|
||
|
struct miqt_string QRadioData_StationName(const QRadioData* self);
|
||
|
struct miqt_string QRadioData_RadioText(const QRadioData* self);
|
||
|
bool QRadioData_IsAlternativeFrequenciesEnabled(const QRadioData* self);
|
||
|
int QRadioData_Error(const QRadioData* self);
|
||
|
struct miqt_string QRadioData_ErrorString(const QRadioData* self);
|
||
|
void QRadioData_SetAlternativeFrequenciesEnabled(QRadioData* self, bool enabled);
|
||
|
void QRadioData_StationIdChanged(QRadioData* self, struct miqt_string stationId);
|
||
|
void QRadioData_connect_StationIdChanged(QRadioData* self, intptr_t slot);
|
||
|
void QRadioData_ProgramTypeChanged(QRadioData* self, int programType);
|
||
|
void QRadioData_connect_ProgramTypeChanged(QRadioData* self, intptr_t slot);
|
||
|
void QRadioData_ProgramTypeNameChanged(QRadioData* self, struct miqt_string programTypeName);
|
||
|
void QRadioData_connect_ProgramTypeNameChanged(QRadioData* self, intptr_t slot);
|
||
|
void QRadioData_StationNameChanged(QRadioData* self, struct miqt_string stationName);
|
||
|
void QRadioData_connect_StationNameChanged(QRadioData* self, intptr_t slot);
|
||
|
void QRadioData_RadioTextChanged(QRadioData* self, struct miqt_string radioText);
|
||
|
void QRadioData_connect_RadioTextChanged(QRadioData* self, intptr_t slot);
|
||
|
void QRadioData_AlternativeFrequenciesEnabledChanged(QRadioData* self, bool enabled);
|
||
|
void QRadioData_connect_AlternativeFrequenciesEnabledChanged(QRadioData* self, intptr_t slot);
|
||
|
void QRadioData_ErrorWithError(QRadioData* self, int error);
|
||
|
void QRadioData_connect_ErrorWithError(QRadioData* self, intptr_t slot);
|
||
|
struct miqt_string QRadioData_Tr2(const char* s, const char* c);
|
||
|
struct miqt_string QRadioData_Tr3(const char* s, const char* c, int n);
|
||
|
struct miqt_string QRadioData_TrUtf82(const char* s, const char* c);
|
||
|
struct miqt_string QRadioData_TrUtf83(const char* s, const char* c, int n);
|
||
|
void QRadioData_Delete(QRadioData* self);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern C */
|
||
|
#endif
|
||
|
|
||
|
#endif
|