Пример #1
0
    public WrapperGenerator(CefApiDeclarations decls)
    {
        this.decls       = decls;
        this.remoteDecls = decls.GetRemoteDeclarations();

        //For Each f In decls.ExportFunctions
        //    f.Signature.FindArrayArguments()
        //Next

        foreach (var t in decls.CefStructTypes)
        {
            if (t.ClassBuilder.Category == StructCategory.ApiCallbacks)
            {
                if (maxCallbackCount < t.ClassBuilder.StructMembers.Count() - 1)
                {
                    maxCallbackCount = t.ClassBuilder.StructMembers.Count() - 1;
                }
            }
            //For Each sm In t.StructMembers
            //    If sm.MemberType.IsCefCallbackType Then
            //        sm.MemberType.AsCefCallbackType.Signature.FindArrayArguments()
            //    End If
            //Next
        }
    }
Пример #2
0
 public WrapperGenerator(CefApiDeclarations decls)
 {
     this.decls = decls;
     CheckForNeededWrapFunctions();
     CheckForStringOutParameters();
     this.remoteDecls = decls.GetRemoteDeclarations();
 }
 public WrapperGenerator(CefApiDeclarations decls)
 {
     this.decls = decls;
     CheckForNeededWrapFunctions();
     CheckForStringOutParameters();
     CfxClientClass.DefineEventHandlerNames(decls.CefStructTypes);
     this.remoteDecls = decls.GetRemoteDeclarations();
 }