/src/mozilla-central/xpcom/base/nsMessageLoop.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | | /* vim: set ts=8 sts=2 et sw=2 tw=80: */ |
3 | | /* This Source Code Form is subject to the terms of the Mozilla Public |
4 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 | | |
7 | | #include "nsIMessageLoop.h" |
8 | | |
9 | | /* |
10 | | * nsMessageLoop implements nsIMessageLoop, which wraps Chromium's MessageLoop |
11 | | * class and adds a bit of sugar. |
12 | | */ |
13 | | class nsMessageLoop : public nsIMessageLoop |
14 | | { |
15 | | NS_DECL_ISUPPORTS |
16 | | NS_DECL_NSIMESSAGELOOP |
17 | | |
18 | | private: |
19 | | virtual ~nsMessageLoop() |
20 | 0 | { |
21 | 0 | } |
22 | | }; |
23 | | |
24 | | #define NS_MESSAGE_LOOP_CID \ |
25 | | {0x67b3ac0c, 0xd806, 0x4d48, \ |
26 | | {0x93, 0x9e, 0x6a, 0x81, 0x9e, 0x6c, 0x24, 0x8f}} |
27 | | |
28 | | extern nsresult |
29 | | nsMessageLoopConstructor(nsISupports* aOuter, |
30 | | const nsIID& aIID, |
31 | | void** aInstancePtr); |