diff --git a/eyes-and-ears/eyes-and-ears.sln b/eyes-and-ears/eyes-and-ears.sln deleted file mode 100644 index b06dee6..0000000 --- a/eyes-and-ears/eyes-and-ears.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29709.97 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "eyes-and-ears.wpf", "eyes-and-ears.wpf\eyes-and-ears.wpf.csproj", "{AECFBF65-7B27-4C08-B82A-E665D68D004C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AECFBF65-7B27-4C08-B82A-E665D68D004C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AECFBF65-7B27-4C08-B82A-E665D68D004C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AECFBF65-7B27-4C08-B82A-E665D68D004C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AECFBF65-7B27-4C08-B82A-E665D68D004C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {520BC426-533B-40E1-81AD-99A516658FB6} - EndGlobalSection -EndGlobal diff --git a/eyes-and-ears/eyes-and-ears.wpf/App.xaml b/eyes-and-ears/eyes-and-ears.wpf/App.xaml deleted file mode 100644 index 8707d0c..0000000 --- a/eyes-and-ears/eyes-and-ears.wpf/App.xaml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/eyes-and-ears/eyes-and-ears.wpf/App.xaml.cs b/eyes-and-ears/eyes-and-ears.wpf/App.xaml.cs deleted file mode 100644 index 073ab8a..0000000 --- a/eyes-and-ears/eyes-and-ears.wpf/App.xaml.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Linq; -using System.Threading.Tasks; -using System.Windows; - -namespace eyes_and_ears.wpf { - /// - /// Interaction logic for App.xaml - /// - public partial class App : Application { - } -} diff --git a/eyes-and-ears/eyes-and-ears.wpf/AssemblyInfo.cs b/eyes-and-ears/eyes-and-ears.wpf/AssemblyInfo.cs deleted file mode 100644 index 8b5504e..0000000 --- a/eyes-and-ears/eyes-and-ears.wpf/AssemblyInfo.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.Windows; - -[assembly: ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) -)] diff --git a/eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml b/eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml deleted file mode 100644 index 594de60..0000000 --- a/eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml.cs b/eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml.cs deleted file mode 100644 index 2064d21..0000000 --- a/eyes-and-ears/eyes-and-ears.wpf/MainWindow.xaml.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace eyes_and_ears.wpf { - /// - /// Interaction logic for MainWindow.xaml - /// - public partial class MainWindow : Window { - public MainWindow() { - InitializeComponent(); - } - } -} diff --git a/eyes-and-ears/eyes-and-ears.wpf/eyes-and-ears.wpf.csproj b/eyes-and-ears/eyes-and-ears.wpf/eyes-and-ears.wpf.csproj deleted file mode 100644 index 5e47c18..0000000 --- a/eyes-and-ears/eyes-and-ears.wpf/eyes-and-ears.wpf.csproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - WinExe - netcoreapp3.1 - eyes_and_ears.wpf - true - - - \ No newline at end of file diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP.sln b/src/EyesAndEars.UWP/EyesAndEars.UWP.sln new file mode 100644 index 0000000..8c0141f --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP.sln @@ -0,0 +1,51 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29709.97 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EyesAndEars.UWP", "EyesAndEars.UWP\EyesAndEars.UWP.csproj", "{0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Debug|ARM64 = Debug|ARM64 + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|ARM = Release|ARM + Release|ARM64 = Release|ARM64 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|ARM.ActiveCfg = Debug|ARM + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|ARM.Build.0 = Debug|ARM + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|ARM.Deploy.0 = Debug|ARM + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|ARM64.Build.0 = Debug|ARM64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|ARM64.Deploy.0 = Debug|ARM64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|x64.ActiveCfg = Debug|x64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|x64.Build.0 = Debug|x64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|x64.Deploy.0 = Debug|x64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|x86.ActiveCfg = Debug|x86 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|x86.Build.0 = Debug|x86 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Debug|x86.Deploy.0 = Debug|x86 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|ARM.ActiveCfg = Release|ARM + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|ARM.Build.0 = Release|ARM + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|ARM.Deploy.0 = Release|ARM + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|ARM64.ActiveCfg = Release|ARM64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|ARM64.Build.0 = Release|ARM64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|ARM64.Deploy.0 = Release|ARM64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|x64.ActiveCfg = Release|x64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|x64.Build.0 = Release|x64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|x64.Deploy.0 = Release|x64 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|x86.ActiveCfg = Release|x86 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|x86.Build.0 = Release|x86 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B}.Release|x86.Deploy.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F3E6EBEC-0578-466F-9C2A-A9475D9811A7} + EndGlobalSection +EndGlobal diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/App.xaml b/src/EyesAndEars.UWP/EyesAndEars.UWP/App.xaml new file mode 100644 index 0000000..08db584 --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/App.xaml @@ -0,0 +1,7 @@ + + + diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/App.xaml.cs b/src/EyesAndEars.UWP/EyesAndEars.UWP/App.xaml.cs new file mode 100644 index 0000000..684dc51 --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/App.xaml.cs @@ -0,0 +1,100 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.ApplicationModel; +using Windows.ApplicationModel.Activation; +using Windows.Foundation; +using Windows.Foundation.Collections; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Controls.Primitives; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Windows.UI.Xaml.Navigation; + +namespace EyesAndEars.UWP +{ + /// + /// Provides application-specific behavior to supplement the default Application class. + /// + sealed partial class App : Application + { + /// + /// 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(). + /// + public App() + { + this.InitializeComponent(); + this.Suspending += OnSuspending; + } + + /// + /// Invoked when the application is launched normally by the end user. Other entry points + /// will be used such as when the application is launched to open a specific file. + /// + /// Details about the launch request and process. + protected override void OnLaunched(LaunchActivatedEventArgs e) + { + Frame rootFrame = Window.Current.Content as Frame; + + // Do not repeat app initialization when the Window already has content, + // just ensure that the window is active + if (rootFrame == null) + { + // Create a Frame to act as the navigation context and navigate to the first page + rootFrame = new Frame(); + + rootFrame.NavigationFailed += OnNavigationFailed; + + if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) + { + //TODO: Load state from previously suspended application + } + + // Place the frame in the current Window + Window.Current.Content = rootFrame; + } + + if (e.PrelaunchActivated == false) + { + if (rootFrame.Content == null) + { + // When the navigation stack isn't restored navigate to the first page, + // configuring the new page by passing required information as a navigation + // parameter + rootFrame.Navigate(typeof(MainPage), e.Arguments); + } + // Ensure the current window is active + Window.Current.Activate(); + } + } + + /// + /// Invoked when Navigation to a certain page fails + /// + /// The Frame which failed navigation + /// Details about the navigation failure + void OnNavigationFailed(object sender, NavigationFailedEventArgs e) + { + throw new Exception("Failed to load Page " + e.SourcePageType.FullName); + } + + /// + /// Invoked when application execution is being suspended. Application state is saved + /// without knowing whether the application will be terminated or resumed with the contents + /// of memory still intact. + /// + /// The source of the suspend request. + /// Details about the suspend request. + private void OnSuspending(object sender, SuspendingEventArgs e) + { + var deferral = e.SuspendingOperation.GetDeferral(); + //TODO: Save application state and stop any background activity + deferral.Complete(); + } + } +} diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/LockScreenLogo.scale-200.png b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/LockScreenLogo.scale-200.png new file mode 100644 index 0000000..735f57a Binary files /dev/null and b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/LockScreenLogo.scale-200.png differ diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/SplashScreen.scale-200.png b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/SplashScreen.scale-200.png new file mode 100644 index 0000000..023e7f1 Binary files /dev/null and b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/SplashScreen.scale-200.png differ diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square150x150Logo.scale-200.png b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square150x150Logo.scale-200.png new file mode 100644 index 0000000..af49fec Binary files /dev/null and b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square150x150Logo.scale-200.png differ diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square44x44Logo.scale-200.png b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square44x44Logo.scale-200.png new file mode 100644 index 0000000..ce342a2 Binary files /dev/null and b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square44x44Logo.scale-200.png differ diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png new file mode 100644 index 0000000..f6c02ce Binary files /dev/null and b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/StoreLogo.png b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/StoreLogo.png new file mode 100644 index 0000000..7385b56 Binary files /dev/null and b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/StoreLogo.png differ diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Wide310x150Logo.scale-200.png b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Wide310x150Logo.scale-200.png new file mode 100644 index 0000000..288995b Binary files /dev/null and b/src/EyesAndEars.UWP/EyesAndEars.UWP/Assets/Wide310x150Logo.scale-200.png differ diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/EyesAndEars.UWP.csproj b/src/EyesAndEars.UWP/EyesAndEars.UWP/EyesAndEars.UWP.csproj new file mode 100644 index 0000000..a6d6e87 --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/EyesAndEars.UWP.csproj @@ -0,0 +1,168 @@ + + + + + Debug + x86 + {0AEFB351-EA4D-4ED1-998A-AB0B0792E06B} + AppContainerExe + Properties + EyesAndEars.UWP + EyesAndEars.UWP + en-US + UAP + 10.0.18362.0 + 10.0.18362.0 + 14 + 512 + {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + true + false + + + true + bin\x86\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + x86 + false + prompt + true + + + bin\x86\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + x86 + false + prompt + true + true + + + true + bin\ARM\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + ARM + false + prompt + true + + + bin\ARM\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + ARM + false + prompt + true + true + + + true + bin\ARM64\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + ARM64 + false + prompt + true + true + + + bin\ARM64\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + ARM64 + false + prompt + true + true + + + true + bin\x64\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + x64 + false + prompt + true + + + bin\x64\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + x64 + false + prompt + true + true + + + PackageReference + + + + App.xaml + + + MainPage.xaml + + + + + + Designer + + + + + + + + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + + + 6.2.9 + + + + 14.0 + + + + \ No newline at end of file diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml new file mode 100644 index 0000000..2c39fb5 --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml.cs b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml.cs new file mode 100644 index 0000000..9fdc554 --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/MainPage.xaml.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.Foundation; +using Windows.Foundation.Collections; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Controls.Primitives; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Windows.UI.Xaml.Navigation; + +// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 + +namespace EyesAndEars.UWP +{ + /// + /// An empty page that can be used on its own or navigated to within a Frame. + /// + public sealed partial class MainPage : Page + { + public MainPage() + { + this.InitializeComponent(); + } + } +} diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Package.appxmanifest b/src/EyesAndEars.UWP/EyesAndEars.UWP/Package.appxmanifest new file mode 100644 index 0000000..3084cd0 --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/Package.appxmanifest @@ -0,0 +1,49 @@ + + + + + + + + + + EyesAndEars.UWP + Craig Oates + Assets\StoreLogo.png + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Properties/AssemblyInfo.cs b/src/EyesAndEars.UWP/EyesAndEars.UWP/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..3da156b --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/Properties/AssemblyInfo.cs @@ -0,0 +1,29 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("EyesAndEars.UWP")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("EyesAndEars.UWP")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: ComVisible(false)] \ No newline at end of file diff --git a/src/EyesAndEars.UWP/EyesAndEars.UWP/Properties/Default.rd.xml b/src/EyesAndEars.UWP/EyesAndEars.UWP/Properties/Default.rd.xml new file mode 100644 index 0000000..af00722 --- /dev/null +++ b/src/EyesAndEars.UWP/EyesAndEars.UWP/Properties/Default.rd.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + \ No newline at end of file