From 7940cebbb91ab947ee9306e01371669dab60b09a Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 10 Feb 2021 15:30:37 -0500 Subject: Licensed the files --- Erable/App.axaml.cs | 20 ++++++++++++++++++++ Erable/DiscordRPC.cs | 20 ++++++++++++++++++++ Erable/Program.cs | 25 +++++++++++++++++++++---- Erable/ViewLocator.cs | 19 +++++++++++++++++++ Erable/ViewModels/MainWindowViewModel.cs | 21 ++++++++++++++++++++- Erable/ViewModels/ViewModelBase.cs | 21 ++++++++++++++++++++- Erable/Views/About.axaml.cs | 19 +++++++++++++++++++ Erable/Views/MainWindow.axaml.cs | 19 +++++++++++++++++++ Erable/Views/MessageBox.axaml.cs | 19 +++++++++++++++++++ 9 files changed, 177 insertions(+), 6 deletions(-) diff --git a/Erable/App.axaml.cs b/Erable/App.axaml.cs index addd072..50a754c 100644 --- a/Erable/App.axaml.cs +++ b/Erable/App.axaml.cs @@ -1,3 +1,22 @@ +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; @@ -10,6 +29,7 @@ namespace Erable { public override void Initialize() { + DiscordRpc.Initialize(); AvaloniaXamlLoader.Load(this); } diff --git a/Erable/DiscordRPC.cs b/Erable/DiscordRPC.cs index 0237934..5fa7360 100644 --- a/Erable/DiscordRPC.cs +++ b/Erable/DiscordRPC.cs @@ -1,3 +1,23 @@ +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ + using System; using DiscordRPC; using DiscordRPC.Logging; diff --git a/Erable/Program.cs b/Erable/Program.cs index 9999bee..f261e40 100644 --- a/Erable/Program.cs +++ b/Erable/Program.cs @@ -1,4 +1,23 @@ -using System; +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ +using System; using Avalonia; using Avalonia.ReactiveUI; @@ -19,9 +38,7 @@ namespace Erable Console.WriteLine("Running on .NET " + Environment.Version + ", and " + Environment.OSVersion); Console.WriteLine("Opening window..."); #endif - - DiscordRpc.Initialize(); - + BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); } diff --git a/Erable/ViewLocator.cs b/Erable/ViewLocator.cs index 0a6eb01..aebaf72 100644 --- a/Erable/ViewLocator.cs +++ b/Erable/ViewLocator.cs @@ -1,3 +1,22 @@ +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ using System; using Avalonia.Controls; using Avalonia.Controls.Templates; diff --git a/Erable/ViewModels/MainWindowViewModel.cs b/Erable/ViewModels/MainWindowViewModel.cs index c99dfc2..6912e17 100644 --- a/Erable/ViewModels/MainWindowViewModel.cs +++ b/Erable/ViewModels/MainWindowViewModel.cs @@ -1,4 +1,23 @@ -using System; +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ +using System; using System.Threading; using Avalonia.Controls; using Erable.Views; diff --git a/Erable/ViewModels/ViewModelBase.cs b/Erable/ViewModels/ViewModelBase.cs index 6ab8d21..81e9fff 100644 --- a/Erable/ViewModels/ViewModelBase.cs +++ b/Erable/ViewModels/ViewModelBase.cs @@ -1,4 +1,23 @@ -using System; +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ +using System; using System.Collections.Generic; using System.Text; using ReactiveUI; diff --git a/Erable/Views/About.axaml.cs b/Erable/Views/About.axaml.cs index d3d2846..5079b54 100644 --- a/Erable/Views/About.axaml.cs +++ b/Erable/Views/About.axaml.cs @@ -1,3 +1,22 @@ +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ using System; using Avalonia; using Avalonia.Controls; diff --git a/Erable/Views/MainWindow.axaml.cs b/Erable/Views/MainWindow.axaml.cs index f849f26..e9ae5dc 100644 --- a/Erable/Views/MainWindow.axaml.cs +++ b/Erable/Views/MainWindow.axaml.cs @@ -1,3 +1,22 @@ +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ using System; using Avalonia; using Avalonia.Controls; diff --git a/Erable/Views/MessageBox.axaml.cs b/Erable/Views/MessageBox.axaml.cs index 6d8b6d9..fd386aa 100644 --- a/Erable/Views/MessageBox.axaml.cs +++ b/Erable/Views/MessageBox.axaml.cs @@ -1,3 +1,22 @@ +/********************************************************************** + * + * Erable: Audio Player + * Copyright (C) 2021 Alee Productions + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + ************************************************************************/ using System.Threading.Tasks; using Avalonia.Controls; using Avalonia.Markup.Xaml; -- cgit v1.2.3