28 lines
674 B
C#
28 lines
674 B
C#
namespace Cef3
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Runtime.InteropServices;
|
|
using Cef3.Interop;
|
|
|
|
/// <summary>
|
|
/// Implement this interface to receive string values asynchronously.
|
|
/// </summary>
|
|
public abstract unsafe partial class CefStringVisitor
|
|
{
|
|
private void visit(cef_string_visitor_t* self, cef_string_t* @string)
|
|
{
|
|
CheckSelf(self);
|
|
|
|
Visit(cef_string_t.ToString(@string));
|
|
}
|
|
|
|
/// <summary>
|
|
/// Method that will be executed.
|
|
/// </summary>
|
|
protected abstract void Visit(string value);
|
|
|
|
}
|
|
}
|