init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cef3.Interop;
|
||||
|
||||
/// <summary>
|
||||
/// Interface to implement to be notified of asynchronous completion via
|
||||
/// CefCookieManager::SetCookie().
|
||||
/// </summary>
|
||||
public abstract unsafe partial class CefSetCookieCallback
|
||||
{
|
||||
private void on_complete(cef_set_cookie_callback_t* self, int success)
|
||||
{
|
||||
CheckSelf(self);
|
||||
OnComplete(success != 0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Method that will be called upon completion. |success| will be true if the
|
||||
/// cookie was set successfully.
|
||||
/// </summary>
|
||||
protected abstract void OnComplete(bool success);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user