mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-25 05:42:47 +01:00
19 lines
580 B
C#
19 lines
580 B
C#
using System;
|
|
using TweetLib.Browser.Base;
|
|
using TweetLib.Browser.Events;
|
|
|
|
namespace TweetLib.Browser.Interfaces {
|
|
public interface IBrowserComponent : IScriptExecutor {
|
|
string Url { get; }
|
|
string CacheFolder { get; }
|
|
|
|
event EventHandler<BrowserLoadedEventArgs> BrowserLoaded;
|
|
event EventHandler<PageLoadEventArgs> PageLoadStart;
|
|
event EventHandler<PageLoadEventArgs> PageLoadEnd;
|
|
|
|
void Setup(BrowserSetup setup);
|
|
void AttachBridgeObject(string name, object bridge);
|
|
void DownloadFile(string url, string path, Action? onSuccess, Action<Exception>? onError);
|
|
}
|
|
}
|