VirtualBox

Changeset 36567 in vbox for trunk


Ignore:
Timestamp:
Apr 5, 2011 6:24:42 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71002
Message:

ugly.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dbus.h

    r36555 r36567  
    11/** @file
    2  *
    3  * Module to dynamically load libdbus and load all symbols
    4  * which are needed by VirtualBox.
     2 * Module to dynamically load libdbus and load all symbols which are needed by
     3 * VirtualBox.
    54 */
    65
     
    2625 */
    2726
    28 #ifndef ___VBox_DBus_h
    29 #define ___VBox_DBus_h
     27#ifndef ___VBox_dbus_h
     28#define ___VBox_dbus_h
    3029
    3130#include <iprt/types.h>
    3231#include <iprt/stdarg.h>
     32
     33#ifndef __cplusplus
     34# error "This header requires C++ to avoid name clashes."
     35#endif
    3336
    3437/** Types and defines from the dbus header files which we need.  These are
     
    98101} DBusHandlerResult;
    99102
    100 typedef DBusHandlerResult (*DBusHandleMessageFunction) (DBusConnection *,
     103typedef DBusHandlerResult (* DBusHandleMessageFunction)(DBusConnection *,
    101104                                                        DBusMessage *, void *);
    102 typedef void (*DBusFreeFunction) (void *);
     105typedef void (* DBusFreeFunction) (void *);
    103106
    104107/* Declarations of the functions that we need from libdbus-1 */
    105108#define VBOX_DBUS_GENERATE_HEADER
    106 RT_C_DECLS_BEGIN
     109
    107110#include <VBox/dbus-calls.h>
    108 RT_C_DECLS_END
     111
    109112#undef VBOX_DBUS_GENERATE_HEADER
    110113
  • trunk/src/VBox/Runtime/Makefile.kmk

    r36560 r36567  
    22482248                                -e '/^_Z[[:alpha:]]*[[:digit:]]\+RTC/d' \
    22492249                                \
    2250                                 -e '/^dbus/d' \
    2251                                 -e '/^RTDBusLoadLib/d' \
     2250                                -e '/^_Z*[[:digit:]]\+dbus/d' \
     2251                                -e '/^_Z13RTDBusLoadLibv/d' \
    22522252                                \
    22532253                                -e '/^VBoxHost_/d'\
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette