Files
pilotclient/src/blackcore
Roland Winklmeier 0760a67138 Handle users joining and leaving properly in audio context and gui
Before this change signals when users were joining or leaving
the voice room were not properly handled. A new signal in audio
context is emitted now and gui will rebuild the user list when it
is emitted.
2015-03-20 17:11:31 +01:00
..
2015-03-20 17:11:23 +01:00
2015-03-20 17:11:23 +01:00
2015-03-20 16:34:14 +01:00
2015-03-20 16:33:27 +01:00
2014-07-11 01:20:50 +02:00
2015-03-20 17:11:23 +01:00
2015-03-20 17:11:23 +01:00
2015-03-20 17:11:23 +01:00
2015-03-20 17:11:23 +01:00
2015-03-20 17:11:23 +01:00
2015-03-20 17:11:06 +01:00
2015-03-20 16:34:03 +01:00
2015-03-20 16:34:03 +01:00

Starting: dbus-daemon.exe --session
- blocks CMD (sometimes daemon continues to run when pressing CTRL/C)
- does not start without directory session.d, i.e. ..\Qt\Qt5.1.0DBus\qtbase\etc\dbus-1\session.d

!!! The includes are set in the qmake file, there are the header files
!!! which are used in the interface
/// qdbuscpp2xml context_network.h -x blackmisc_cpp2xml.dll -o blackcore.contextnetwork.xml
qdbuscpp2xml context_network_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextnetwork.xml
qdbuscpp2xml context_settings_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextsettings.xml
qdbuscpp2xml context_application_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextapplication.xml
qdbuscpp2xml context_voice_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextvoice.xml

Set search path for plugins: env.var. QT_PLUGIN_PATH

Done automatically (qmake), but if required manually
Interface:
qdbusxml2cpp -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h -p contextnetwork_interface.h: H:\Projects\Qt\VatsimClient\client\src\blackcore\blackcore.contextnetwork.xml
qdbusxml2cpp -i contextnetwork_interface.h -p :contextnetwork_interface.cpp H:\Projects\Qt\VatsimClient\client\src\blackcore\blackcore.contextnetwork.xml

Adaptor: The : indicates generation of cpp file
qdbusxml2cpp -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h -a contextnetwork_adaptor.h blackcore.contextnetwork.xml
qdbusxml2cpp -i context_adaptor.h -a :contextnetwork_adaptor.cpp blackcore.contextnetwork.xml

Manually:
<signal name="statusMessage">
<signal name="textMessagesReceived">

Removed generation:

# Causes nmake to run qdbusxml2cpp to automatically generate the dbus adaptor and interface classes,
# then automatically adds them to the sources to compile
# !! Make sure the plugin is available as release build and known QT_PLUGIN_PATH
# QDBUSXML2CPP_ADAPTOR_HEADER_FLAGS = -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h
# DBUS_ADAPTORS += blackcore.contextnetwork.xml
# DBUS_ADAPTORS += blackcore.contextvoice.xml
# DBUS_ADAPTORS += blackcore.contextsettings.xml
# DBUS_ADAPTORS += blackcore.contextapplication.xml

# QDBUSXML2CPP_INTERFACE_HEADER_FLAGS = -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h
# DBUS_INTERFACES += blackcore.contextnetwork.xml