malcontent/libmalcontent/tests
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
..
app-filter.c app-filter: Add mct_app_filter_is_enabled() API 2020-03-24 11:06:16 +00:00
com.endlessm.ParentalControls.AppFilter.xml tests: Use gdbus-codegen to drop hand-coded interface definitions 2019-06-13 16:40:52 +01:00
meson.build tests: Add tests for SessionLimits interface 2020-01-16 13:17:45 +00:00
org.freedesktop.Accounts.xml tests: Use gdbus-codegen to drop hand-coded interface definitions 2019-06-13 16:40:52 +01:00
session-limits.c session-limits: Add mct_session_limits_is_enabled() API 2020-03-24 11:06:16 +00:00