-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a flexible mechanism to combine user and default plugins #631
Conversation
Signed-off-by: Addisu Z. Taddese <[email protected]>
@@ -98,6 +98,8 @@ namespace gz::gui | |||
/// \sa InitializeDialogs | |||
public: bool LoadConfig(const std::string &_path); | |||
|
|||
public: bool LoadWindowConfig(const tinyxml2::XMLElement &_window); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add doxygen comments for the new functions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in c2fa792
src/Application.cc
Outdated
@@ -524,6 +506,37 @@ std::string Application::DefaultConfigPath() | |||
return this->dataPtr->defaultConfigPath; | |||
} | |||
|
|||
std::string Application::ResolveConfigFile(const std::string &_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add separation line /////////////////////////////////////////////////
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in c2fa792
Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
🎉 New feature
Closes gazebosim/gz-sim#796
Summary
This works in conjunction with gazebosim/gz-sim#2497 to allow specifying plugins without replacing the default list of plugins.
Test it
Try examples in gazebosim/gz-sim#2497
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.