IPluginManager constructor

IPluginManager(
  1. FbInterface self
)

Implementation

IPluginManager(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = 6;
  var idx = startIndex;
  _registerPluginFactory = Pointer<
          NativeFunction<
              Void Function(FbInterface, UnsignedInt, Pointer<Utf8>,
                  FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _registerModule = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _unregisterModule = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getPlugins = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Utf8>, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getConfig = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface,
                  Pointer<Utf8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _releasePlugin = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
}