mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
add new GetServerURI() method for asking a server for the root RDF URI and make a generic GetLocalPath() for getting the local directory for this server.
This commit is contained in:
parent
5dfd5bc2ec
commit
87ea48afdb
@ -60,6 +60,13 @@ class nsIMsgIncomingServer : public nsISupports {
|
||||
NS_IMETHOD GetBiffMinutes(PRInt32 *aBiffMinutes) = 0;
|
||||
NS_IMETHOD SetBiffMinutes(PRInt32 aBiffMinutes) = 0;
|
||||
|
||||
/* attribute string localPath; */
|
||||
NS_IMETHOD GetLocalPath(char * *aLocalPath) = 0;
|
||||
NS_IMETHOD SetLocalPath(char * aLocalPath) = 0;
|
||||
|
||||
/* readonly attribute string serverURI; */
|
||||
NS_IMETHOD GetServerURI(char * *aServerURI) = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIMsgIncomingServer *priv);
|
||||
|
@ -35,4 +35,6 @@ interface nsIMsgIncomingServer : nsISupports {
|
||||
attribute boolean doBiff;
|
||||
attribute long biffMinutes;
|
||||
|
||||
attribute string localPath;
|
||||
readonly attribute string serverURI;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user