Feature #1020 ยป 0057-gtk4x-Implement-FcPlrRow-for-pages.c.patch
client/gui-gtk-5.0/pages.c | ||
---|---|---|
G_DEFINE_TYPE(FcHostRow, fc_host_row, G_TYPE_OBJECT)
|
||
#define FC_TYPE_PLR_ROW (fc_plr_row_get_type())
|
||
G_DECLARE_FINAL_TYPE(FcPlrRow, fc_plr_row, FC, PLR_ROW, GObject)
|
||
struct _FcPlrRow
|
||
{
|
||
GObject parent_instance;
|
||
char *name;
|
||
char *type;
|
||
char *host;
|
||
char *nation;
|
||
};
|
||
struct _FcPlrClass
|
||
{
|
||
GObjectClass parent_class;
|
||
};
|
||
G_DEFINE_TYPE(FcPlrRow, fc_plr_row, G_TYPE_OBJECT)
|
||
/**********************************************************************//**
|
||
Initialization method for FcHostRow class
|
||
**************************************************************************/
|
||
... | ... | |
}
|
||
#endif
|
||
/**********************************************************************//**
|
||
Initialization method for FcPlrRow class
|
||
**************************************************************************/
|
||
static void
|
||
fc_plr_row_class_init(FcPlrRowClass *klass)
|
||
{
|
||
}
|
||
/**********************************************************************//**
|
||
Initialization method for FcPlrRow
|
||
**************************************************************************/
|
||
static void
|
||
fc_plr_row_init(FcPlrRow *self)
|
||
{
|
||
}
|
||
/**********************************************************************//**
|
||
FcPlrRow creation method
|
||
**************************************************************************/
|
||
#if 0
|
||
static FcPlrRow *fc_plr_row_new(void)
|
||
{
|
||
FcPlrRow *result;
|
||
result = g_object_new(FC_TYPE_PLR_ROW, nullptr);
|
||
return result;
|
||
}
|
||
#endif
|
||
/**********************************************************************//**
|
||
Spawn a server, if there isn't one, using the default settings.
|
||
**************************************************************************/
|