diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 23 | ||||
-rw-r--r-- | embed/mozilla/GlobalHistory.h | 4 |
2 files changed, 23 insertions, 4 deletions
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index c92df3844..e70038954 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -131,6 +131,20 @@ NS_IMETHODIMP MozGlobalHistory::HidePage(nsIURI *aURI) return NS_ERROR_NOT_IMPLEMENTED; } +#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) +/* void removePage (in nsIURI aURI); */ +NS_IMETHODIMP MozGlobalHistory::RemovePage(nsIURI *aURI) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} + +/* void removePagesFromHost (in AUTF8String aHost, in boolean aEntireDomain); */ +NS_IMETHODIMP MozGlobalHistory::RemovePagesFromHost(const nsACString &aHost, + PRBool aEntireDomain) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} +#else /* void removePage (in string aURL); */ NS_IMETHODIMP MozGlobalHistory::RemovePage(const char *aURL) { @@ -143,6 +157,7 @@ NS_IMETHODIMP MozGlobalHistory::RemovePagesFromHost(const char *aHost, { return NS_ERROR_NOT_IMPLEMENTED; } +#endif /* void removeAllPages (); */ NS_IMETHODIMP MozGlobalHistory::RemoveAllPages() @@ -162,8 +177,16 @@ NS_IMETHODIMP MozGlobalHistory::GetCount(PRUint32 *aCount) return NS_ERROR_NOT_IMPLEMENTED; } +#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) +/* void markPageAsTyped (in AUTF8String aURI) */ +NS_IMETHODIMP MozGlobalHistory::MarkPageAsTyped(nsIURI *aURI) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} +#else /* void markPageAsTyped (in string url); */ NS_IMETHODIMP MozGlobalHistory::MarkPageAsTyped(const char *url) { return NS_ERROR_NOT_IMPLEMENTED; } +#endif diff --git a/embed/mozilla/GlobalHistory.h b/embed/mozilla/GlobalHistory.h index 883b9e8db..cb128db21 100644 --- a/embed/mozilla/GlobalHistory.h +++ b/embed/mozilla/GlobalHistory.h @@ -22,10 +22,6 @@ #ifndef EPHY_GLOBAL_HISTORY_H #define EPHY_GLOBAL_HISTORY_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "ephy-history.h" #include <nsIBrowserHistory.h> |