diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-02-06 14:58:51 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-02-06 15:32:57 +0100 |
commit | e5995a21713cb333285f8a4bf5a612e11f6e271a (patch) | |
tree | 702198d743eb12809f89ba5aaff4e8e3991a2bba /libempathy | |
parent | 983d1b03fa252ea5743d58f290ab70be8fa8c291 (diff) |
add empathy-bus-names.h
It's convenient to have a single file containing all the D-Bus names so a
component can easily call a method on another one.
Also rename from DBUS_NAME to BUS_NAME to stay coherent with the TP_BUS_NAME.
https://bugzilla.gnome.org/show_bug.cgi?id=723766
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/Makefile.am | 1 | ||||
-rw-r--r-- | libempathy/empathy-bus-names.h | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am index 267781185..b87b35b94 100644 --- a/libempathy/Makefile.am +++ b/libempathy/Makefile.am @@ -28,6 +28,7 @@ BUILT_SOURCES = \ libempathy_headers = \ action-chain-internal.h \ empathy-auth-factory.h \ + empathy-bus-names.h \ empathy-chatroom-manager.h \ empathy-chatroom.h \ empathy-client-factory.h \ diff --git a/libempathy/empathy-bus-names.h b/libempathy/empathy-bus-names.h new file mode 100644 index 000000000..62dba700b --- /dev/null +++ b/libempathy/empathy-bus-names.h @@ -0,0 +1,29 @@ +/* + * empathy-bus-names.h + * + * Copyright (C) 2014 Collabora Ltd. <http://www.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, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __EMPATHY_BUS_NAMES_H__ +#define __EMPATHY_BUS_NAMES_H__ + +#define EMPATHY_BUS_NAME "org.gnome.Empathy" +#define EMPATHY_CALL_BUS_NAME "org.gnome.Empathy.Call" +#define EMPATHY_CHAT_BUS_NAME "org.gnome.Empathy.Chat" +#define EMPATHY_DEBUGGER_BUS_NAME "org.gnome.Empathy.Debugger" +#define EMPATHY_ACCOUNTS_BUS_NAME "org.gnome.EmpathyAccounts" + +#endif /* #ifndef __EMPATHY_BUS_NAMES_H__*/ |