Page MenuHomePhabricator

Make Efl.Ui.Closer an interface instead of mixin
ClosedPublic

Authored by segfaultxavi on Jan 9 2019, 11:03 AM.

Details

Summary

It is a mixin only because of the setter method for the "closed" property,
otherwise, it would be a pure interface.
Nobody is setting that property, so let's just remove the setter (leaving only
the getter) and make this class an interface.
This should clear the scenario for languages currently having issues with
mixins (like C#).

Related to T7601.

Test Plan

Nothing changes. Make check and examples still work.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
segfaultxavi created this revision.Jan 9 2019, 11:03 AM
segfaultxavi requested review of this revision.Jan 9 2019, 11:03 AM

Removed redundant @pure_virtual tags since now this class is an interface.
Also, rebased.

cedric accepted this revision.Jan 17 2019, 10:08 AM
This revision is now accepted and ready to land.Jan 17 2019, 10:08 AM
This revision was automatically updated to reflect the committed changes.