~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/modules/plugin/samples/4x-scriptable/acmeIScriptObject.idl

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    acmeIScriptObject.idl
 
3
 */
 
4
 
 
5
#include "nsISupports.idl"
 
6
 
 
7
[scriptable, uuid(f78d64e0-1dd1-11b2-a9b4-ae998c529d3e)]
 
8
interface acmeIScriptObject : nsISupports {
 
9
    acmeIScriptObject getProperty(in string name);
 
10
    void setProperty(in string name, in string value);
 
11
 
 
12
    /**
 
13
     * Evaluates a string expression.
 
14
     */
 
15
    acmeIScriptObject evaluate(in string expression);
 
16
 
 
17
    /**
 
18
     * Conversions.
 
19
     */
 
20
    string toString();
 
21
    double toNumber();
 
22
 
 
23
    /**
 
24
     * Constructors.
 
25
     */
 
26
    acmeIScriptObject fromString(in string value);
 
27
    acmeIScriptObject fromNumber(in double value);
 
28
};