summaryrefslogtreecommitdiff
path: root/src/Notepad/Presentation/Presenters/Shell/MainShellPresenter.cs
blob: 1406be03f98ff473ba32b63280d70802c9e8d540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Notepad.Presentation.Core;
using Notepad.Presentation.Presenters.Menu;
using Notepad.Presentation.Presenters.Shell;

namespace Notepad.Presentation.Presenters.Shell {
    public class MainShellPresenter : IMainShellPresenter {
        private readonly IApplicationController applicationController;

        public MainShellPresenter(IApplicationController applicationController) {
            this.applicationController = applicationController;
        }

        public void Initialize() {
            applicationController.Run<IMainMenuPresenter>();
        }
    }
}