2022-03-13 22:47:30 +00:00
|
|
|
using System;
|
|
|
|
using System.Reactive.Subjects;
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
namespace Wabbajack.Models;
|
|
|
|
|
|
|
|
public class CefService
|
|
|
|
{
|
|
|
|
private readonly ILogger<CefService> _logger;
|
|
|
|
private bool Inited { get; set; } = false;
|
|
|
|
|
|
|
|
private readonly Subject<string> _schemeStream = new();
|
|
|
|
public IObservable<string> SchemeStream => _schemeStream;
|
|
|
|
|
|
|
|
public CefService(ILogger<CefService> logger)
|
|
|
|
{
|
|
|
|
_logger = logger;
|
|
|
|
Inited = false;
|
|
|
|
Init();
|
|
|
|
}
|
|
|
|
|
2022-03-13 23:08:27 +00:00
|
|
|
public dynamic CreateBrowser()
|
2022-03-13 22:47:30 +00:00
|
|
|
{
|
2022-03-13 23:08:27 +00:00
|
|
|
return 0;
|
2022-03-13 22:47:30 +00:00
|
|
|
}
|
|
|
|
private void Init()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2022-03-13 23:08:27 +00:00
|
|
|
|
2022-03-13 22:47:30 +00:00
|
|
|
}
|