/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or * implied. See the License for the specific language governing * rights and limitations under the License. * * The Original Code is the Mozilla browser. * * The Initial Developer of the Original Code is Netscape * Communications, Inc. Portions created by Netscape are * Copyright (C) 1999, Mozilla. All Rights Reserved. * * Contributor(s): * Travis Bogard */ #include "nsISupports.idl" /** * The nsPIEventLoop allows the internal creator of the event loop to do * proper setup on the instantiation without the public interface having to * expose writable properties for private data. */ [scriptable, uuid(2EFB5009-4508-11d3-AEDA-00A024FFC08C)] interface nsPIEventLoop : nsISupports { /* The creator of the event loop calls this method to setup the object before it is used. This allows setting internal data members that are exposed in the public interface as read-only attributes. @param name This is the name of the event loop. This is used to find an event loop once it has been created. */ void LoopInit(in wstring name); };