renamed some enums which moved into mozilla/network/module/nsILoadAttribs.h

This commit is contained in:
rpotts%netscape.com 1998-10-10 04:34:35 +00:00
Родитель 0a69cca905
Коммит efee74428c
2 изменённых файлов: 4 добавлений и 13 удалений

Просмотреть файл

@ -73,7 +73,7 @@ public:
nsIPostData* aPostData = nsnull,
nsISupports* aExtraInfo = nsnull,
nsIStreamObserver* anObserver = nsnull,
PRInt32 type = 0,
nsURLReloadType type = nsURLReload,
const PRUint32 aLocalIP = 0) = 0;
NS_IMETHOD Stop(void) = 0;

Просмотреть файл

@ -23,6 +23,7 @@
#include "nsIWidget.h"
#include "nsIScrollableView.h"
#include "nsIContentViewerContainer.h"
#include "nsILoadAttribs.h"
class nsIFactory;
class nsIPostData;
@ -74,16 +75,6 @@ public:
// Link traversing control
};
// Do not change the order of these. nsReload (normal/the first item) must
// always be zero. If you add enumerations, change the range
// check in nsNetService (OpenStream & OpenBlockingStream).
typedef enum {
nsReload,
nsReloadBypassCache,
nsReloadBypassProxy,
nsReloadBypassCacheAndProxy
} nsReloadType;
// Return value from WillLoadURL
#define NS_WEB_SHELL_CANCEL_URL_LOAD 0xC0E70000
@ -152,10 +143,10 @@ public:
NS_IMETHOD LoadURL(const PRUnichar *aURLSpec,
nsIPostData* aPostData=nsnull,
PRBool aModifyHistory=PR_TRUE,
nsReloadType aType=nsReload,
nsURLReloadType aType=nsURLReload,
const PRUint32 aLocalIP=0) = 0;
NS_IMETHOD Stop(void) = 0;
NS_IMETHOD Reload(nsReloadType aType) = 0;
NS_IMETHOD Reload(nsURLReloadType aType) = 0;
// History api's
NS_IMETHOD Back() = 0;