Frameworks/libpurple.framework/Versions/0.5.6/Headers/dbus-maybe.h
branchadium-1.3
changeset 350 708bedafdc3a
parent 349 17ef128722b7
child 351 b01ab9b157f9
     1.1 --- a/Frameworks/libpurple.framework/Versions/0.5.6/Headers/dbus-maybe.h	Sun Jun 21 22:04:11 2009 -0400
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,35 +0,0 @@
     1.4 -/* This file contains macros that wrap calls to the purple dbus module.
     1.5 -   These macros call the appropriate functions if the build includes
     1.6 -   dbus support and do nothing otherwise.  See "dbus-server.h" for
     1.7 -   documentation.  */
     1.8 -
     1.9 -#ifndef _PURPLE_DBUS_MAYBE_H_
    1.10 -#define _PURPLE_DBUS_MAYBE_H_
    1.11 -
    1.12 -#ifdef HAVE_DBUS
    1.13 -
    1.14 -#ifndef DBUS_API_SUBJECT_TO_CHANGE
    1.15 -#define DBUS_API_SUBJECT_TO_CHANGE
    1.16 -#endif
    1.17 -
    1.18 -#include "dbus-server.h"
    1.19 -
    1.20 -/* this provides a type check */
    1.21 -#define PURPLE_DBUS_REGISTER_POINTER(ptr, type) { \
    1.22 -    type *typed_ptr = ptr; \
    1.23 -    purple_dbus_register_pointer(typed_ptr, PURPLE_DBUS_TYPE(type));	\
    1.24 -}
    1.25 -#define PURPLE_DBUS_UNREGISTER_POINTER(ptr) purple_dbus_unregister_pointer(ptr)
    1.26 -
    1.27 -#else  /* !HAVE_DBUS */
    1.28 -
    1.29 -#define PURPLE_DBUS_REGISTER_POINTER(ptr, type) { \
    1.30 -    if (ptr) {} \
    1.31 -}
    1.32 -
    1.33 -#define PURPLE_DBUS_UNREGISTER_POINTER(ptr)
    1.34 -#define DBUS_EXPORT
    1.35 -
    1.36 -#endif	/* HAVE_DBUS */
    1.37 -
    1.38 -#endif