CefSchemeRegistrar.g.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // DO NOT MODIFY! THIS IS AUTOGENERATED FILE!
  3. //
  4. namespace Xilium.CefGlue
  5. {
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Diagnostics;
  9. using System.Runtime.InteropServices;
  10. using System.Threading;
  11. using Xilium.CefGlue.Interop;
  12. // Role: PROXY
  13. public sealed unsafe partial class CefSchemeRegistrar
  14. {
  15. internal static CefSchemeRegistrar FromNative(cef_scheme_registrar_t* ptr)
  16. {
  17. return new CefSchemeRegistrar(ptr);
  18. }
  19. internal static CefSchemeRegistrar FromNativeOrNull(cef_scheme_registrar_t* ptr)
  20. {
  21. if (ptr == null) return null;
  22. return new CefSchemeRegistrar(ptr);
  23. }
  24. private cef_scheme_registrar_t* _self;
  25. private int _disposed = 0;
  26. private CefSchemeRegistrar(cef_scheme_registrar_t* ptr)
  27. {
  28. if (ptr == null) throw new ArgumentNullException("ptr");
  29. _self = ptr;
  30. }
  31. // FIXME: code for CefBaseScoped is not generated
  32. internal cef_scheme_registrar_t* ToNative()
  33. {
  34. return _self;
  35. }
  36. }
  37. }