michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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 "nsIMessageLoop.h" michael@0: michael@0: /* michael@0: * nsMessageLoop implements nsIMessageLoop, which wraps Chromium's MessageLoop michael@0: * class and adds a bit of sugar. michael@0: */ michael@0: class nsMessageLoop : public nsIMessageLoop michael@0: { michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIMESSAGELOOP michael@0: michael@0: virtual ~nsMessageLoop() {} michael@0: }; michael@0: michael@0: #define NS_MESSAGE_LOOP_CID \ michael@0: {0x67b3ac0c, 0xd806, 0x4d48, \ michael@0: {0x93, 0x9e, 0x6a, 0x81, 0x9e, 0x6c, 0x24, 0x8f}} michael@0: michael@0: extern nsresult michael@0: nsMessageLoopConstructor(nsISupports* outer, michael@0: const nsIID& aIID, michael@0: void* *aInstancePtr);