/* * Copyright (c) 2020 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/. */ namespace SafeExamBrowser.WindowsApi.Contracts { /// /// The factory for desktops of the operating system. /// public interface IDesktopFactory { /// /// Creates a new desktop with the given name. /// /// If the desktop could not be created. IDesktop CreateNew(string name); /// /// Retrieves the currently active desktop. /// /// If the current desktop could not be retrieved. IDesktop GetCurrent(); } }