summaryrefslogtreecommitdiff
path: root/src/Notepad/Presentation/Presenters/Shell/MainShellPresenter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Notepad/Presentation/Presenters/Shell/MainShellPresenter.cs')
-rw-r--r--src/Notepad/Presentation/Presenters/Shell/MainShellPresenter.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Notepad/Presentation/Presenters/Shell/MainShellPresenter.cs b/src/Notepad/Presentation/Presenters/Shell/MainShellPresenter.cs
new file mode 100644
index 0000000..1406be0
--- /dev/null
+++ b/src/Notepad/Presentation/Presenters/Shell/MainShellPresenter.cs
@@ -0,0 +1,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>();
+ }
+ }
+} \ No newline at end of file