summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-12-10 16:50:15 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-12-10 16:50:15 +0000
commit0586ac0ca3bf94e80e05e2b4c6e3ecb207fa1ac2 (patch)
tree9bde001a17611bbdae8c37019d2c6d2d448a7936
parentd1b99b7bbbc74a0824054c0766c96bb15889654e (diff)
downloadlasso-0586ac0ca3bf94e80e05e2b4c6e3ecb207fa1ac2.tar.gz
lasso-0586ac0ca3bf94e80e05e2b4c6e3ecb207fa1ac2.tar.xz
lasso-0586ac0ca3bf94e80e05e2b4c6e3ecb207fa1ac2.zip
Removed useless LassoDiscoResourceIDGroup class
-rw-r--r--lasso/xml/Makefile.am2
-rw-r--r--lasso/xml/disco_resource_id_group.c94
-rw-r--r--lasso/xml/disco_resource_id_group.h72
3 files changed, 0 insertions, 168 deletions
diff --git a/lasso/xml/Makefile.am b/lasso/xml/Makefile.am
index 82941e3d..dc0768b0 100644
--- a/lasso/xml/Makefile.am
+++ b/lasso/xml/Makefile.am
@@ -26,7 +26,6 @@ liblasso_xml_la_SOURCES = \
disco_remove_entry.c \
disco_requested_service_type.c \
disco_resource_id.c \
- disco_resource_id_group.c \
disco_resource_offering.c \
disco_service_instance.c \
dst_data.c \
@@ -100,7 +99,6 @@ liblassoinclude_HEADERS = \
disco_remove_entry.h \
disco_requested_service_type.h \
disco_resource_id.h \
- disco_resource_id_group.h \
disco_resource_offering.h \
disco_service_instance.h \
dst_data.h \
diff --git a/lasso/xml/disco_resource_id_group.c b/lasso/xml/disco_resource_id_group.c
deleted file mode 100644
index fd9e6d5f..00000000
--- a/lasso/xml/disco_resource_id_group.c
+++ /dev/null
@@ -1,94 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: Nicolas Clapies <nclapies@entrouvert.com>
- * Valery Febvre <vfebvre@easter-eggs.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include <lasso/xml/disco_resource_id_group.h>
-
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDiscoResourceIDGroup, ResourceID) },
- { "EncryptedResourceID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoResourceIDGroup, EncryptedResourceID) },
- { NULL, 0, 0}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoDiscoResourceIDGroup *node)
-{
- node->ResourceID = NULL;
- node->EncryptedResourceID = NULL;
-}
-
-static void
-class_init(LassoDiscoResourceIDGroupClass *klass)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResourceIDGroup");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_resource_id_group_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoResourceIDGroupClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoResourceIDGroup),
- 0,
- (GInstanceInitFunc) instance_init,
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoResourceIDGroup", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoResourceIDGroup*
-lasso_disco_resource_id_group_new()
-{
- LassoDiscoResourceIDGroup *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_RESOURCE_ID_GROUP, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_resource_id_group.h b/lasso/xml/disco_resource_id_group.h
deleted file mode 100644
index 64415742..00000000
--- a/lasso/xml/disco_resource_id_group.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: Nicolas Clapies <nclapies@entrouvert.com>
- * Valery Febvre <vfebvre@easter-eggs.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#ifndef __LASSO_DISCO_RESOURCE_ID_GROUP_H__
-#define __LASSO_DISCO_RESOURCE_ID_GROUP_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include <lasso/xml/xml.h>
-#include <lasso/xml/disco_resource_id.h>
-#include <lasso/xml/disco_encrypted_resource_id.h>
-
-#define LASSO_TYPE_DISCO_RESOURCE_ID_GROUP (lasso_disco_resource_id_group_get_type())
-#define LASSO_DISCO_RESOURCE_ID_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_RESOURCE_ID_GROUP, LassoDiscoResourceIDGroup))
-#define LASSO_DISCO_RESOURCE_ID_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_RESOURCE_ID_GROUP, LassoDiscoResourceIDGroupClass))
-#define LASSO_IS_DISCO_RESOURCE_ID_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_DISCO_RESOURCE_ID_GROUP))
-#define LASSO_IS_DISCO_RESOURCE_ID_GROUP_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_RESOURCE_ID_GROUP))
-#define LASSO_DISCO_RESOURCE_ID_GROUP_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_RESOURCE_ID_GROUP, \
- LassoDiscoResourceIDGroupClass))
-
-typedef struct _LassoDiscoResourceIDGroup LassoDiscoResourceIDGroup;
-typedef struct _LassoDiscoResourceIDGroupClass LassoDiscoResourceIDGroupClass;
-
-struct _LassoDiscoResourceIDGroup {
- LassoNode parent;
-
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
-};
-
-struct _LassoDiscoResourceIDGroupClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_resource_id_group_get_type(void);
-
-LASSO_EXPORT LassoDiscoResourceIDGroup* lasso_disco_resource_id_group_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_RESOURCE_ID_GROUP_H__ */