[Telepathy-commits] [telepathy-gabble/master] removed unused jingle-description-iface.[ch] files

Senko Rasic senko at phyrexia.lan
Tue Dec 2 04:34:03 PST 2008


---
 src/jingle-description-iface.c |  122 ----------------------------------------
 src/jingle-description-iface.h |   60 --------------------
 2 files changed, 0 insertions(+), 182 deletions(-)
 delete mode 100644 src/jingle-description-iface.c
 delete mode 100644 src/jingle-description-iface.h

diff --git a/src/jingle-description-iface.c b/src/jingle-description-iface.c
deleted file mode 100644
index 6005cbc..0000000
--- a/src/jingle-description-iface.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
- * jingle-description-iface.c - Source for GabbleJingleDescription interface
- * Copyright (C) 2007-2008 Collabora Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#include "jingle-description-iface.h"
-#include "connection.h"
-#include "jingle-session.h"
-#include <glib.h>
-
-void
-gabble_jingle_description_iface_produce (GabbleJingleDescriptionIface *self,
-    LmMessageNode *node)
-{
-  void (*virtual_method)(GabbleJingleDescriptionIface *,
-      LmMessageNode *) =
-    GABBLE_JINGLE_DESCRIPTION_IFACE_GET_CLASS (self)->produce;
-
-  g_assert (virtual_method != NULL);
-  virtual_method (self, node);
-}
-
-void
-gabble_jingle_description_iface_parse (GabbleJingleDescriptionIface *self,
-    LmMessageNode *node, GError **error)
-{
-  void (*virtual_method)(GabbleJingleDescriptionIface *,
-      LmMessageNode *, GError **) =
-    GABBLE_JINGLE_DESCRIPTION_IFACE_GET_CLASS (self)->parse;
-
-  g_assert (virtual_method != NULL);
-  virtual_method (self, node, error);
-}
-
-static void
-gabble_jingle_description_iface_base_init (gpointer klass)
-{
-  static gboolean initialized = FALSE;
-
-  if (!initialized)
-    {
-      GParamSpec *param_spec;
-
-      param_spec = g_param_spec_object (
-          "connection",
-          "GabbleConnection object",
-          "Gabble connection object that owns this jingle description object.",
-          GABBLE_TYPE_CONNECTION,
-          G_PARAM_CONSTRUCT_ONLY |
-          G_PARAM_READWRITE |
-          G_PARAM_STATIC_NAME |
-          G_PARAM_STATIC_NICK |
-          G_PARAM_STATIC_BLURB);
-      g_object_interface_install_property (klass, param_spec);
-
-      param_spec = g_param_spec_object (
-          "session",
-          "GabbleJingleSession object",
-          "Jingle session that's using this jingle description object.",
-          GABBLE_TYPE_JINGLE_SESSION,
-          G_PARAM_CONSTRUCT_ONLY |
-          G_PARAM_READWRITE |
-          G_PARAM_STATIC_NAME |
-          G_PARAM_STATIC_NICK |
-          G_PARAM_STATIC_BLURB);
-      g_object_interface_install_property (klass, param_spec);
-
-      param_spec = g_param_spec_uint (
-          "handle",
-          "Handle",
-          "The TpHandle associated with the jingle descriptions channel that"
-          "owns this jingle description object.",
-          0, G_MAXUINT32, 0,
-          G_PARAM_CONSTRUCT_ONLY |
-          G_PARAM_READWRITE |
-          G_PARAM_STATIC_NAME |
-          G_PARAM_STATIC_NICK |
-          G_PARAM_STATIC_BLURB);
-      g_object_interface_install_property (klass, param_spec);
-
-      initialized = TRUE;
-    }
-}
-
-GType
-gabble_jingle_description_iface_get_type (void)
-{
-  static GType type = 0;
-
-  if (type == 0) {
-    static const GTypeInfo info = {
-      sizeof (GabbleJingleDescriptionIfaceClass),
-      gabble_jingle_description_iface_base_init,   /* base_init */
-      NULL,   /* base_finalize */
-      NULL,   /* class_init */
-      NULL,   /* class_finalize */
-      NULL,   /* class_data */
-      0,
-      0,      /* n_preallocs */
-      NULL    /* instance_init */
-    };
-
-    type = g_type_register_static (G_TYPE_INTERFACE, "GabbleJingleDescriptionIface",
-        &info, 0);
-  }
-
-  return type;
-}
diff --git a/src/jingle-description-iface.h b/src/jingle-description-iface.h
deleted file mode 100644
index 6813cf9..0000000
--- a/src/jingle-description-iface.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * jingle_description-iface.h - Header for GabbleJingleDescription interface
- * Copyright (C) 2007-2008 Collabora Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#ifndef __GABBLE_JINGLE_DESCRIPTION_IFACE_H__
-#define __GABBLE_JINGLE_DESCRIPTION_IFACE_H__
-
-#include <glib-object.h>
-
-#include "types.h"
-#include <loudmouth/loudmouth.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleJingleDescriptionIface GabbleJingleDescriptionIface;
-typedef struct _GabbleJingleDescriptionIfaceClass GabbleJingleDescriptionIfaceClass;
-
-struct _GabbleJingleDescriptionIfaceClass {
-  GTypeInterface parent;
-
-  void (*produce) (GabbleJingleDescriptionIface*, LmMessageNode*);
-  void (*parse) (GabbleJingleDescriptionIface*, LmMessageNode*, GError **error);
-};
-
-GType gabble_jingle_description_iface_get_type (void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_JINGLE_DESCRIPTION_IFACE \
-  (gabble_jingle_description_iface_get_type ())
-#define GABBLE_JINGLE_DESCRIPTION_IFACE(obj) \
-  (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_JINGLE_DESCRIPTION_IFACE, GabbleJingleDescriptionIface))
-#define GABBLE_IS_JINGLE_DESCRIPTION_IFACE(obj) \
-  (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_JINGLE_DESCRIPTION_IFACE))
-#define GABBLE_JINGLE_DESCRIPTION_IFACE_GET_CLASS(obj) \
-  (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GABBLE_TYPE_JINGLE_DESCRIPTION_IFACE,\
-                              GabbleJingleDescriptionIfaceClass))
-
-void gabble_jingle_description_iface_parse (GabbleJingleDescriptionIface *,
-    LmMessageNode *, GError **);
-void gabble_jingle_description_iface_produce (GabbleJingleDescriptionIface *,
-    LmMessageNode *);
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_JINGLE_DESCRIPTION_IFACE_H__ */
-- 
1.5.6.5




More information about the Telepathy-commits mailing list