malcontent/libmalcontent
Philip Withnall 04705c079a session-limits: Add mct_session_limits_is_enabled() API
This is a high-level API to indicate whether parental controls are
‘enabled’ for the given user. It’s a mirror of
`mct_app_filter_is_enabled()`, and exposes the existing
`time_limit_enabled_out` argument of
`mct_session_limits_check_time_remaining()` more conveniently.

Includes tests.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-03-24 11:06:16 +00:00
..
tests session-limits: Add mct_session_limits_is_enabled() API 2020-03-24 11:06:16 +00:00
app-filter-private.h libmalcontent: Add a clarifying comment about nullability 2020-03-24 11:06:16 +00:00
app-filter.c app-filter: Add mct_app_filter_is_enabled() API 2020-03-24 11:06:16 +00:00
app-filter.h app-filter: Add mct_app_filter_is_enabled() API 2020-03-24 11:06:16 +00:00
malcontent.h libmalcontent: Add a SessionLimits interface for time-limited sessions 2020-01-16 13:17:45 +00:00
manager.c session-limits: Add serialize and deserialize methods 2020-03-19 09:42:25 +00:00
manager.h libmalcontent: Add support for setting session limits 2020-01-16 13:17:45 +00:00
meson.build libmalcontent-ui: Add GIR dependency on libmalcontent 2020-02-06 12:52:06 +00:00
session-limits-private.h libmalcontent: Add a SessionLimits interface for time-limited sessions 2020-01-16 13:17:45 +00:00
session-limits.c session-limits: Add mct_session_limits_is_enabled() API 2020-03-24 11:06:16 +00:00
session-limits.h session-limits: Add mct_session_limits_is_enabled() API 2020-03-24 11:06:16 +00:00