This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/gnoemoe/mcp/gm-mcp-icecrew-serverinfo.h

59 lines
1.8 KiB
C

#ifndef __GM_MCP_ICECREW_SERVERINFO_H__
#define __GM_MCP_ICECREW_SERVERINFO_H__
#include <glib-object.h>
#include <gtk/gtk.h>
#include "gm-mcp-package.h"
G_BEGIN_DECLS
/*
* Type checking and casting macros
*/
#define GM_TYPE_MCP_ICECREW_SERVERINFO (gm_mcp_icecrew_serverinfo_get_type())
#define GM_MCP_ICECREW_SERVERINFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
GM_TYPE_MCP_ICECREW_SERVERINFO, GmMcpIcecrewServerinfo))
#define GM_MCP_ICECREW_SERVERINFO_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),\
GM_TYPE_MCP_ICECREW_SERVERINFO, GmMcpIcecrewServerinfo const))
#define GM_MCP_ICECREW_SERVERINFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
GM_TYPE_MCP_ICECREW_SERVERINFO, GmMcpIcecrewServerinfoClass))
#define GM_IS_MCP_ICECREW_SERVERINFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
GM_TYPE_MCP_ICECREW_SERVERINFO))
#define GM_IS_MCP_ICECREW_SERVERINFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
GM_TYPE_MCP_ICECREW_SERVERINFO))
#define GM_MCP_ICECREW_SERVERINFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
GM_TYPE_MCP_ICECREW_SERVERINFO, GmMcpIcecrewServerinfoClass))
/* Private structure type */
typedef struct _GmMcpIcecrewServerinfoPrivate GmMcpIcecrewServerinfoPrivate;
/*
* Main object structure
*/
typedef struct _GmMcpIcecrewServerinfo GmMcpIcecrewServerinfo;
struct _GmMcpIcecrewServerinfo {
GmMcpPackage parent;
/*< private > */
GmMcpIcecrewServerinfoPrivate *priv;
};
/*
* Class definition
*/
typedef struct _GmMcpIcecrewServerinfoClass GmMcpIcecrewServerinfoClass;
struct _GmMcpIcecrewServerinfoClass {
GmMcpPackageClass parent_class;
/* Signals */
void (* got_info) (GmMcpIcecrewServerinfo *obj);
};
GType gm_mcp_icecrew_serverinfo_get_type(void) G_GNUC_CONST;
GmMcpIcecrewServerinfo *gm_mcp_icecrew_serverinfo_new(void);
G_END_DECLS
#endif /* __GM_MCP_ICECREW_SERVERINFO_H__ */