2024-11-17 19:21:37 +13:00
# pragma once
# ifndef MIQT_QT_GEN_QCOMMANDLINEOPTION_H
# define MIQT_QT_GEN_QCOMMANDLINEOPTION_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 QCommandLineOption ;
# else
typedef struct QCommandLineOption QCommandLineOption ;
# endif
2024-12-07 17:15:57 +13:00
QCommandLineOption * QCommandLineOption_new ( struct miqt_string name ) ;
QCommandLineOption * QCommandLineOption_new2 ( struct miqt_array /* of struct miqt_string */ names ) ;
QCommandLineOption * QCommandLineOption_new3 ( struct miqt_string name , struct miqt_string description ) ;
QCommandLineOption * QCommandLineOption_new4 ( struct miqt_array /* of struct miqt_string */ names , struct miqt_string description ) ;
QCommandLineOption * QCommandLineOption_new5 ( QCommandLineOption * other ) ;
QCommandLineOption * QCommandLineOption_new6 ( struct miqt_string name , struct miqt_string description , struct miqt_string valueName ) ;
QCommandLineOption * QCommandLineOption_new7 ( struct miqt_string name , struct miqt_string description , struct miqt_string valueName , struct miqt_string defaultValue ) ;
QCommandLineOption * QCommandLineOption_new8 ( struct miqt_array /* of struct miqt_string */ names , struct miqt_string description , struct miqt_string valueName ) ;
QCommandLineOption * QCommandLineOption_new9 ( struct miqt_array /* of struct miqt_string */ names , struct miqt_string description , struct miqt_string valueName , struct miqt_string defaultValue ) ;
2025-02-01 13:45:16 +13:00
void QCommandLineOption_operatorAssign ( QCommandLineOption * self , QCommandLineOption * other ) ;
void QCommandLineOption_swap ( QCommandLineOption * self , QCommandLineOption * other ) ;
struct miqt_array /* of struct miqt_string */ QCommandLineOption_names ( const QCommandLineOption * self ) ;
void QCommandLineOption_setValueName ( QCommandLineOption * self , struct miqt_string name ) ;
struct miqt_string QCommandLineOption_valueName ( const QCommandLineOption * self ) ;
void QCommandLineOption_setDescription ( QCommandLineOption * self , struct miqt_string description ) ;
struct miqt_string QCommandLineOption_description ( const QCommandLineOption * self ) ;
void QCommandLineOption_setDefaultValue ( QCommandLineOption * self , struct miqt_string defaultValue ) ;
void QCommandLineOption_setDefaultValues ( QCommandLineOption * self , struct miqt_array /* of struct miqt_string */ defaultValues ) ;
struct miqt_array /* of struct miqt_string */ QCommandLineOption_defaultValues ( const QCommandLineOption * self ) ;
int QCommandLineOption_flags ( const QCommandLineOption * self ) ;
void QCommandLineOption_setFlags ( QCommandLineOption * self , int aflags ) ;
void QCommandLineOption_setHidden ( QCommandLineOption * self , bool hidden ) ;
bool QCommandLineOption_isHidden ( const QCommandLineOption * self ) ;
void QCommandLineOption_delete ( QCommandLineOption * 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