Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  IOSBridge.mm  Sprache: unbekannt

 
Spracherkennung für: .mm vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "IOSBridge.h"

#import "mozilla/widget/GeckoViewSupport.h"

#include "mozilla/widget/EventDispatcher.h"

using namespace mozilla::widget;

/* Implementation file */
NS_IMPL_ISUPPORTS(nsIOSBridge, nsIGeckoViewEventDispatcher, nsIGeckoViewBridge)

nsIOSBridge::nsIOSBridge() {
  auto dispatcher = mozilla::MakeRefPtr<mozilla::widget::EventDispatcher>();
  dispatcher->Attach([GetSwiftRuntime() runtimeDispatcher]);
  dispatcher->Activate();
  mEventDispatcher = dispatcher;
}

NS_IMETHODIMP
nsIOSBridge::GetDispatcherByName(const char* aName,
                                 nsIGeckoViewEventDispatcher** aResult) {
  mozilla::AssertIsOnMainThread();
  auto dispatcher = mozilla::MakeRefPtr<mozilla::widget::EventDispatcher>();
  dispatcher->Attach([GetSwiftRuntime() dispatcherByName:aName]);
  dispatcher->Activate();
  dispatcher.forget(aResult);
  return NS_OK;
}

nsIOSBridge::~nsIOSBridge() = default;

[zur Elbe Produktseite wechseln0.115QuellennavigatorsAnalyse erneut starten2026-09-28]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126438
#Domains=1867298