summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/Interfaces/IShellViewModel.cs
blob: 6c537ef664e72e6778ab2bad3ad6809eb7d2dd9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IShellViewModel.cs" company="HandBrake Project (http://handbrake.fr)">
//   This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
//   The Interface for the Shell View Model
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace HandBrakeWPF.ViewModels.Interfaces
{
    using HandBrakeWPF.Model;

    /// <summary>
    /// The Interface for the Shell View Model
    /// </summary>
    public interface IShellViewModel
    {
        /// <summary>
        /// Change the page displayed on this window.
        /// </summary>
        /// <param name="window">
        /// The window.
        /// </param>
        void DisplayWindow(ShellWindow window);

        /// <summary>
        /// Checks with the use if this window can be closed.
        /// </summary>
        /// <returns>
        /// Returns true if the window can be closed.
        /// </returns>
        bool CanClose();
    }
}