|
1 /* -*- Mode: C++; tab-width: 2; 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 "nsISupports.idl" |
|
7 |
|
8 [scriptable, uuid(6c1034f0-1dd2-11b2-aa14-e6657ed7bb0b)] |
|
9 interface nsIUserInfo : nsISupports |
|
10 { |
|
11 /* these are things the system may know about the current user */ |
|
12 |
|
13 readonly attribute wstring fullname; |
|
14 |
|
15 readonly attribute string emailAddress; |
|
16 |
|
17 /* should this be a wstring? */ |
|
18 readonly attribute string username; |
|
19 |
|
20 readonly attribute string domain; |
|
21 }; |
|
22 |
|
23 %{C++ |
|
24 |
|
25 // 14c13684-1dd2-11b2-9463-bb10ba742554 |
|
26 #define NS_USERINFO_CID \ |
|
27 { 0x14c13684, 0x1dd2, 0x11b2, \ |
|
28 {0x94, 0x63, 0xbb, 0x10, 0xba, 0x74, 0x25, 0x54}} |
|
29 |
|
30 #define NS_USERINFO_CONTRACTID "@mozilla.org/userinfo;1" |
|
31 |
|
32 %} |