diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-07 21:54:01 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-17 16:53:49 +0800 |
commit | 04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094 (patch) | |
tree | de34834afdea50fada419c2c622c4435084d9ae3 /libempathy/empathy-request-util.h | |
parent | 23d90f884b28cabd3b9b986998c118314a9238f9 (diff) | |
download | gsoc2013-empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.tar gsoc2013-empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.tar.gz gsoc2013-empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.tar.bz2 gsoc2013-empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.tar.lz gsoc2013-empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.tar.xz gsoc2013-empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.tar.zst gsoc2013-empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.zip |
define constants for handler bus name
It's more convenient and safe than hardcoding them everywhere.
Diffstat (limited to 'libempathy/empathy-request-util.h')
-rw-r--r-- | libempathy/empathy-request-util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy/empathy-request-util.h b/libempathy/empathy-request-util.h index 1073f0d5e..afb8013cb 100644 --- a/libempathy/empathy-request-util.h +++ b/libempathy/empathy-request-util.h @@ -30,6 +30,15 @@ G_BEGIN_DECLS +#define EMPATHY_CHAT_BUS_NAME_SUFFIX "Empathy.Chat" +#define EMPATHY_CHAT_BUS_NAME TP_CLIENT_BUS_NAME_BASE EMPATHY_CHAT_BUS_NAME_SUFFIX + +#define EMPATHY_AV_BUS_NAME_SUFFIX "Empathy.AudioVideo" +#define EMPATHY_AV_BUS_NAME TP_CLIENT_BUS_NAME_BASE EMPATHY_AV_BUS_NAME_SUFFIX + +#define EMPATHY_FT_BUS_NAME_SUFFIX "Empathy.FileTransfer" +#define EMPATHY_FT_BUS_NAME TP_CLIENT_BUS_NAME_BASE EMPATHY_FT_BUS_NAME_SUFFIX + /* Requesting 1 to 1 text channels */ void empathy_chat_with_contact_id (TpAccount *account, const gchar *contact_id, |