4 Copyright (C) 2004 Nokia Corporation. All rights reserved.
6 @author Janne Ylalehto <janne.ylalehto@nokia.com>
7 @author Johan Hedberg <johan.hedberg@nokia.com>
9 This program is free software; you can redistribute it and/or modify it
10 under the terms of the GNU General Public License as published by the
11 Free Software Foundation; either version 2 of the License, or (at your
12 option) any later version.
14 This program is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef _DBUS_HANDLER_H_
26 #define _DBUS_HANDLER_H_
28 #ifndef DBUS_API_SUBJECT_TO_CHANGE
29 # define DBUS_API_SUBJECT_TO_CHANGE
30 # include <dbus/dbus.h>
33 /** Bind functions to corresponding D-Bus messages
34 * @param connection D-Bus connection
36 void init_dbus_handlers(DBusConnection *connection);
38 /** Free memory allocated to handlers
39 * @param connection D-Bus connection
41 void destroy_dbus_handlers(DBusConnection *connection);
43 #endif /* _DBUS_HANDLER_H_ */