Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mce] Make tristate_t type generally available. JB#22475
Generic "extended boolean" type supporting als "unknown" in addition to "true" and "false" is useful for dealing with state data where neither true nor false is suitable for use as initial value. There already is tristate_t type that fits the requirement, but it is internal to the buttonbacklight plugin. Move tristate_t from plugin to mce core modules so that it can be utilized anywhere within mce. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
3 changed files
with
24 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters