OBS: update support for CentOS & Scientific Linux 7
[siplcs.git] / src / purple / purple-dbus.h
blob50a28a57b22605478e2a92e4c7a657be7e36a2de
1 /**
2 * @file purple-dbus.h
4 * pidgin-sipe
6 * Copyright (C) 2017 SIPE Project <http://sipe.sourceforge.net/>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * Work around some versions of dbus-server.h that redefine DBUS_EXPORT
25 * without checking that it is already defined. Include dbus/dbus.h first
26 * to suppress the implicit inclusion through dbus-server.h. Then undefine
27 * the macro to avoid the potential build failure.
29 #include <dbus/dbus.h>
30 #ifdef DBUS_EXPORT
31 #undef DBUS_EXPORT
32 #endif
33 #include "dbus-server.h"
34 #include "account.h"
36 extern PurpleDBusBinding sipe_purple_dbus_bindings[];
38 /**
39 * SipeCallPhoneNumber - call phone number
41 * @param account (in) libpurple account
42 * @param number (in) phone number string
44 DBUS_EXPORT void sipe_call_phone_number(PurpleAccount *account,
45 const gchar *phone_number);
47 /**
48 * SipeJoinConferenceWithOrganizerAndId - join conference using
49 * organizer account name and meeting ID
51 * @param account (in) libpurple account
52 * @param organizer (in) organizer account name
53 * @param id (in) meeting ID string
55 DBUS_EXPORT void sipe_join_conference_with_organizer_and_id(PurpleAccount *account,
56 const gchar *organizer,
57 const gchar *meeting_id);
59 /**
60 * SipeJoinConferenceWithUri - join conference using URI
62 * @param account (in) libpurple account
63 * @param uri (in) URI string
65 DBUS_EXPORT void sipe_join_conference_with_uri(PurpleAccount *account,
66 const gchar *uri);
68 /**
69 * SipeRepublishCalendar
71 DBUS_EXPORT void sipe_republish_calendar(PurpleAccount *account);
73 /**
74 * SipeResetStatus
76 DBUS_EXPORT void sipe_reset_status(PurpleAccount *account);
79 Local Variables:
80 mode: c
81 c-file-style: "bsd"
82 indent-tabs-mode: t
83 tab-width: 8
84 End: