aboutsummaryrefslogtreecommitdiffstats
path: root/embed
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
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')
-rw-r--r--embed/mozilla/GlobalHistory.cpp23
-rw-r--r--embed/mozilla/GlobalHistory.h4
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>