/* * Copyright (c) 2025 ETH Zürich, IT Services * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace SafeExamBrowser.Runtime.Responsibilities { /// /// Defines all tasks assumed by the responsibilities of the runtime application. /// internal enum RuntimeTask { /// /// Deregisters the respective event handlers during application termination. /// DeregisterEvents, /// /// Deregisters the respective event handlers during session termination. /// DeregisterSessionEvents, /// /// Registers the respective event handlers during application initialization. /// RegisterEvents, /// /// Registers the respective event handlers during session initialization. /// RegisterSessionEvents, /// /// Shows an error message in case the application shutdown fails. /// ShowShutdownError, /// /// Shows an error message in case the application startup fails. /// ShowStartupError, /// /// Attempts to start a new session. /// StartSession, /// /// Stops the currently running session. /// StopSession } }