aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-02-10 15:30:37 -0500
committerAndrew Lee <alee14498@protonmail.com>2021-02-10 15:30:37 -0500
commit7940cebbb91ab947ee9306e01371669dab60b09a (patch)
tree0d498d7a8d976c13e6e5adc588169758a84225cb
parentaefa631ff3f648060f5c0fe5d51aee89e3898a85 (diff)
downloaderable-godot-7940cebbb91ab947ee9306e01371669dab60b09a.tar.gz
erable-godot-7940cebbb91ab947ee9306e01371669dab60b09a.tar.bz2
erable-godot-7940cebbb91ab947ee9306e01371669dab60b09a.zip
Licensed the files
-rw-r--r--Erable/App.axaml.cs20
-rw-r--r--Erable/DiscordRPC.cs20
-rw-r--r--Erable/Program.cs25
-rw-r--r--Erable/ViewLocator.cs19
-rw-r--r--Erable/ViewModels/MainWindowViewModel.cs21
-rw-r--r--Erable/ViewModels/ViewModelBase.cs21
-rw-r--r--Erable/Views/About.axaml.cs19
-rw-r--r--Erable/Views/MainWindow.axaml.cs19
-rw-r--r--Erable/Views/MessageBox.axaml.cs19
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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
+
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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
+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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
+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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
+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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
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 <https://www.gnu.org/licenses/>.
+ *
+ ************************************************************************/
using System.Threading.Tasks;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;