1234567891011121314151617181920212223242526 |
- namespace Xilium.CefGlue
- {
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Runtime.InteropServices;
- using Xilium.CefGlue.Interop;
-
- /// <summary>
- /// Generic callback interface used for asynchronous completion.
- /// </summary>
- public abstract unsafe partial class CefCompletionCallback
- {
- private void on_complete(cef_completion_callback_t* self)
- {
- CheckSelf(self);
- OnComplete();
- }
-
- /// <summary>
- /// Method that will be called once the task is complete.
- /// </summary>
- protected abstract void OnComplete();
- }
- }
|