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

remove p8-platform dependency #167

Merged
merged 6 commits into from
May 2, 2019
Merged

remove p8-platform dependency #167

merged 6 commits into from
May 2, 2019

Conversation

Rechi
Copy link
Member

@Rechi Rechi commented May 1, 2019

No description provided.


if (expires <= P8PLATFORM::GetTimeMs())
if (expires <= std::chrono::steady_clock::now())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlwinEsch IIRC, you recently introduce a binary addon API function "GetTimeMs". Why do we need this? As you can see here, "std::chrono::steady_clock::now()" does the same and no special Kodi API needed...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has overseen the new C++11, there are so much new parts inside that I still not know all.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please revert that API change? I think we should not bloat our API with stuff that can be realized with the c++ standard library.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlwinEsch I opened xbmc/xbmc#16035 to remove that addon API function.

@Rechi Rechi merged commit ca8ea89 into Leia May 2, 2019
@Rechi Rechi deleted the remove/p8-platform branch May 2, 2019 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants