Skip to content
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

[addons] change binary callbacks #12596

Merged
merged 2 commits into from
Sep 3, 2017
Merged

Conversation

AlwinEsch
Copy link
Member

@AlwinEsch AlwinEsch commented Jul 31, 2017

Description


  1. Add binary addon callback to get used skin name id

This add a callback who also present on python and becomes needed
on e.g. Web browser addon to know used skin name.

The change is more general and included to a new request.


  1. allow binary addon to use label id with every id

This change the id usage of strings on new binary addons to override
a kodi string id with a own for him itself.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the Code guidelines of this project
  • My change requires a change to the documentation, either Doxygen or wiki
  • I have updated the documentation accordingly
  • I have read the CONTRIBUTING document
  • I have added tests to cover my change
  • All new and existing tests passed

@AlwinEsch AlwinEsch added this to the L 18.0-alpha1 milestone Jul 31, 2017
return nullptr;
}

return strdup(CServiceBroker::GetSettings().GetString(CSettings::SETTING_LOOKANDFEEL_SKIN).c_str());

This comment was marked as spam.

This comment was marked as spam.

@AlwinEsch AlwinEsch force-pushed the add-callbacks branch 2 times, most recently from d590594 to c1b895b Compare August 28, 2017 22:01
@AlwinEsch
Copy link
Member Author

jenkins build this please

@AlwinEsch
Copy link
Member Author

jenkins build this please

This add a callback who also present on python and becomes needed
on e.g. Web browser addon to know used skin name.

The change is more general and included to a new request.
This change the id usage of strings on new binary addons to override
a kodi string id with a own for him itself.
@AlwinEsch AlwinEsch merged commit 7161dc0 into xbmc:master Sep 3, 2017
@AlwinEsch AlwinEsch deleted the add-callbacks branch September 3, 2017 19:09
@ksooo
Copy link
Member

ksooo commented Sep 4, 2017

You know that I always get puzzled about this version number stuff, but imo this change breaks all old style binary add-ons, like pvr add-ons. @AlwinEsch

@MilhouseVH not sure whether I'm actually right, be in case I am, you are informed...

@ksooo
Copy link
Member

ksooo commented Sep 4, 2017

Okay, you did not modify the function tables, right? Thus, all should be fine, but I would be happy if you could confirm this.

@AlwinEsch
Copy link
Member Author

PVR still use the old and not affected by them. Also is with a add of callback function (if added to the end) still backward compatible.

@ksooo
Copy link
Member

ksooo commented Sep 4, 2017

Sure, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants