xpcom/sample/nsISample.idl

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:e0239b9cbd6d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 /**
7 * A sample of XPConnect. This file contains a sample interface.
8 *
9 */
10
11 #include "nsISupports.idl"
12
13 /**
14 * The uuid is a unique number identifying the interface normally
15 * called IID. It can be generated as follows:
16 *
17 * Windows: guidgen.exe
18 * Unix: uuidgen which comes with e2fsprogs package
19 * Mac: ???
20 * All platform: Using irc, connect to irc.mozilla.org and type in
21 * /join #mozilla
22 * /msg mozbot uuid
23 *
24 */
25 [scriptable, uuid(7CB5B7A1-07D7-11d3-BDE2-000064657374)]
26 interface nsISample : nsISupports
27 {
28 attribute string value;
29 void writeValue(in string aPrefix);
30 void poke(in string aValue);
31 };
32
33
34

mercurial