|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */ |
|
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 #ifndef nsPipe_h__ |
|
8 #define nsPipe_h__ |
|
9 |
|
10 #define NS_PIPE_CONTRACTID \ |
|
11 "@mozilla.org/pipe;1" |
|
12 #define NS_PIPE_CID \ |
|
13 { /* e4a0ee4e-0775-457b-9118-b3ae97a7c758 */ \ |
|
14 0xe4a0ee4e, \ |
|
15 0x0775, \ |
|
16 0x457b, \ |
|
17 {0x91,0x18,0xb3,0xae,0x97,0xa7,0xc7,0x58} \ |
|
18 } |
|
19 |
|
20 // Generic factory constructor for the nsPipe class |
|
21 nsresult NS_HIDDEN |
|
22 nsPipeConstructor(nsISupports *outer, REFNSIID iid, void **result); |
|
23 |
|
24 #endif // !defined(nsPipe_h__) |