toolkit/components/startup/public/nsIUserInfo.idl

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     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/. */
     6 #include "nsISupports.idl"
     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 */
    13     readonly attribute wstring fullname;
    15     readonly attribute string emailAddress;
    17     /* should this be a wstring? */
    18     readonly attribute string username;
    20     readonly attribute string domain;
    21 };
    23 %{C++
    25 // 14c13684-1dd2-11b2-9463-bb10ba742554
    26 #define NS_USERINFO_CID \
    27 {  0x14c13684, 0x1dd2, 0x11b2, \
    28   {0x94, 0x63, 0xbb, 0x10, 0xba, 0x74, 0x25, 0x54}}
    30 #define NS_USERINFO_CONTRACTID "@mozilla.org/userinfo;1"
    32 %}

mercurial