/*
* Copyright (c) 2017 ETH Zürich, Educational Development and Technology (LET)
*
* 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/.
*/
using SafeExamBrowser.Contracts.Logging;
namespace SafeExamBrowser.Contracts.UserInterface
{
public interface ISplashScreen : ILogObserver
{
///
/// Closes the splash screen.
///
void Close();
///
/// Set the maximum of the splash screen's progress bar.
///
void SetMaxProgress(int max);
///
/// Shows the splash screen to the user.
///
void Show();
///
/// Updates the progress bar of the splash screen according to the specified amount.
///
void UpdateProgress(int amount = 1);
}
}