Flow.Launcher/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Models/CustomBrowser.cs

46 lines
1,023 B
C#
Raw Normal View History

namespace Flow.Launcher.Plugin.BrowserBookmark.Models
{
public class CustomBrowser : BaseModel
{
2021-09-23 18:32:10 +00:00
private string _name;
private string _dataDirectoryPath;
2023-02-03 05:07:46 +00:00
private BrowserType browserType = BrowserType.Chromium;
2021-09-23 18:32:10 +00:00
public string Name
{
get => _name;
set
{
_name = value;
OnPropertyChanged(nameof(Name));
}
}
2023-02-03 05:07:46 +00:00
2021-09-23 18:32:10 +00:00
public string DataDirectoryPath
{
get => _dataDirectoryPath;
set
{
_dataDirectoryPath = value;
OnPropertyChanged(nameof(DataDirectoryPath));
}
}
2023-02-03 05:07:46 +00:00
public BrowserType BrowserType
{
get => browserType;
set
{
browserType = value;
OnPropertyChanged(nameof(BrowserType));
}
}
}
public enum BrowserType
{
Chromium,
Firefox,
}
2023-02-03 05:07:46 +00:00
}