diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-02-01 20:08:04 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-02-01 20:08:04 -0500 |
| commit | 7928a72c77e2495558a8d08dae8ba651954c1e45 (patch) | |
| tree | 29510b8e79268cb48850e2ec541ffec62af278ee /ViewModels | |
| parent | 204c9a1cbaa4f258c374a49ad1a033dde5cf06ab (diff) | |
| download | erable-godot-7928a72c77e2495558a8d08dae8ba651954c1e45.tar.gz erable-godot-7928a72c77e2495558a8d08dae8ba651954c1e45.tar.bz2 erable-godot-7928a72c77e2495558a8d08dae8ba651954c1e45.zip | |
Name change
Diffstat (limited to 'ViewModels')
| -rw-r--r-- | ViewModels/MainWindowViewModel.cs | 11 | ||||
| -rw-r--r-- | ViewModels/ViewModelBase.cs | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/ViewModels/MainWindowViewModel.cs b/ViewModels/MainWindowViewModel.cs index e1f86e3..0c51fbd 100644 --- a/ViewModels/MainWindowViewModel.cs +++ b/ViewModels/MainWindowViewModel.cs @@ -1,13 +1,14 @@ using System;
using System.Collections.Generic;
using System.Text;
+using Avalonia.Controls;
using Gst;
-namespace AleeAudioPlayer.ViewModels
+namespace Erable.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
- public string Greeting => "Welcome to Alee Audio Player!";
+ public string Greeting => "Welcome to Erable Audio Player!";
public void PlayFunction(string[] args)
{
@@ -25,5 +26,11 @@ namespace AleeAudioPlayer.ViewModels // Free resources
//pipeline.SetState (State.Null);
}
+
+ public void BrowseFunction()
+ {
+ //OpenFileDialog dialog = new OpenFileDialog();
+ //dialog.Filters.Add(new FileDialogFilter() {Name = "Audio Files", Extensions = {"mp3"}});
+ }
}
}
diff --git a/ViewModels/ViewModelBase.cs b/ViewModels/ViewModelBase.cs index 11bbf94..6ab8d21 100644 --- a/ViewModels/ViewModelBase.cs +++ b/ViewModels/ViewModelBase.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text;
using ReactiveUI;
-namespace AleeAudioPlayer.ViewModels
+namespace Erable.ViewModels
{
public class ViewModelBase : ReactiveObject
{
|
