diff --git a/App.xaml b/App.xaml
index 15a4efed..2df906df 100644
--- a/App.xaml
+++ b/App.xaml
@@ -2,8 +2,19 @@
x:Class="moonlight_xbox_dx.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:moonlight_xbox_dx">
+ xmlns:local="using:moonlight_xbox_dx"
+ xmlns:controls="using:Microsoft.UI.Xaml.Controls">
+
-
+
+
+
+
+
+
+
+
+
+
diff --git a/App.xaml.cpp b/App.xaml.cpp
index e25e67e8..a7ee16c0 100644
--- a/App.xaml.cpp
+++ b/App.xaml.cpp
@@ -1,11 +1,15 @@
-//
+//
// App.xaml.cpp
// Implementation of the App class.
//
#include "pch.h"
+#define MLOG_TAG_OVERRIDE "App"
#include
-#include "MoonlightWelcome.xaml.h"
+#include "UI\Pages\MoonlightWelcome.xaml.h"
+#include "UI\Pages\MoonlightSettings.xaml.h"
+#include "UI\Utilities\XamlHelpers.h"
+#include "UI\Utilities\ToastService.h"
using namespace moonlight_xbox_dx;
@@ -23,6 +27,10 @@ using namespace Windows::UI::Xaml::Input;
using namespace Windows::UI::Xaml::Interop;
using namespace Windows::UI::Xaml::Media;
using namespace Windows::UI::Xaml::Navigation;
+using namespace Windows::UI::Xaml::Media::Animation;
+
+static Windows::UI::Xaml::Controls::Frame^ s_rootFrame = nullptr;
+
///
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
@@ -30,10 +38,36 @@ using namespace Windows::UI::Xaml::Navigation;
App::App()
{
InitializeComponent();
+ Utils::InitFileLogging();
+ Utils::InstallCrashHandlers();
RequiresPointerMode = Windows::UI::Xaml::ApplicationRequiresPointerMode::WhenRequested;
Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending);
Resuming += ref new EventHandler