annotate src/dbus-maybe.h @ 11070:fdb8ba7a4857

[gaim-migrate @ 13069] I (apparently) don't have dbus. configure still needs to work. I'm also fixing some warnings with src/Makefile.am introduced by the dbus commits. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 08 Jul 2005 05:11:08 +0000
parents 2eca9ed49469
children 1c5398ccbeb0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11067
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
1 /* This file contains macros that wrap calls to the gaim dbus module.
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
2 These macros call the appropriate functions if the build includes
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
3 dbus support and do nothing otherwise. See "dbus-server.h" for
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
4 documentation. */
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
5
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
6 #ifndef _GAIM_DBUS_MAYBE_H_
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
7 #define _GAIM_DBUS_MAYBE_H_
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
8
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
9 #ifdef HAVE_DBUS
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
10
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
11 #include "dbus-server.h"
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
12
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
13 #define GAIM_DBUS_REGISTER_POINTER(ptr, type) gaim_dbus_register_pointer(ptr, type)
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
14 #define GAIM_DBUS_UNREGISTER_POINTER(ptr) gaim_dbus_unregister_pointer(ptr)
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
15
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
16 #else /* !HAVE_DBUS */
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
17
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
18 #define GAIM_DBUS_REGISTER_POINTER(ptr, type)
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
19 #define GAIM_DBUS_UNREGISTER_POINTER(ptr)
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
20
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
21 #endif /* HAVE_DBUS */
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
22
2eca9ed49469 [gaim-migrate @ 13048]
Piotr Zielinski <zielaj>
parents:
diff changeset
23 #endif