summaryrefslogtreecommitdiffstats
path: root/xpcom/ds/nsIProperty.idl
blob: 9e6e1e487e5fbda7beb0f01b35a6c693a5232364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* nsIVariant based Property support. */

#include "nsISupports.idl"

interface nsIVariant;

[scriptable, uuid(6dcf9030-a49f-11d5-910d-0010a4e73d9a)]
interface nsIProperty : nsISupports
{
    /**
     * Get the name of the property.
     */
    readonly attribute AString    name;

    /**
     * Get the value of the property.
     */
    readonly attribute nsIVariant value;
};