Quellcode-Bibliothek GeckoNetworkManager.h
Sprache: C
/* -*- Mode: c++; c-basic-offset: 2; tab-width: 20; indent-tabs-mode: nil; -*- * 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/. */
nsCOMPtr<nsIObserverService> os = services::GetObserverService(); if (os) {
os->NotifyObservers(nullptr, NS_NETWORK_LINK_TYPE_TOPIC,
aSubType->ToString().get());
}
}
staticvoid OnStatusChanged(jni::String::Param aStatus) {
nsCOMPtr<nsIObserverService> os = mozilla::services::GetObserverService(); if (os) {
os->NotifyObservers(nullptr, NS_NETWORK_LINK_TOPIC,
aStatus->ToString().get());
}
}
};
} // namespace mozilla
#endif// GeckoNetworkManager_h
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.