2024-08-25 04:08:24 +00:00
# ifndef GEN_QCOMMANDLINEOPTION_H
# define GEN_QCOMMANDLINEOPTION_H
# include <stdbool.h>
# include <stddef.h>
# include <stdint.h>
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
2024-09-14 22:29:05 +00:00
# include "binding.h"
2024-08-25 04:08:24 +00:00
# ifdef __cplusplus
extern " C " {
# endif
# ifdef __cplusplus
class QCommandLineOption ;
# else
typedef struct QCommandLineOption QCommandLineOption ;
# endif
2024-09-14 22:29:05 +00:00
QCommandLineOption * QCommandLineOption_new ( struct miqt_string * name ) ;
2024-09-16 07:33:40 +00:00
QCommandLineOption * QCommandLineOption_new2 ( struct miqt_array * /* of struct miqt_string* */ names ) ;
2024-09-14 22:29:05 +00:00
QCommandLineOption * QCommandLineOption_new3 ( struct miqt_string * name , struct miqt_string * description ) ;
2024-09-16 07:33:40 +00:00
QCommandLineOption * QCommandLineOption_new4 ( struct miqt_array * /* of struct miqt_string* */ names , struct miqt_string * description ) ;
2024-08-25 04:08:24 +00:00
QCommandLineOption * QCommandLineOption_new5 ( QCommandLineOption * other ) ;
2024-09-14 22:29:05 +00:00
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 ) ;
2024-09-16 07:33:40 +00:00
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 ) ;
2024-08-25 04:08:24 +00:00
void QCommandLineOption_OperatorAssign ( QCommandLineOption * self , QCommandLineOption * other ) ;
void QCommandLineOption_Swap ( QCommandLineOption * self , QCommandLineOption * other ) ;
2024-09-14 22:29:05 +00:00
struct miqt_array * 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 ) ;
2024-09-16 07:33:40 +00:00
void QCommandLineOption_SetDefaultValues ( QCommandLineOption * self , struct miqt_array * /* of struct miqt_string* */ defaultValues ) ;
2024-09-14 22:29:05 +00:00
struct miqt_array * QCommandLineOption_DefaultValues ( const QCommandLineOption * self ) ;
2024-09-11 05:41:09 +00:00
int QCommandLineOption_Flags ( const QCommandLineOption * self ) ;
2024-08-29 07:01:51 +00:00
void QCommandLineOption_SetFlags ( QCommandLineOption * self , int aflags ) ;
2024-08-25 04:08:24 +00:00
void QCommandLineOption_SetHidden ( QCommandLineOption * self , bool hidden ) ;
2024-09-11 05:41:09 +00:00
bool QCommandLineOption_IsHidden ( const QCommandLineOption * self ) ;
2024-08-25 04:08:24 +00:00
void QCommandLineOption_Delete ( QCommandLineOption * self ) ;
# ifdef __cplusplus
} /* extern C */
# endif
# endif