michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIDOMWindow; michael@0: michael@0: /** michael@0: * This interface allows creating various prompts that have a specific parent. michael@0: */ michael@0: [scriptable, uuid(2532b748-75db-4732-9173-78d3bf34f694)] michael@0: interface nsIPromptFactory : nsISupports michael@0: { michael@0: /** michael@0: * Returns an object implementing the specified interface that creates michael@0: * prompts parented to aParent. michael@0: */ michael@0: void getPrompt(in nsIDOMWindow aParent, in nsIIDRef iid, michael@0: [iid_is(iid),retval] out nsQIResult result); michael@0: }; michael@0: