Add method for retrieving an nsFilePath for the mailbox.

git-svn-id: svn://10.0.0.236/trunk@20627 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
1999-02-12 22:40:47 +00:00
parent d5d6d3b84d
commit 081ff74fbc

View File

@@ -23,6 +23,7 @@
#include "nsIURL.h"
#include "nsISupports.h"
#include "nsFileSpec.h"
/* include all of our event sink interfaces */
#include "nsIStreamListener.h"
@@ -52,6 +53,8 @@ public:
NS_IMETHOD SetMailboxParser(nsIStreamListener * aConsumer) = 0;
NS_IMETHOD GetMailboxParser(nsIStreamListener ** aConsumer) = 0;
//
// mscott: this interface really belongs in nsIURL and I will move it there after talking
// it over with core netlib. This error message replaces the err_msg which was in the
@@ -61,6 +64,11 @@ public:
NS_IMETHOD SetErrorMessage (char * errorMessage) = 0;
// caller must free using PR_FREE
NS_IMETHOD GetErrorMessage (char ** errorMessage) const = 0;
///////////////////////////////////////////////////////////////////////////////
// Getters and Setters for the mailbox url state
///////////////////////////////////////////////////////////////////////////////
NS_IMETHOD GetFilePath(const nsFilePath ** aFilePath) = 0;
};
#endif /* nsIMailboxUrl_h___ */