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:
alecf%netscape.com 1999-04-26 18:38:26 +00:00
parent 5dfd5bc2ec
commit 87ea48afdb
2 changed files with 9 additions and 0 deletions

View File

@ -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);

View File

@ -35,4 +35,6 @@ interface nsIMsgIncomingServer : nsISupports {
attribute boolean doBiff;
attribute long biffMinutes;
attribute string localPath;
readonly attribute string serverURI;
};