[Telepathy-commits] [telepathy-gabble/master] rename gabble-register.h to register.h

Dafydd Harries dafydd.harries at collabora.co.uk
Tue Aug 19 10:53:14 PDT 2008


20080714115825-c9803-37d40d361f6b9d2bcbfd379dce8fee1aa76ecdf7.gz
---
 src/Makefile.am         |    2 +-
 src/gabble-connection.c |    2 +-
 src/gabble-register.c   |    2 +-
 src/gabble-register.h   |   67 -----------------------------------------------
 src/register.h          |   67 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 70 insertions(+), 70 deletions(-)
 delete mode 100644 src/gabble-register.h
 create mode 100644 src/register.h

diff --git a/src/Makefile.am b/src/Makefile.am
index ddc1a6c..c3a62ff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -64,7 +64,7 @@ libgabble_convenience_la_our_sources = \
     media-stream.h \
     gabble-media-stream.c \
     gabble-register.c \
-    gabble-register.h \
+    register.h \
     gabble-roster-channel.h \
     gabble-roster-channel.c \
     gabble-roomlist-channel.h \
diff --git a/src/gabble-connection.c b/src/gabble-connection.c
index 1ce48f0..9934a72 100644
--- a/src/gabble-connection.c
+++ b/src/gabble-connection.c
@@ -54,7 +54,7 @@
 #include "debug.h"
 #include "disco.h"
 #include "media-channel.h"
-#include "gabble-register.h"
+#include "register.h"
 #include "gabble-roomlist-channel.h"
 #include "im-factory.h"
 #include "media-factory.h"
diff --git a/src/gabble-register.c b/src/gabble-register.c
index 3a7243b..d5b8c80 100644
--- a/src/gabble-register.c
+++ b/src/gabble-register.c
@@ -20,7 +20,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include "gabble-register.h"
+#include "register.h"
 
 #define DBUS_API_SUBJECT_TO_CHANGE
 
diff --git a/src/gabble-register.h b/src/gabble-register.h
deleted file mode 100644
index e38e520..0000000
--- a/src/gabble-register.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * gabble-register.h - Headers for Gabble account registration
- *
- * Copyright (C) 2006 Collabora Ltd.
- * Copyright (C) 2006 Nokia Corporation
- *   @author Ole Andre Vadla Ravnaas <ole.andre.ravnaas at collabora.co.uk>
- *
- * 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_REGISTER_H__
-#define __GABBLE_REGISTER_H__
-
-#include <glib-object.h>
-
-#include <loudmouth/loudmouth.h>
-
-#include "connection.h"
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleRegister GabbleRegister;
-typedef struct _GabbleRegisterClass GabbleRegisterClass;
-
-GType gabble_register_get_type (void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_REGISTER \
-  (gabble_register_get_type ())
-#define GABBLE_REGISTER(obj) \
-  (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_REGISTER, GabbleRegister))
-#define GABBLE_REGISTER_CLASS(klass) \
-  (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_REGISTER, GabbleRegisterClass))
-#define GABBLE_IS_REGISTER(obj) \
-  (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_REGISTER))
-#define GABBLE_IS_REGISTER_CLASS(klass) \
-  (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_REGISTER))
-#define GABBLE_REGISTER_GET_CLASS(obj) \
-  (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_REGISTER,\
-                              GabbleRegisterClass))
-
-struct _GabbleRegisterClass {
-    GObjectClass parent_class;
-};
-
-struct _GabbleRegister {
-    GObject parent;
-};
-
-GabbleRegister *gabble_register_new (GabbleConnection *conn);
-void gabble_register_start (GabbleRegister *reg);
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_REGISTER_H__ */
diff --git a/src/register.h b/src/register.h
new file mode 100644
index 0000000..e38e520
--- /dev/null
+++ b/src/register.h
@@ -0,0 +1,67 @@
+/*
+ * gabble-register.h - Headers for Gabble account registration
+ *
+ * Copyright (C) 2006 Collabora Ltd.
+ * Copyright (C) 2006 Nokia Corporation
+ *   @author Ole Andre Vadla Ravnaas <ole.andre.ravnaas at collabora.co.uk>
+ *
+ * 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_REGISTER_H__
+#define __GABBLE_REGISTER_H__
+
+#include <glib-object.h>
+
+#include <loudmouth/loudmouth.h>
+
+#include "connection.h"
+
+G_BEGIN_DECLS
+
+typedef struct _GabbleRegister GabbleRegister;
+typedef struct _GabbleRegisterClass GabbleRegisterClass;
+
+GType gabble_register_get_type (void);
+
+/* TYPE MACROS */
+#define GABBLE_TYPE_REGISTER \
+  (gabble_register_get_type ())
+#define GABBLE_REGISTER(obj) \
+  (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_REGISTER, GabbleRegister))
+#define GABBLE_REGISTER_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_REGISTER, GabbleRegisterClass))
+#define GABBLE_IS_REGISTER(obj) \
+  (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_REGISTER))
+#define GABBLE_IS_REGISTER_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_REGISTER))
+#define GABBLE_REGISTER_GET_CLASS(obj) \
+  (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_REGISTER,\
+                              GabbleRegisterClass))
+
+struct _GabbleRegisterClass {
+    GObjectClass parent_class;
+};
+
+struct _GabbleRegister {
+    GObject parent;
+};
+
+GabbleRegister *gabble_register_new (GabbleConnection *conn);
+void gabble_register_start (GabbleRegister *reg);
+
+G_END_DECLS
+
+#endif /* #ifndef __GABBLE_REGISTER_H__ */
-- 
1.5.6.3




More information about the Telepathy-commits mailing list