// public sealed class UxProperty<T> :36
// {
::g::Uno::UX::Property_type* UxProperty_typeof()
{
    static uSStrong< ::g::Uno::UX::Property_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 6;
    options.GenericCount = 1;
    options.ObjectSize = sizeof(UxProperty);
    options.TypeSize = sizeof(::g::Uno::UX::Property_type);
    type = (::g::Uno::UX::Property_type*)uClassType::New("Outracks.Simulator.Runtime.UxProperty`1", options);
    type->SetBase(::g::Uno::UX::Property_typeof()->MakeType(type->T(0)));
    type->fp_OnAddListener = (void(*)(::g::Uno::UX::Property*, uDelegate*))UxProperty__OnAddListener_fn;
    type->fp_OnGet = (void(*)(::g::Uno::UX::Property*, uTRef))UxProperty__OnGet_fn;
    type->fp_OnRemoveListener = (void(*)(::g::Uno::UX::Property*, uDelegate*))UxProperty__OnRemoveListener_fn;
    type->fp_OnSet = (void(*)(::g::Uno::UX::Property*, void*, uObject*))UxProperty__OnSet_fn;
    ::TYPES[0] = ::g::Uno::Delegate_typeof();
    ::TYPES[1] = ::g::Uno::Action1_typeof()->MakeType(uObject_typeof());
    ::TYPES[2] = uObject_typeof();
    ::TYPES[3] = ::g::Uno::Func_typeof()->MakeType(uObject_typeof());
    ::TYPES[4] = ::g::Uno::Action2_typeof()->MakeType(uObject_typeof(), uObject_typeof());
    type->SetFields(2,
        ::g::Uno::Action1_typeof()->MakeType(uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxProperty, _adder), 0,
        ::g::Uno::Func_typeof()->MakeType(uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxProperty, _getter), 0,
        ::g::Uno::Action1_typeof()->MakeType(uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxProperty, _remover), 0,
        ::g::Uno::Action2_typeof()->MakeType(uObject_typeof(), uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxProperty, _setter), 0);
    type->Reflection.SetFunctions(1,
        new uFunction(".ctor", type, (void*)UxProperty__New1_fn, 0, true, type, 4, ::g::Uno::Action2_typeof()->MakeType(uObject_typeof(), uObject_typeof()), ::g::Uno::Func_typeof()->MakeType(uObject_typeof()), ::g::Uno::Action1_typeof()->MakeType(uObject_typeof()), ::g::Uno::Action1_typeof()->MakeType(uObject_typeof())));
    return type;
}
Beispiel #2
0
void uRegisterIntrinsics()
{
    uObject_typeof()->Reflection.SetFunctions(3,
        new uFunction("Equals", NULL, NULL, offsetof(uType, fp_Equals), false, ::g::Uno::Bool_typeof(), 1, uObject_typeof()),
        new uFunction("GetHashCode", NULL, NULL, offsetof(uType, fp_GetHashCode), false, ::g::Uno::Int_typeof()),
        new uFunction("ToString", NULL, NULL, offsetof(uType, fp_ToString), false, ::g::Uno::String_typeof()));

    uRegisterType(uObject_typeof());
    uRegisterType(uVoid_typeof());
}
uClassType* Debug_typeof()
{
    static uSStrong<uClassType*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 3;
    options.TypeSize = sizeof(uClassType);
    type = uClassType::New("Uno.Diagnostics.Debug", options);
    type->fp_cctor_ = Debug__cctor__fn;
    ::STRINGS[0] = uString::Const("");
    ::STRINGS[1] = uString::Const("Assertion Failed: '");
    ::STRINGS[2] = uString::Const("' in ");
    ::STRINGS[3] = uString::Const("(");
    ::STRINGS[4] = uString::Const(")");
    ::TYPES[0] = ::g::Uno::Delegate_typeof();
    ::TYPES[1] = ::g::Uno::Diagnostics::AssertionHandler_typeof();
    ::TYPES[2] = ::g::Uno::Bool_typeof();
    ::TYPES[3] = uObject_typeof();
    ::TYPES[4] = ::g::Uno::Diagnostics::LogHandler_typeof();
    ::TYPES[5] = ::g::Uno::String_typeof();
    type->SetFields(0,
        ::g::Uno::Diagnostics::AssertionHandler_typeof(), (uintptr_t)&::g::Uno::Diagnostics::Debug::_assertionHandler_, uFieldFlagsStatic,
        ::g::Uno::String_typeof(), (uintptr_t)&::g::Uno::Diagnostics::Debug::_indentStr_, uFieldFlagsStatic,
        ::g::Uno::Diagnostics::LogHandler_typeof(), (uintptr_t)&::g::Uno::Diagnostics::Debug::_logHandler_, uFieldFlagsStatic);
    return type;
}
JWrapper_type* JWrapper_typeof()
{
    static uSStrong<JWrapper_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 5;
    options.InterfaceCount = 2;
    options.ObjectSize = sizeof(JWrapper);
    options.TypeSize = sizeof(JWrapper_type);
    type = (JWrapper_type*)uClassType::New("Android.Base.Wrappers.JWrapper", options);
    type->fp_Finalize = (void(*)(uObject*))JWrapper__Finalize_fn;
    type->interface1.fp_Dispose = (void(*)(uObject*))JWrapper__Uno_IDisposable_Dispose_fn;
    type->interface0.fp__GetJavaObject = (void(*)(uObject*, jobject*))JWrapper___GetJavaObject_fn;
    type->interface0.fp__IsSubclassed = (void(*)(uObject*, bool*))JWrapper___IsSubclassed_fn;
    ::TYPES[0] = ::g::Uno::Bool_typeof();
    ::TYPES[1] = uObject_typeof();
    ::TYPES[2] = ::g::Uno::Int_typeof();
    type->SetInterfaces(
        ::g::Android::Base::Wrappers::IJWrapper_typeof(), offsetof(JWrapper_type, interface0),
        ::g::Uno::IDisposable_typeof(), offsetof(JWrapper_type, interface1));
    type->SetFields(0,
        ::g::Uno::String_typeof(), offsetof(::g::Android::Base::Wrappers::JWrapper, _javaClassName), 0,
        ::g::Android::Base::Primitives::ujobject_typeof(), offsetof(::g::Android::Base::Wrappers::JWrapper, _javaObject), 0,
        ::g::Uno::Bool_typeof(), offsetof(::g::Android::Base::Wrappers::JWrapper, _subclassed), 0,
        ::g::Android::Base::Primitives::uweakptr_typeof(), offsetof(::g::Android::Base::Wrappers::JWrapper, _weakptr), 0,
        ::g::Uno::Bool_typeof(), offsetof(::g::Android::Base::Wrappers::JWrapper, disposed), 0);
    return type;
}
uClassType* NameRegistry_typeof()
{
    static uSStrong<uClassType*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 2;
    options.TypeSize = sizeof(uClassType);
    type = uClassType::New("Fuse.Scripting.NameRegistry", options);
    type->fp_cctor_ = NameRegistry__cctor__fn;
    ::TYPES[0] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(uObject_typeof(), ::g::Uno::String_typeof());
    ::TYPES[1] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Scripting::INameListener_typeof()));
    ::TYPES[2] = ::g::Fuse::Scripting::INameListener_typeof()->Array();
    type->SetFields(0,
        ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), ::g::Uno::Collections::List_typeof()->MakeType(::g::Fuse::Scripting::INameListener_typeof())), (uintptr_t)&::g::Fuse::Scripting::NameRegistry::_listeners_, uFieldFlagsStatic,
        ::g::Uno::Collections::Dictionary_typeof()->MakeType(uObject_typeof(), ::g::Uno::String_typeof()), (uintptr_t)&::g::Fuse::Scripting::NameRegistry::_names_, uFieldFlagsStatic);
    return type;
}
// public sealed class UxFactory :10
// {
::g::Uno::UX::Factory_type* UxFactory_typeof()
{
    static uSStrong< ::g::Uno::UX::Factory_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 3;
    options.ObjectSize = sizeof(UxFactory);
    options.TypeSize = sizeof(::g::Uno::UX::Factory_type);
    type = (::g::Uno::UX::Factory_type*)uClassType::New("Outracks.Simulator.Runtime.UxFactory", options);
    type->SetBase(::g::Uno::UX::Factory_typeof());
    type->fp_New1 = (void(*)(::g::Uno::UX::Factory*, uObject**))UxFactory__New1_fn;
    ::TYPES[0] = ::g::Uno::Func_typeof()->MakeType(uObject_typeof());
    type->SetFields(2,
        ::g::Uno::Func_typeof()->MakeType(uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxFactory, _create), 0);
    type->Reflection.SetFunctions(1,
        new uFunction(".ctor", NULL, (void*)UxFactory__New2_fn, 0, true, UxFactory_typeof(), 3, ::g::Uno::Func_typeof()->MakeType(uObject_typeof()), ::g::Uno::String_typeof(), ::g::Uno::Bool_typeof()));
    return type;
}
uClassType* PreloadedResources_typeof()
{
    static uSStrong<uClassType*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 1;
    options.MethodTypeCount = 1;
    options.TypeSize = sizeof(uClassType);
    type = uClassType::New("Fuse.Entities.Designer.PreloadedResources", options);
    type->fp_cctor_ = PreloadedResources__cctor__fn;
    ::TYPES[2] = ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), uObject_typeof());
    ::TYPES[3] = uObject_typeof();
    type->SetFields(0,
        ::g::Uno::Collections::Dictionary_typeof()->MakeType(::g::Uno::String_typeof(), uObject_typeof()), (uintptr_t)&::g::Fuse::Entities::Designer::PreloadedResources::resources_, uFieldFlagsStatic);
    type->Reflection.SetFunctions(2,
        new uFunction("Add`1", type, (void*)PreloadedResources__Add_fn, 0, true, type->U(0), 2, ::g::Uno::String_typeof(), type->U(0)),
        new uFunction("Get", NULL, (void*)PreloadedResources__Get_fn, 0, true, uObject_typeof(), 1, ::g::Uno::String_typeof()));
    return type;
}
// public abstract interface IField :7
// {
uInterfaceType* IField_typeof()
{
    static uSStrong<uInterfaceType*> type;
    if (type != NULL) return type;

    type = uInterfaceType::New("Uno.Reflection.IField", 0, 0);
    type->Reflection.SetFunctions(2,
        new uFunction("GetValue", NULL, NULL, offsetof(IField, fp_GetValue), false, uObject_typeof(), 1, uObject_typeof()),
        new uFunction("SetValue", NULL, NULL, offsetof(IField, fp_SetValue), false, uVoid_typeof(), 2, uObject_typeof(), uObject_typeof()));
    return type;
}
// public abstract interface IFunction :18
// {
uInterfaceType* IFunction_typeof()
{
    static uSStrong<uInterfaceType*> type;
    if (type != NULL) return type;

    type = uInterfaceType::New("Uno.Reflection.IFunction", 0, 0);
    type->Reflection.SetFunctions(3,
        new uFunction("CreateDelegate", NULL, NULL, offsetof(IFunction, fp_CreateDelegate), false, ::g::Uno::Delegate_typeof(), 2, ::g::Uno::Type_typeof(), uObject_typeof()),
        new uFunction("Invoke", NULL, NULL, offsetof(IFunction, fp_Invoke), false, uObject_typeof(), 2, uObject_typeof(), uObject_typeof()->Array()),
        new uFunction("get_ParameterTypes", NULL, NULL, offsetof(IFunction, fp_get_ParameterTypes), false, ::g::Uno::Type_typeof()->Array(), 0));
    return type;
}
// public sealed class UxFactory :10
// {
UxFactory_type* UxFactory_typeof()
{
    static uSStrong<UxFactory_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 1;
    options.InterfaceCount = 1;
    options.ObjectSize = sizeof(UxFactory);
    options.TypeSize = sizeof(UxFactory_type);
    type = (UxFactory_type*)uClassType::New("Outracks.Simulator.Runtime.UxFactory", options);
    type->interface0.fp_New1 = (void(*)(uObject*, uObject**))UxFactory__New1_fn;
    ::TYPES[0] = ::g::Uno::Func_typeof()->MakeType(uObject_typeof());
    type->SetInterfaces(
        ::g::Uno::UX::IFactory_typeof(), offsetof(UxFactory_type, interface0));
    type->SetFields(0,
        ::g::Uno::Func_typeof()->MakeType(uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxFactory, _create), 0);
    type->Reflection.SetFunctions(2,
        new uFunction("New", NULL, (void*)UxFactory__New1_fn, 0, false, uObject_typeof(), 0),
        new uFunction(".ctor", NULL, (void*)UxFactory__New2_fn, 0, true, UxFactory_typeof(), 1, ::g::Uno::Func_typeof()->MakeType(uObject_typeof())));
    return type;
}
// public delegate void AssertionHandler(bool value, string expression, string filename, int line, object[] operands) :64
uDelegateType* AssertionHandler_typeof()
{
    static uSStrong<uDelegateType*> type;
    if (type != NULL) return type;

    type = uDelegateType::New("Uno.Diagnostics.AssertionHandler", 5, 0);
    type->SetSignature(uVoid_typeof(),
        ::g::Uno::Bool_typeof(),
        ::g::Uno::String_typeof(),
        ::g::Uno::String_typeof(),
        ::g::Uno::Int_typeof(),
        uObject_typeof()->Array());
    return type;
}
Beispiel #12
0
// public abstract class TextReader :2207
// {
TextReader_type* TextReader_typeof()
{
    static uSStrong<TextReader_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.InterfaceCount = 1;
    options.ObjectSize = sizeof(TextReader);
    options.TypeSize = sizeof(TextReader_type);
    type = (TextReader_type*)uClassType::New("Uno.IO.TextReader", options);
    type->fp_Dispose1 = TextReader__Dispose1_fn;
    type->interface0.fp_Dispose = (void(*)(uObject*))TextReader__Dispose_fn;
    ::TYPES[7] = uObject_typeof();
    type->SetInterfaces(
        ::g::Uno::IDisposable_typeof(), offsetof(TextReader_type, interface0));
    return type;
}
// internal sealed class MyFirstProject_FuseReactiveEach_object_Items_Property :10
// {
::g::Uno::UX::Property_type* MyFirstProject_FuseReactiveEach_object_Items_Property_typeof()
{
    static uSStrong< ::g::Uno::UX::Property_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 3;
    options.ObjectSize = sizeof(MyFirstProject_FuseReactiveEach_object_Items_Property);
    options.TypeSize = sizeof(::g::Uno::UX::Property_type);
    type = (::g::Uno::UX::Property_type*)uClassType::New("MyFirstProject_FuseReactiveEach_object_Items_Property", options);
    type->SetBase(::g::Uno::UX::Property_typeof()->MakeType(uObject_typeof()));
    type->fp_OnGet = (void(*)(::g::Uno::UX::Property*, uTRef))MyFirstProject_FuseReactiveEach_object_Items_Property__OnGet_fn;
    type->fp_OnSet = (void(*)(::g::Uno::UX::Property*, void*, uObject*))MyFirstProject_FuseReactiveEach_object_Items_Property__OnSet_fn;
    ::TYPES[0] = ::g::Fuse::Reactive::Each_typeof();
    type->SetFields(2,
        ::g::Fuse::Reactive::Each_typeof(), offsetof(::g::MyFirstProject_FuseReactiveEach_object_Items_Property, _obj), 0);
    return type;
}
Beispiel #14
0
::g::Uno::UX::Factory_type* NativeStyle__Template1__Factory_typeof()
{
    static uSStrong< ::g::Uno::UX::Factory_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 3;
    options.ObjectSize = sizeof(NativeStyle__Template1__Factory);
    options.TypeSize = sizeof(::g::Uno::UX::Factory_type);
    type = (::g::Uno::UX::Factory_type*)uClassType::New("Fuse.Desktop.NativeStyle.Template1.Factory", options);
    type->SetBase(::g::Uno::UX::Factory_typeof());
    type->fp_cctor_ = NativeStyle__Template1__Factory__cctor__fn;
    type->fp_New1 = (void(*)(::g::Uno::UX::Factory*, uObject**))NativeStyle__Template1__Factory__New1_fn;
    ::TYPES[9] = uObject_typeof();
    type->SetFields(2,
        ::g::Fuse::Desktop::NativeStyle__Template1_typeof(), offsetof(::g::Fuse::Desktop::NativeStyle__Template1__Factory, __parent1), 0);
    type->Reflection.SetFunctions(1,
        new uFunction(".ctor", NULL, (void*)NativeStyle__Template1__Factory__New2_fn, 0, true, NativeStyle__Template1__Factory_typeof(), 1, ::g::Fuse::Desktop::NativeStyle__Template1_typeof()));
    return type;
}
// public sealed class Stopwatch :92
// {
::g::Fuse::Scripting::NativeModule_type* Stopwatch_typeof()
{
    static uSStrong< ::g::Fuse::Scripting::NativeModule_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 8;
    options.InterfaceCount = 1;
    options.ObjectSize = sizeof(Stopwatch);
    options.TypeSize = sizeof(::g::Fuse::Scripting::NativeModule_type);
    type = (::g::Fuse::Scripting::NativeModule_type*)uClassType::New("Stopwatch", options);
    type->SetBase(::g::Fuse::Scripting::NativeModule_typeof());
    type->fp_ctor_ = (void*)Stopwatch__New2_fn;
    type->interface0.fp_get_Code = (void(*)(uObject*, uString**))::g::Fuse::Scripting::NativeModule__FuseScriptingIModuleget_Code_fn;
    type->interface0.fp_get_FileName = (void(*)(uObject*, uString**))::g::Fuse::Scripting::NativeModule__FuseScriptingIModuleget_FileName_fn;
    type->interface0.fp_get_LineNumberOffset = (void(*)(uObject*, int*))::g::Fuse::Scripting::NativeModule__FuseScriptingIModuleget_LineNumberOffset_fn;
    type->interface0.fp_Evaluate = (void(*)(uObject*, uString*, ::g::Fuse::Scripting::Context*, uObject**))::g::Fuse::Scripting::NativeModule__Evaluate_fn;
    ::STRINGS[0] = uString::Const("Start");
    ::STRINGS[1] = uString::Const("Stop");
    ::STRINGS[2] = uString::Const("Pause");
    ::STRINGS[3] = uString::Const("GetSeconds");
    ::TYPES[0] = ::g::Fuse::Scripting::NativeMember_typeof()->Array();
    ::TYPES[1] = ::g::Fuse::Scripting::NativeMember_typeof();
    ::TYPES[2] = ::g::Fuse::Scripting::NativeCallback_typeof();
    ::TYPES[3] = uObject_typeof();
    ::TYPES[4] = ::g::Uno::Bool_typeof();
    ::TYPES[5] = ::g::Uno::Action_typeof();
    ::TYPES[6] = ::g::Uno::Delegate_typeof();
    ::TYPES[7] = ::g::StopwatchTickHandler_typeof();
    type->SetInterfaces(
        ::g::Fuse::Scripting::IModule_typeof(), offsetof(::g::Fuse::Scripting::NativeModule_type, interface0));
    type->SetFields(3,
        ::g::Uno::Double_typeof(), offsetof(::g::Stopwatch, _ellapsedSeconds), 0,
        ::g::Uno::Bool_typeof(), offsetof(::g::Stopwatch, _isPaused), 0,
        ::g::Uno::Double_typeof(), offsetof(::g::Stopwatch, _lastTick), 0,
        ::g::Uno::Bool_typeof(), offsetof(::g::Stopwatch, _subscribedToUpdate), 0,
        ::g::StopwatchTickHandler_typeof(), offsetof(::g::Stopwatch, Ticked1), 0);
    return type;
}
CppField_type* CppField_typeof()
{
    static uSStrong<CppField_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.InterfaceCount = 1;
    options.ValueSize = sizeof(uField*);
    options.TypeSize = sizeof(CppField_type);
    type = (CppField_type*)uStructType::New("Uno.Reflection.CppField", options);
    type->interface0.fp_GetValue = CppField__GetValue_ex;
    type->interface0.fp_SetValue = CppField__SetValue_ex;
    type->SetInterfaces(
        ::g::Uno::Reflection::IField_typeof(), offsetof(CppField_type, interface0));
    type->Reflection.SetFunctions(5,
        new uFunction("GetValue", NULL, (void*)CppField__GetValue_fn, 0, false, uObject_typeof(), 1, uObject_typeof()),
        new uFunction("get_IsNull", NULL, (void*)CppField__get_IsNull_fn, 0, false, ::g::Uno::Bool_typeof(), 0),
        new uFunction("get_Name", NULL, (void*)CppField__get_Name_fn, 0, false, ::g::Uno::String_typeof(), 0),
        new uFunction("get_Null", NULL, (void*)CppField__get_Null_fn, 0, true, CppField_typeof(), 0),
        new uFunction("SetValue", NULL, (void*)CppField__SetValue_fn, 0, false, uVoid_typeof(), 2, uObject_typeof(), uObject_typeof()));
    return type;
}
CppFunction_type* CppFunction_typeof()
{
    static uSStrong<CppFunction_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.InterfaceCount = 1;
    options.ValueSize = sizeof(uFunction*);
    options.TypeSize = sizeof(CppFunction_type);
    type = (CppFunction_type*)uStructType::New("Uno.Reflection.CppFunction", options);
    type->interface0.fp_CreateDelegate = CppFunction__CreateDelegate_ex;
    type->interface0.fp_Invoke = CppFunction__Invoke_ex;
    type->interface0.fp_get_ParameterTypes = CppFunction__get_ParameterTypes_ex;
    type->SetInterfaces(
        ::g::Uno::Reflection::IFunction_typeof(), offsetof(CppFunction_type, interface0));
    type->Reflection.SetFunctions(5,
        new uFunction("CreateDelegate", NULL, (void*)CppFunction__CreateDelegate_fn, 0, false, ::g::Uno::Delegate_typeof(), 2, ::g::Uno::Type_typeof(), uObject_typeof()),
        new uFunction("Invoke", NULL, (void*)CppFunction__Invoke_fn, 0, false, uObject_typeof(), 2, uObject_typeof(), uObject_typeof()->Array()),
        new uFunction("get_Name", NULL, (void*)CppFunction__get_Name_fn, 0, false, ::g::Uno::String_typeof(), 0),
        new uFunction("get_Null", NULL, (void*)CppFunction__get_Null_fn, 0, true, CppFunction_typeof(), 0),
        new uFunction("get_ParameterTypes", NULL, (void*)CppFunction__get_ParameterTypes_fn, 0, false, ::g::Uno::Type_typeof()->Array(), 0));
    return type;
}
// public static extern class JavaUnoObject :32
// {
uClassType* JavaUnoObject_typeof()
{
    static uSStrong<uClassType*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 3;
    options.TypeSize = sizeof(uClassType);
    type = uClassType::New("Uno.Compiler.ExportTargetInterop.Foreign.Android.JavaUnoObject", options);
    ::STRINGS[0] = uString::Const("com/Bindings/UnoObject");
    ::STRINGS[1] = uString::Const("<init>");
    ::STRINGS[2] = uString::Const("(J)V");
    ::STRINGS[3] = uString::Const("_GetRetainedUnoPtr");
    ::STRINGS[4] = uString::Const("()J");
    ::STRINGS[5] = uString::Const("Could not register the finalizer callback for JavaUnoObject");
    type->SetFields(0,
        ::g::Android::Base::Primitives::ujclass_typeof(), (uintptr_t)&::g::Uno::Compiler::ExportTargetInterop::Foreign::Android::JavaUnoObject::_unoObjectClass_, uFieldFlagsStatic,
        ::g::Android::Base::Primitives::jmethodID_typeof(), (uintptr_t)&::g::Uno::Compiler::ExportTargetInterop::Foreign::Android::JavaUnoObject::_unoObjectConstructor_, uFieldFlagsStatic,
        ::g::Android::Base::Primitives::jmethodID_typeof(), (uintptr_t)&::g::Uno::Compiler::ExportTargetInterop::Foreign::Android::JavaUnoObject::_unoObjectGetRetainedUnoPtr_, uFieldFlagsStatic);
    type->Reflection.SetFunctions(2,
        new uFunction("Box", NULL, (void*)JavaUnoObject__Box_fn, 0, true, ::g::Android::Base::Primitives::ujobject_typeof(), 1, uObject_typeof()),
        new uFunction("UnBox", NULL, (void*)JavaUnoObject__UnBox_fn, 0, true, uObject_typeof(), 1, ::g::Android::Base::Primitives::ujobject_typeof()));
    return type;
}
// public sealed class UxTemplate :89
// {
UxTemplate_type* UxTemplate_typeof()
{
    static uSStrong<UxTemplate_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 2;
    options.InterfaceCount = 1;
    options.ObjectSize = sizeof(UxTemplate);
    options.TypeSize = sizeof(UxTemplate_type);
    type = (UxTemplate_type*)uClassType::New("Outracks.Simulator.Runtime.UxTemplate", options);
    type->interface0.fp_Apply = (void(*)(uObject*, uObject*, bool*))UxTemplate__Apply_fn;
    ::TYPES[0] = ::g::Uno::Bool_typeof();
    ::TYPES[1] = ::g::Uno::Func1_typeof()->MakeType(uObject_typeof(), uObject_typeof());
    type->SetInterfaces(
        ::g::Uno::UX::ITemplate_typeof(), offsetof(UxTemplate_type, interface0));
    type->SetFields(0,
        ::g::Uno::Func1_typeof()->MakeType(uObject_typeof(), uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxTemplate, _apply), 0,
        ::g::Uno::Func1_typeof()->MakeType(uObject_typeof(), uObject_typeof()), offsetof(::g::Outracks::Simulator::Runtime::UxTemplate, _matches), 0);
    type->Reflection.SetFunctions(2,
        new uFunction("Apply", NULL, (void*)UxTemplate__Apply_fn, 0, false, ::g::Uno::Bool_typeof(), 1, uObject_typeof()),
        new uFunction(".ctor", NULL, (void*)UxTemplate__New1_fn, 0, true, UxTemplate_typeof(), 2, ::g::Uno::Func1_typeof()->MakeType(uObject_typeof(), uObject_typeof()), ::g::Uno::Func1_typeof()->MakeType(uObject_typeof(), uObject_typeof())));
    return type;
}
// public static class SelectionManager :5976
// {
uClassType* SelectionManager_typeof()
{
    static uSStrong<uClassType*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 2;
    options.TypeSize = sizeof(uClassType);
    type = uClassType::New("Fuse.Preview.SelectionManager", options);
    ::TYPES[0] = ::g::Uno::Delegate_typeof();
    ::TYPES[1] = ::g::Uno::EventHandler1_typeof()->MakeType(::g::Uno::EventArgs_typeof());
    ::TYPES[2] = ::g::Uno::EventArgs_typeof();
    type->SetFields(0,
        ::g::Fuse::Preview::ISelection_typeof(), (uintptr_t)&::g::Fuse::Preview::SelectionManager::_Selection_, uFieldFlagsStatic,
        ::g::Uno::EventHandler1_typeof()->MakeType(::g::Uno::EventArgs_typeof()), (uintptr_t)&::g::Fuse::Preview::SelectionManager::SelectionChanged1_, uFieldFlagsStatic);
    type->Reflection.SetFunctions(5,
        new uFunction("IsSelected", NULL, (void*)SelectionManager__IsSelected_fn, 0, true, ::g::Uno::Bool_typeof(), 1, uObject_typeof()),
        new uFunction("get_Selection", NULL, (void*)SelectionManager__get_Selection_fn, 0, true, ::g::Fuse::Preview::ISelection_typeof(), 0),
        new uFunction("add_SelectionChanged", NULL, (void*)SelectionManager__add_SelectionChanged_fn, 0, true, uVoid_typeof(), 1, ::g::Uno::EventHandler1_typeof()->MakeType(::g::Uno::EventArgs_typeof())),
        new uFunction("remove_SelectionChanged", NULL, (void*)SelectionManager__remove_SelectionChanged_fn, 0, true, uVoid_typeof(), 1, ::g::Uno::EventHandler1_typeof()->MakeType(::g::Uno::EventArgs_typeof())),
        new uFunction("SetSelection", NULL, (void*)SelectionManager__SetSelection_fn, 0, true, uVoid_typeof(), 1, ::g::Fuse::Preview::ISelection_typeof()));
    return type;
}
// public abstract interface ISelection :5997
// {
uInterfaceType* ISelection_typeof()
{
    static uSStrong<uInterfaceType*> type;
    if (type != NULL) return type;

    type = uInterfaceType::New("Fuse.Preview.ISelection", 0, 0);
    type->Reflection.SetFunctions(2,
        new uFunction("IsPropertySelected", NULL, NULL, offsetof(ISelection, fp_IsPropertySelected), false, ::g::Uno::Bool_typeof(), 2, uObject_typeof(), ::g::Uno::String_typeof()),
        new uFunction("IsSelected", NULL, NULL, offsetof(ISelection, fp_IsSelected), false, ::g::Uno::Bool_typeof(), 1, uObject_typeof()));
    return type;
}
Beispiel #22
0
::g::Fuse::Controls::Panel_type* Payment_typeof()
{
    static uSStrong< ::g::Fuse::Controls::Panel_type*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.FieldCount = 101;
    options.InterfaceCount = 8;
    options.ObjectSize = sizeof(Payment);
    options.TypeSize = sizeof(::g::Fuse::Controls::Panel_type);
    type = (::g::Fuse::Controls::Panel_type*)uClassType::New("Payment", options);
    type->SetBase(::g::Icon_typeof());
    type->fp_ctor_ = (void*)Payment__New3_fn;
    type->fp_cctor_ = Payment__cctor_5_fn;
    type->interface6.fp_AddChild = (void(*)(uObject*, ::g::Fuse::Node*))::g::Fuse::Controls::Panel__Fuse_Navigation_INavigationPanel_AddChild_fn;
    type->interface6.fp_AddChildAt = (void(*)(uObject*, int*, ::g::Fuse::Node*))::g::Fuse::Controls::Panel__Fuse_Navigation_INavigationPanel_AddChildAt_fn;
    type->interface6.fp_RemoveChild = (void(*)(uObject*, ::g::Fuse::Node*))::g::Fuse::Controls::Panel__Fuse_Navigation_INavigationPanel_RemoveChild_fn;
    type->interface6.fp_GetChild = (void(*)(uObject*, int*, ::g::Fuse::Node**))::g::Fuse::Controls::Panel__Fuse_Navigation_INavigationPanel_GetChild_fn;
    type->interface7.fp_Add = (void(*)(uObject*, void*))::g::Fuse::Controls::Panel__Fuse_Triggers_IAddRemove_Fuse_Node__Add_fn;
    type->interface7.fp_Remove = (void(*)(uObject*, void*))::g::Fuse::Controls::Panel__Fuse_Triggers_IAddRemove_Fuse_Node__Remove_fn;
    type->interface6.fp_get_ChildCount = (void(*)(uObject*, int*))::g::Fuse::Controls::Panel__Fuse_Navigation_INavigationPanel_get_ChildCount_fn;
    type->interface6.fp_get_Children = (void(*)(uObject*, uObject**))::g::Fuse::Controls::Panel__get_Children_fn;
    type->interface6.fp_get_ActualSize = (void(*)(uObject*, ::g::Uno::Float2*))::g::Fuse::Elements::Element__get_ActualSize_fn;
    type->interface6.fp_get_HasChildren = (void(*)(uObject*, bool*))::g::Fuse::Controls::Panel__get_HasChildren_fn;
    type->interface6.fp_add_ChildAdded = (void(*)(uObject*, uDelegate*))::g::Fuse::Controls::Panel__add_ChildAdded_fn;
    type->interface6.fp_remove_ChildAdded = (void(*)(uObject*, uDelegate*))::g::Fuse::Controls::Panel__remove_ChildAdded_fn;
    type->interface6.fp_add_ChildRemoved = (void(*)(uObject*, uDelegate*))::g::Fuse::Controls::Panel__add_ChildRemoved_fn;
    type->interface6.fp_remove_ChildRemoved = (void(*)(uObject*, uDelegate*))::g::Fuse::Controls::Panel__remove_ChildRemoved_fn;
    type->interface6.fp_add_Placed = (void(*)(uObject*, uDelegate*))::g::Fuse::Elements::Element__add_Placed_fn;
    type->interface6.fp_remove_Placed = (void(*)(uObject*, uDelegate*))::g::Fuse::Elements::Element__remove_Placed_fn;
    type->interface6.fp_add_Update = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__add_Update_fn;
    type->interface6.fp_remove_Update = (void(*)(uObject*, uDelegate*))::g::Fuse::Node__remove_Update_fn;
    type->interface1.fp_Show = (void(*)(uObject*))::g::Fuse::Elements::Element__Fuse_Triggers_Actions_IShow_Show_fn;
    type->interface3.fp_Collapse = (void(*)(uObject*))::g::Fuse::Elements::Element__Fuse_Triggers_Actions_ICollapse_Collapse_fn;
    type->interface2.fp_Hide = (void(*)(uObject*))::g::Fuse::Elements::Element__Fuse_Triggers_Actions_IHide_Hide_fn;
    type->interface5.fp_SetSize = (void(*)(uObject*, ::g::Uno::Float2*))::g::Fuse::Elements::Element__Fuse_Animations_IResize_SetSize_fn;
    type->interface4.fp_get_ActualSize = (void(*)(uObject*, ::g::Uno::Float3*))::g::Fuse::Elements::Element__Fuse_IActualPlacement_get_ActualSize_fn;
    type->interface4.fp_get_ActualPosition = (void(*)(uObject*, ::g::Uno::Float3*))::g::Fuse::Elements::Element__Fuse_IActualPlacement_get_ActualPosition_fn;
    type->interface4.fp_add_Placed = (void(*)(uObject*, uDelegate*))::g::Fuse::Elements::Element__add_Placed_fn;
    type->interface4.fp_remove_Placed = (void(*)(uObject*, uDelegate*))::g::Fuse::Elements::Element__remove_Placed_fn;
    type->interface0.fp_FindObjectByName = (void(*)(uObject*, uString*, uDelegate*, uObject**))::g::Fuse::Node__FindObjectByName_fn;
    ::STRINGS[0] = uString::Const("iconFile");
    ::TYPES[0] = uObject_typeof();
    ::TYPES[1] = ::g::Fuse::Resources::FileImageSource_typeof();
    ::TYPES[2] = ::g::Uno::UX::FileSource_typeof();
    ::TYPES[3] = ::g::WelcomeAnimation_bundle_typeof();
    ::TYPES[4] = ::g::Fuse::Node_typeof();
    type->SetInterfaces(
        ::g::Fuse::Scripting::INameScope_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface0),
        ::g::Fuse::Triggers::Actions::IShow_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface1),
        ::g::Fuse::Triggers::Actions::IHide_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface2),
        ::g::Fuse::Triggers::Actions::ICollapse_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface3),
        ::g::Fuse::IActualPlacement_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface4),
        ::g::Fuse::Animations::IResize_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface5),
        ::g::Fuse::Navigation::INavigationPanel_typeof(), offsetof(::g::Fuse::Controls::Panel_type, interface6),
        ::g::Fuse::Triggers::IAddRemove_typeof()->MakeType(::g::Fuse::Node_typeof()), offsetof(::g::Fuse::Controls::Panel_type, interface7));
    type->SetFields(101);
    type->Reflection.SetFunctions(1,
        new uFunction(".ctor", NULL, (void*)Payment__New3_fn, 0, true, Payment_typeof(), 0));
    return type;
}
// public sealed extern class CppReflection :133
// {
uType* CppReflection_typeof()
{
    static uSStrong<uType*> type;
    if (type != NULL) return type;

    uTypeOptions options;
    options.ObjectSize = sizeof(CppReflection);
    options.TypeSize = sizeof(uType);
    type = uClassType::New("Uno.Reflection.CppReflection", options);
    type->fp_ctor_ = (void*)CppReflection__New1_fn;
    type->Reflection.SetFunctions(8,
        new uFunction("FindField", NULL, (void*)CppReflection__FindField_fn, 0, true, ::g::Uno::Reflection::CppField_typeof(), 2, ::g::Uno::Type_typeof(), ::g::Uno::String_typeof()),
        new uFunction("FindFieldFromObject", NULL, (void*)CppReflection__FindFieldFromObject_fn, 0, true, ::g::Uno::Reflection::CppField_typeof(), 2, uObject_typeof(), ::g::Uno::String_typeof()),
        new uFunction("FindFunction", NULL, (void*)CppReflection__FindFunction_fn, 0, true, ::g::Uno::Reflection::CppFunction_typeof(), 3, ::g::Uno::Type_typeof(), ::g::Uno::String_typeof(), ::g::Uno::Type_typeof()->Array()),
        new uFunction("FindFunctionFromObject", NULL, (void*)CppReflection__FindFunctionFromObject_fn, 0, true, ::g::Uno::Reflection::CppFunction_typeof(), 3, uObject_typeof(), ::g::Uno::String_typeof(), ::g::Uno::Type_typeof()->Array()),
        new uFunction("GetFields", NULL, (void*)CppReflection__GetFields_fn, 0, true, ::g::Uno::Reflection::CppField_typeof()->Array(), 1, ::g::Uno::Type_typeof()),
        new uFunction("GetFunctions", NULL, (void*)CppReflection__GetFunctions_fn, 0, true, ::g::Uno::Reflection::CppFunction_typeof()->Array(), 1, ::g::Uno::Type_typeof()),
        new uFunction("GetTypes", NULL, (void*)CppReflection__GetTypes_fn, 0, true, ::g::Uno::Type_typeof()->Array(), 0),
        new uFunction(".ctor", NULL, (void*)CppReflection__New1_fn, 0, true, CppReflection_typeof(), 0));
    return type;
}