added documentation for Connection and Dispatcher class

most documentation is copied from the dbus documentation and
modified to fit into dbus-c++
This commit is contained in:
Andreas Volz 2008-07-30 13:47:31 +02:00
parent f091b42263
commit 7826341ba3
4 changed files with 408 additions and 8 deletions

View file

@ -70,7 +70,11 @@ Watch::Watch( Watch::Internal* i )
int Watch::descriptor() const
{
return dbus_watch_get_fd((DBusWatch*)_int);
#if HAVE_WIN32
return dbus_watch_get_socket((DBusWatch*)_int);
#else
return dbus_watch_get_unix_fd((DBusWatch*)_int);
#endif
}
int Watch::flags() const