Files
Mozilla/mozilla/modules/plugin/samples/4x-scriptable/acmeIScriptObject.idl
(no author) d368a405db This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@185757 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 05:54:01 +00:00

29 lines
604 B
Plaintext

/*
acmeIScriptObject.idl
*/
#include "nsISupports.idl"
[scriptable, uuid(f78d64e0-1dd1-11b2-a9b4-ae998c529d3e)]
interface acmeIScriptObject : nsISupports {
acmeIScriptObject getProperty(in string name);
void setProperty(in string name, in string value);
/**
* Evaluates a string expression.
*/
acmeIScriptObject evaluate(in string expression);
/**
* Conversions.
*/
string toString();
double toNumber();
/**
* Constructors.
*/
acmeIScriptObject fromString(in string value);
acmeIScriptObject fromNumber(in double value);
};