diff options
author | Olli Salli <olli.salli@collabora.co.uk> | 2008-01-15 20:53:29 +0000 |
---|---|---|
committer | Olli Salli <olli.salli@collabora.co.uk> | 2008-01-15 20:53:29 +0000 |
commit | d6884fde268175fca9afccfad0c36435be5a8bd9 (patch) | |
tree | 0f35c08eb151bcc32b69dc51d1a5f724e6431654 /src/idle-connection.h | |
parent | 3c20851336897e76c48a76e6681dc1d64e1c03ac (diff) | |
download | telepathy-idle-d6884fde268175fca9afccfad0c36435be5a8bd9.tar.gz |
Clean up includes
20080115205329-9db4d-6a57ff858a5ce98ae86074e81f3be814e05d6bd3.gz
Diffstat (limited to 'src/idle-connection.h')
-rw-r--r-- | src/idle-connection.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/idle-connection.h b/src/idle-connection.h index 1cc7259..eb91525 100644 --- a/src/idle-connection.h +++ b/src/idle-connection.h @@ -22,20 +22,18 @@ #define __IDLE_CONNECTION_H__ #include <glib-object.h> -#include <dbus/dbus-glib.h> - #include <telepathy-glib/base-connection.h> +#include <telepathy-glib/handle.h> -typedef struct _IdleConnection IdleConnection; -typedef struct _IdleConnectionClass IdleConnectionClass; - -#include "idle-handles.h" #include "idle-parser.h" #define IRC_MSG_MAXLEN 510 G_BEGIN_DECLS +typedef struct _IdleConnection IdleConnection; +typedef struct _IdleConnectionClass IdleConnectionClass; + struct _IdleConnectionClass { TpBaseConnectionClass parent_class; }; @@ -61,13 +59,9 @@ GType idle_connection_get_type(void); #define IDLE_CONNECTION_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), IDLE_TYPE_CONNECTION, IdleConnectionClass)) -void idle_connection_send(IdleConnection *conn, const gchar *msg); - void idle_connection_canon_nick_receive(IdleConnection *conn, TpHandle handle, const gchar *canon_nick); void idle_connection_emit_queued_aliases_changed(IdleConnection *conn); - -gboolean idle_connection_hton(IdleConnection *obj, const gchar *input, gchar **output, GError **error); -void idle_connection_ntoh(IdleConnection *obj, const gchar *input, gchar **output); +void idle_connection_send(IdleConnection *conn, const gchar *msg); G_END_DECLS |