gecko-dev/xpcom/sample/nsISample.idl

35 строки
917 B
Plaintext
Исходник Обычный вид История

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2012-05-21 15:12:37 +04:00
/* 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/. */
1999-05-13 03:37:45 +04:00
/**
* A sample of XPConnect. This file contains a sample interface.
*
1999-05-13 03:37:45 +04:00
*/
#include "nsISupports.idl"
/**
* The uuid is a unique number identifying the interface normally
* called IID. It can be generated as follows:
*
* Windows: guidgen.exe
* Unix: uuidgen which comes with e2fsprogs package
* Mac: ???
* All platform: Using irc, connect to irc.mozilla.org and type in
* /join #mozilla
* /msg mozbot uuid
*
*/
1999-05-13 03:37:45 +04:00
[scriptable, uuid(7CB5B7A1-07D7-11d3-BDE2-000064657374)]
interface nsISample : nsISupports
{
1999-10-01 01:41:50 +04:00
attribute string value;
void writeValue(in string aPrefix);
void poke(in string aValue);
1999-05-13 03:37:45 +04:00
};