diff options
Diffstat (limited to 'dom/xul/templates/nsIXULBuilderListener.idl')
-rw-r--r-- | dom/xul/templates/nsIXULBuilderListener.idl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dom/xul/templates/nsIXULBuilderListener.idl b/dom/xul/templates/nsIXULBuilderListener.idl new file mode 100644 index 000000000..33ae2b3e8 --- /dev/null +++ b/dom/xul/templates/nsIXULBuilderListener.idl @@ -0,0 +1,28 @@ +/* -*- Mode: idl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* 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 "nsISupports.idl" + +interface nsIXULTemplateBuilder; + +// An nsIXULBuilderListener object is a listener that will be notified +// when a template builder rebuilds its content. +[scriptable, uuid(ac46be8f-c863-4c23-84a2-d0fcc8dfa9f4)] +interface nsIXULBuilderListener: nsISupports { + + /** + * Called before a template builder rebuilds its content. + * @param aBuilder the template builder that rebuilds the content. + */ + void willRebuild(in nsIXULTemplateBuilder aBuilder); + + /** + * Called after a template builder has rebuilt its content. + * @param aBuilder the template builder that has rebuilt the content. + */ + void didRebuild(in nsIXULTemplateBuilder aBuilder); + +}; |