/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// This is an event target that buffers events until a "real" event target is // connected to it. This is for situations where events must be dispatched, but // we don't know *where* yet. // Note: GetCurrentSerialEventTarget and friends will return the *real* event // target for tasks that are dispatched to this. class StopGapEventTarget final : public nsISerialEventTarget {
public:
StopGapEventTarget();
// Call this when you know the real event target. Dispatches all queued // events right away, and passes subsequent events straight through.
nsresult SetRealEventTarget(nsISerialEventTarget* aRealEventTarget);
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 und die Messung sind noch experimentell.