00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef __DBUSXX_SERVER_P_H
00026 #define __DBUSXX_SERVER_P_H
00027
00028 #ifdef HAVE_CONFIG_H
00029 #include <config.h>
00030 #endif
00031
00032 #include <dbus-c++/server.h>
00033 #include <dbus-c++/dispatcher.h>
00034 #include <dbus-c++/refptr_impl.h>
00035
00036 #include <dbus/dbus.h>
00037
00038 namespace DBus {
00039
00040 struct DXXAPILOCAL Server::Private
00041 {
00042 DBusServer *server;
00043
00044 Dispatcher *dispatcher;
00045
00046 ConnectionList connections;
00047
00048 bool auth_enabled;
00049
00050 bool anon_enabled;
00051
00052 Private(DBusServer *);
00053
00054 ~Private();
00055
00056 static void on_new_conn_cb(DBusServer *server, DBusConnection *conn, void *data);
00057
00058 static dbus_bool_t on_unix_auth_cb(DBusConnection *conn, unsigned long uid, void *data);
00059 };
00060
00061 }
00062
00063 #endif//__DBUSXX_SERVER_P_H