3 #include "nsISupports.idl"
4 #include "nsIDOMElement.idl"
11 [scriptable, uuid(d8ef4492-8f4a-4f5d-8f19-1d71f7f895ed)]
12 interface dactylIUtils : nsISupports
14 const PRUint32 DIRECTION_HORIZONTAL = 1 << 0;
15 const PRUint32 DIRECTION_VERTICAL = 1 << 1;
21 jsval evalInContext(in AString source,
23 [optional] in ACString filename,
24 [optional] in PRInt32 lineNumber);
26 void createContents(in nsIDOMElement element);
29 jsval getGlobalForObject(in jsval object);
31 PRUint32 getScrollable(in nsIDOMElement element);
33 void loadSubScript (in wstring url
34 /* [optional] in jsval context, */
35 /* [optional] in wstring charset */);
38 /* vim:se sts=4 sw=4 et ft=idl: */