Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello
Sorry for the delay, I had some problems with github. I am beginner with git.
I am a student and during my internship I had to add dbus in rivendell.
This will allow for example to creates a web application that controls rdairplay.
For this I added in the lib folder, an api that allows to easily add the method and value without having to modify much to the existing code.
The only constraint is to add c++11 in the configure.ac and qtdbus.
I had trouble using the documentation system in xml format so send a mini example here:
A small demonstration and test are available directly in the rdairplay/rdairplay.cpp file
To use the api use:
First get the service org.rivendell.dbus_api and get the path "/TestModule" for getting global listener local.qdbuscpp2xml.DbusLink and get the value I use a method getFieldString ("testname"); to get Field QString.
for the method, i have for exemple void(int); i use CallMethod_Int
for the method, i have for exemple int(int); i use CallMethodInt_Int
for the method, i have for exemple QString(int,int); i use CallMethodString_Int_Int
Sorry for spelling mistakes
Best regards, Anthony TURON