changed config*.h include path

This commit is contained in:
Andreas Volz 2008-07-29 13:01:43 +02:00
parent 4ab448c26e
commit 47d9968dcc
44 changed files with 44 additions and 113 deletions

6
README
View file

@ -1,4 +1,8 @@
Debugging
---------
To compile debugging code configure the project with the --enable-debug option. Then at runtime you may set the environment variable DBUSXX_VERBOSE to '1' to activate debugging and to '0' to deactivate debugging.
To compile debugging code configure the project with the --enable-debug option. Then at runtime you may set the environment variable "DBUSXX_VERBOSE=1" to activate debugging and to '0' to deactivate debugging.
Hints
-----
Your applications based on dbus-c++ have to support PTHREAD and to export the variable HAVE_PTHREAD_H. This is a work in progress and my change.

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "dbus-browser.h"
#include <xml.h>

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "hal-listen.h"
#include <signal.h>

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "props-server.h"
#include <signal.h>

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_CONNECTION_H
#define __DBUSXX_CONNECTION_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <list>

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_DEBUG_H
#define __DBUSXX_DEBUG_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"

View file

@ -25,10 +25,7 @@
#ifndef __DBUSXX_DISPATCHER_H
#define __DBUSXX_DISPATCHER_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "connection.h"
#include "eventloop.h"

View file

@ -25,10 +25,7 @@
#ifndef __DBUSXX_ECORE_INTEGRATION_H
#define __DBUSXX_ECORE_INTEGRATION_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <Ecore.h>
#include "api.h"

View file

@ -25,10 +25,7 @@
#ifndef __DBUSXX_ERROR_H
#define __DBUSXX_ERROR_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "util.h"

View file

@ -25,10 +25,7 @@
#ifndef __DBUSXX_EVENTLOOP_INTEGRATION_H
#define __DBUSXX_EVENTLOOP_INTEGRATION_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "dispatcher.h"
#include "util.h"

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_EVENTLOOP_H
#define __DBUSXX_EVENTLOOP_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#ifdef HAVE_PTHREAD_H
#include <pthread.h>

View file

@ -25,10 +25,7 @@
#ifndef __DBUSXX_GLIB_INTEGRATION_H
#define __DBUSXX_GLIB_INTEGRATION_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <glib.h>
#include "api.h"

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_INTERFACE_H
#define __DBUSXX_INTERFACE_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <string>
#include <map>

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_INTROSPECTION_H
#define __DBUSXX_INTROSPECTION_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "interface.h"

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_MESSAGE_H
#define __DBUSXX_MESSAGE_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <string>
#include <map>

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_OBJECT_H
#define __DBUSXX_OBJECT_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <string>
#include <list>

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_PENDING_CALL_H
#define __DBUSXX_PENDING_CALL_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "util.h"

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_PROPERTY_H
#define __DBUSXX_PROPERTY_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "types.h"

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_REFPTR_IMPL_H
#define __DBUSXX_REFPTR_IMPL_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "util.h"

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_SERVER_H
#define __DBUSXX_SERVER_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <list>

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_TYPES_H
#define __DBUSXX_TYPES_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include <string>
#include <vector>

View file

@ -25,9 +25,7 @@
#ifndef __DBUSXX_UTIL_H
#define __DBUSXX_UTIL_H
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include "dbus-c++-config.h"
#include "api.h"
#include "debug.h"

View file

@ -24,9 +24,9 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/debug.h>
#include <dbus-c++/connection.h>

View file

@ -28,9 +28,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/connection.h>
#include <dbus-c++/server.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/debug.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/dispatcher.h>

View file

@ -28,9 +28,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/dispatcher.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/ecore-integration.h>
@ -80,9 +78,8 @@ void Ecore::BusTimeout::_enable()
void Ecore::BusTimeout::_disable()
{
// TODO: port
debug_log("Ecore::BusTimeout::_disable()");
// need to enhance Dispatcher with close
ecore_timer_del (_etimer);
//g_source_destroy(_source);
}
@ -96,7 +93,7 @@ struct BusSource
static bool watch_prepare( /*GSource *source,*/ int *timeout )
{
// debug_log("ecore: watch_prepare");
debug_log("ecore: watch_prepare");
*timeout = -1;
return false;
@ -104,10 +101,10 @@ static bool watch_prepare( /*GSource *source,*/ int *timeout )
static bool watch_check( /*GSource *source*/ )
{
// debug_log("ecore: watch_check");
debug_log("ecore: watch_check");
//BusSource* io = (BusSource*)source;
return 0;//io->poll.revents ? true : false;
return true;//io->poll.revents ? true : false;
}
// TODO: port parameters
@ -115,9 +112,9 @@ static bool watch_dispatch(/* GSource *source, GSourceFunc callback, */void *dat
{
debug_log("ecore: watch_dispatch");
/*bool cb = callback(data);
DBus::default_dispatcher->dispatch_pending(); //TODO: won't work in case of multiple dispatchers*/
return 1;//cb;
bool cb = true;//callback(data);
DBus::default_dispatcher->dispatch_pending(); //TODO: won't work in case of multiple dispatchers
return cb;
}
// TODO: needed?

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/message.h>
#include <dbus-c++/error.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/eventloop-integration.h>
#include <dbus-c++/debug.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/eventloop.h>
#include <dbus-c++/debug.h>

View file

@ -24,10 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/glib-integration.h>
#include <dbus/dbus.h> // for DBUS_WATCH_*

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/debug.h>
#include <dbus-c++/interface.h>

View file

@ -28,9 +28,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/error.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/introspection.h>
#include <dbus-c++/object.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/message.h>

View file

@ -28,9 +28,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/message.h>
#include <dbus-c++/refptr_impl.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/debug.h>
#include <dbus-c++/object.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/pendingcall.h>

View file

@ -28,9 +28,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/pendingcall.h>
#include <dbus-c++/refptr_impl.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/debug.h>
#include <dbus-c++/property.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/debug.h>
#include <dbus-c++/server.h>

View file

@ -28,9 +28,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/server.h>
#include <dbus-c++/dispatcher.h>

View file

@ -24,9 +24,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_DBUSPP_CONFIG_H
#include <dbus-c++/dbus-c++-config.h>
#endif
#include <dbus-c++/types.h>
#include <dbus-c++/object.h>