34
34
typedef nsIIDRef nsCIDRef;
36
36
typedef void** nsQIResult;
37
typedef LPSTR nsstring;
37
typedef LPCSTR nscstring;
38
38
typedef WCHAR PRUnichar;
39
typedef LPWSTR nswstring;
39
typedef LPCWSTR nscwstring;
40
40
typedef ULONG PRUint32;
41
41
typedef LONG PRInt32;
42
42
typedef WORD PRUint16;
43
typedef INT16 PRInt16;
43
44
typedef BYTE PRUint8;
44
45
typedef BOOL PRBool;
45
46
typedef LARGE_INTEGER PRInt64;
118
118
interface nsIServiceManager : nsISupports
120
120
nsresult GetService(nsCIDRef aClass, nsIIDRef aIID, void **result);
121
nsresult GetServiceByContactID(nsstring aContactID, nsIIDRef aIID, void **result);
121
nsresult GetServiceByContactID(nscstring aContactID, nsIIDRef aIID, void **result);
122
122
nsresult IsServiceInstantiated(nsCIDRef aClass, nsIIDRef aIID, BOOL *_retval);
123
nsresult IsServiceInstantiatedByContractID(nsstring aContractID, nsIIDRef aIID, BOOL *_retval);
123
nsresult IsServiceInstantiatedByContractID(nscstring aContractID, nsIIDRef aIID, BOOL *_retval);
140
140
interface nsIObserver : nsISupports
142
nsresult Observe(nsISupports *aSubject, nsstring aTopic, nswstring aData);
142
nsresult Observe(nsISupports *aSubject, nscstring aTopic, nscwstring aData);
149
149
interface nsIComponentManager : nsISupports
151
151
nsresult GetClassObject(nsCIDRef aClass, nsIIDRef aIID, nsQIResult result);
152
nsresult GetClassObjectByContractID(nsstring aContractID, nsIIDRef aIID, nsQIResult result);
152
nsresult GetClassObjectByContractID(nscstring aContractID, nsIIDRef aIID, nsQIResult result);
153
153
nsresult CreateInstance(nsCIDRef aClass, nsISupports *aDelegate, nsIIDRef aIID,
154
154
nsQIResult result);
155
nsresult CreateInstanceByContractID(nsstring aContractID, nsISupports *aDelegate,
155
nsresult CreateInstanceByContractID(nscstring aContractID, nsISupports *aDelegate,
156
156
nsIIDRef aIID, nsQIResult result);
540
540
nsresult GetAnchors(nsIDOMHTMLCollection **aAnchors);
541
541
nsresult GetCookie(nsAString *aCookie);
542
542
nsresult SetCookie(const nsAString *aCookie);
544
nsresult Close(void);
545
545
nsresult Write(const nsAString *text);
546
546
nsresult Writeln(const nsAString *text);
547
547
nsresult GetElementsByName(const nsAString *elementName, nsIDOMNodeList **_retval);
1180
uuid(83f892cf-7ed3-490e-967a-62640f3158e1)
1182
interface nsICommandParams : nsISupports
1184
nsresult GetValueType(const char *name, PRInt16 *_retval);
1185
nsresult GetBooleanValue(const char *name, PRBool *_retval);
1186
nsresult GetLongValue(const char *name, PRInt32 *_retval);
1187
nsresult GetDoubleValue(const char *name, double *_retval);
1188
nsresult GetStringValue(const char *name, nsAString *_retval);
1189
nsresult GetCStringValue(const char *name, char **_retval);
1190
nsresult GetISupportsValue(const char *name, nsISupports **_retval);
1191
nsresult SetBooleanValue(const char *name, PRBool value);
1192
nsresult SetLongValue(const char *name, PRInt32 value);
1193
nsresult SetDoubleValue(const char *name, double value);
1194
nsresult SetStringValue(const char *name, const nsAString *value);
1195
nsresult SetCStringValue(const char *name, const char *value);
1196
nsresult SetISupportsValue(const char *name, nsISupports *value);
1197
nsresult RemoveValue(const char *name);
1198
nsresult HasMoreElements(PRBool *_retval);
1200
nsresult GetNext(char **_retval);
1180
1205
uuid(080d2001-f91e-11d4-a73c-f9242928207c)
1182
1207
interface nsICommandManager : nsISupports