From 7e5b53ceb7811fd692b7d51a91b82c2c161715c6 Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Mon, 2 Jan 2006 17:50:42 +0000 Subject: [PATCH] Initial import --- gnoemoe/mcp/gm-mcp-classes.c | 39 ++++++++++++++++++++++++++++++++++++ gnoemoe/mcp/gm-mcp-classes.h | 1 + 2 files changed, 40 insertions(+) create mode 100644 gnoemoe/mcp/gm-mcp-classes.c create mode 100644 gnoemoe/mcp/gm-mcp-classes.h diff --git a/gnoemoe/mcp/gm-mcp-classes.c b/gnoemoe/mcp/gm-mcp-classes.c new file mode 100644 index 0000000..a80eeb0 --- /dev/null +++ b/gnoemoe/mcp/gm-mcp-classes.c @@ -0,0 +1,39 @@ +#include +#include "gm-mcp-negotiate.h" +#include "gm-mcp-awns-status.h" +#include "gm-mcp-vmoo-client.h" +#include "gm-mcp-awns-ping.h" +#include "gm-mcp-icecrew-playerdb.h" +#include "gm-mcp-icecrew-userlist.h" +#include "gm-mcp-icecrew-mcpreset.h" +#include "gm-mcp-icecrew-serverinfo.h" +#include "gm-mcp-vmoo-userlist.h" +#include "gm-mcp-mud-moo-simpleedit.h" + +GList * +gm_mcp_classes_initialize() { + GList *result = NULL; + + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_NEGOTIATE)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_AWNS_STATUS)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_VMOO_CLIENT)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_AWNS_PING)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_ICECREW_PLAYERDB)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_ICECREW_USERLIST)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_ICECREW_MCPRESET)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_ICECREW_SERVERINFO)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_VMOO_USERLIST)); + result = g_list_append(result, + g_type_class_ref(GM_TYPE_MCP_MUD_MOO_SIMPLEEDIT)); + + return result; +} diff --git a/gnoemoe/mcp/gm-mcp-classes.h b/gnoemoe/mcp/gm-mcp-classes.h new file mode 100644 index 0000000..8ca4942 --- /dev/null +++ b/gnoemoe/mcp/gm-mcp-classes.h @@ -0,0 +1 @@ +GList *gm_mcp_classes_initialize();