aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GlobalHistory.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-10 16:50:09 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-10 16:50:09 +0800
commit5f7cba71418f41acc5944e7fdcba75ac5e9b7c78 (patch)
treed2e4f98f60dd77ebad2f04c34687aa277e125efc /embed/mozilla/GlobalHistory.cpp
parentb5c73bbdc3572bb91f9328d7e357c8018009dd43 (diff)
downloadgsoc2013-epiphany-5f7cba71418f41acc5944e7fdcba75ac5e9b7c78.tar
gsoc2013-epiphany-5f7cba71418f41acc5944e7fdcba75ac5e9b7c78.tar.gz
gsoc2013-epiphany-5f7cba71418f41acc5944e7fdcba75ac5e9b7c78.tar.bz2
gsoc2013-epiphany-5f7cba71418f41acc5944e7fdcba75ac5e9b7c78.tar.lz
gsoc2013-epiphany-5f7cba71418f41acc5944e7fdcba75ac5e9b7c78.tar.xz
gsoc2013-epiphany-5f7cba71418f41acc5944e7fdcba75ac5e9b7c78.tar.zst
gsoc2013-epiphany-5f7cba71418f41acc5944e7fdcba75ac5e9b7c78.zip
Yet another mozilla API change.
2004-08-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: Yet another mozilla API change.
Diffstat (limited to 'embed/mozilla/GlobalHistory.cpp')
-rw-r--r--embed/mozilla/GlobalHistory.cpp23
1 files changed, 23 insertions, 0 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