mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
45 lines
1,023 B
C#
45 lines
1,023 B
C#
namespace Flow.Launcher.Plugin.BrowserBookmark.Models
|
|
{
|
|
public class CustomBrowser : BaseModel
|
|
{
|
|
private string _name;
|
|
private string _dataDirectoryPath;
|
|
private BrowserType browserType = BrowserType.Chromium;
|
|
|
|
public string Name
|
|
{
|
|
get => _name;
|
|
set
|
|
{
|
|
_name = value;
|
|
OnPropertyChanged(nameof(Name));
|
|
}
|
|
}
|
|
|
|
public string DataDirectoryPath
|
|
{
|
|
get => _dataDirectoryPath;
|
|
set
|
|
{
|
|
_dataDirectoryPath = value;
|
|
OnPropertyChanged(nameof(DataDirectoryPath));
|
|
}
|
|
}
|
|
|
|
public BrowserType BrowserType
|
|
{
|
|
get => browserType;
|
|
set
|
|
{
|
|
browserType = value;
|
|
OnPropertyChanged(nameof(BrowserType));
|
|
}
|
|
}
|
|
}
|
|
|
|
public enum BrowserType
|
|
{
|
|
Chromium,
|
|
Firefox,
|
|
}
|
|
}
|