|
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #include "nsIFeedElementBase.idl" |
|
7 |
|
8 interface nsIURI; |
|
9 |
|
10 /** |
|
11 * An nsIFeedPerson represents an author or contributor of a feed. |
|
12 */ |
|
13 [scriptable, uuid(29cbd45f-f2d3-4b28-b557-3ab7a61ecde4)] |
|
14 interface nsIFeedPerson : nsIFeedElementBase |
|
15 { |
|
16 /** |
|
17 * The name of the person. |
|
18 */ |
|
19 attribute AString name; |
|
20 |
|
21 /** |
|
22 * An email address associated with the person. |
|
23 */ |
|
24 attribute AString email; |
|
25 |
|
26 /** |
|
27 * A URI associated with the person (e.g. a homepage). |
|
28 */ |
|
29 attribute nsIURI uri; |
|
30 }; |