summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-07 15:57:13 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-07 15:57:13 +0000
commit7af8c38076500e43b9ee7d5e165b5f85459106ed (patch)
tree52cd4dfaf6d537d8569219c01b3cbd765810d220
parent0544640e606b1cf6906fdd5c006ab4276fd7c672 (diff)
echo examples: rename files containing channel managers to im-manager.[ch]
-rw-r--r--examples/cm/echo-message-parts/Makefile.am4
-rw-r--r--examples/cm/echo-message-parts/conn.c2
-rw-r--r--examples/cm/echo-message-parts/im-manager.c (renamed from examples/cm/echo-message-parts/factory.c)8
-rw-r--r--examples/cm/echo-message-parts/im-manager.h (renamed from examples/cm/echo-message-parts/factory.h)0
-rw-r--r--examples/cm/echo/Makefile.am4
-rw-r--r--examples/cm/echo/conn.c2
-rw-r--r--examples/cm/echo/im-manager.c (renamed from examples/cm/echo/factory.c)8
-rw-r--r--examples/cm/echo/im-manager.h (renamed from examples/cm/echo/factory.h)0
8 files changed, 14 insertions, 14 deletions
diff --git a/examples/cm/echo-message-parts/Makefile.am b/examples/cm/echo-message-parts/Makefile.am
index 4f61b1575..a1d129a48 100644
--- a/examples/cm/echo-message-parts/Makefile.am
+++ b/examples/cm/echo-message-parts/Makefile.am
@@ -8,8 +8,8 @@ libexample_cm_echo_2_la_SOURCES = \
conn.h \
connection-manager.c \
connection-manager.h \
- factory.c \
- factory.h
+ im-manager.c \
+ im-manager.h
# In an external project you'd use $(TP_GLIB_LIBS) (obtained from
# pkg-config via autoconf) instead of the .la path
diff --git a/examples/cm/echo-message-parts/conn.c b/examples/cm/echo-message-parts/conn.c
index 192b87e66..a8b5d02f6 100644
--- a/examples/cm/echo-message-parts/conn.c
+++ b/examples/cm/echo-message-parts/conn.c
@@ -18,7 +18,7 @@
#include <telepathy-glib/handle-repo-dynamic.h>
#include <telepathy-glib/interfaces.h>
-#include "factory.h"
+#include "im-manager.h"
G_DEFINE_TYPE (ExampleEcho2Connection,
example_echo_2_connection,
diff --git a/examples/cm/echo-message-parts/factory.c b/examples/cm/echo-message-parts/im-manager.c
index a431d4da2..87b55a287 100644
--- a/examples/cm/echo-message-parts/factory.c
+++ b/examples/cm/echo-message-parts/im-manager.c
@@ -1,7 +1,7 @@
/*
- * factory.c - an example channel factory for channels talking to a particular
- * contact. Similar code is used for 1-1 IM channels in many protocols
- * (IRC private messages ("/query"), XMPP IM etc.)
+ * im-manager.c - an example channel manager for channels talking to a
+ * particular contact. Similar code is used for 1-1 IM channels in many
+ * protocols (IRC private messages ("/query"), XMPP IM etc.)
*
* Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2007 Nokia Corporation
@@ -11,7 +11,7 @@
* notice and this notice are preserved.
*/
-#include "factory.h"
+#include "im-manager.h"
#include <dbus/dbus-glib.h>
diff --git a/examples/cm/echo-message-parts/factory.h b/examples/cm/echo-message-parts/im-manager.h
index 6c09cb446..6c09cb446 100644
--- a/examples/cm/echo-message-parts/factory.h
+++ b/examples/cm/echo-message-parts/im-manager.h
diff --git a/examples/cm/echo/Makefile.am b/examples/cm/echo/Makefile.am
index 298877339..536728a4c 100644
--- a/examples/cm/echo/Makefile.am
+++ b/examples/cm/echo/Makefile.am
@@ -8,8 +8,8 @@ libexample_cm_echo_la_SOURCES = \
conn.h \
connection-manager.c \
connection-manager.h \
- factory.c \
- factory.h
+ im-manager.c \
+ im-manager.h
# In an external project you'd use $(TP_GLIB_LIBS) (obtained from
# pkg-config via autoconf) instead of the .la path
diff --git a/examples/cm/echo/conn.c b/examples/cm/echo/conn.c
index 7b43c7700..1d7c1860b 100644
--- a/examples/cm/echo/conn.c
+++ b/examples/cm/echo/conn.c
@@ -18,7 +18,7 @@
#include <telepathy-glib/handle-repo-dynamic.h>
#include <telepathy-glib/interfaces.h>
-#include "factory.h"
+#include "im-manager.h"
G_DEFINE_TYPE (ExampleEchoConnection,
example_echo_connection,
diff --git a/examples/cm/echo/factory.c b/examples/cm/echo/im-manager.c
index 5a968e644..540d12ab0 100644
--- a/examples/cm/echo/factory.c
+++ b/examples/cm/echo/im-manager.c
@@ -1,7 +1,7 @@
/*
- * factory.c - an example channel factory for channels talking to a particular
- * contact. Similar code is used for 1-1 IM channels in many protocols
- * (IRC private messages ("/query"), XMPP IM etc.)
+ * im-manager.c - an example channel manager for channels talking to a
+ * particular contact. Similar code is used for 1-1 IM channels in many
+ * protocols (IRC private messages ("/query"), XMPP IM etc.)
*
* Copyright (C) 2007 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2007 Nokia Corporation
@@ -11,7 +11,7 @@
* notice and this notice are preserved.
*/
-#include "factory.h"
+#include "im-manager.h"
#include <dbus/dbus-glib.h>
diff --git a/examples/cm/echo/factory.h b/examples/cm/echo/im-manager.h
index 4b74cb29a..4b74cb29a 100644
--- a/examples/cm/echo/factory.h
+++ b/examples/cm/echo/im-manager.h