From 081ff74fbc49288dd4e42087b9ec92cbc4da91fd Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Fri, 12 Feb 1999 22:40:47 +0000 Subject: [PATCH] Add method for retrieving an nsFilePath for the mailbox. git-svn-id: svn://10.0.0.236/trunk@20627 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/local/public/nsIMailboxUrl.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mozilla/mailnews/local/public/nsIMailboxUrl.h b/mozilla/mailnews/local/public/nsIMailboxUrl.h index 33676856edd..fa628d02012 100644 --- a/mozilla/mailnews/local/public/nsIMailboxUrl.h +++ b/mozilla/mailnews/local/public/nsIMailboxUrl.h @@ -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___ */ \ No newline at end of file