diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-09-21 19:09:32 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-09-21 19:09:32 +0800 |
commit | 5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f (patch) | |
tree | 6fb8fd3d114376d615725f54e73f3da8d51b95ca /embed/mozilla/GlobalHistory.cpp | |
parent | 695c95a8a47d6d2c1092bd6a379743d3939961bc (diff) | |
download | gsoc2013-epiphany-5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f.tar gsoc2013-epiphany-5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f.tar.gz gsoc2013-epiphany-5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f.tar.bz2 gsoc2013-epiphany-5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f.tar.lz gsoc2013-epiphany-5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f.tar.xz gsoc2013-epiphany-5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f.tar.zst gsoc2013-epiphany-5e58a03b8d5fb6e18e8c56d0e86ac96d90522b6f.zip |
Fix mozilla API checks to correctly detect firefox libraries.
2004-09-21 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
* embed/mozilla/ContentHandler.cpp:
* embed/mozilla/ContentHandler.h:
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/EphyContentPolicy.cpp:
* embed/mozilla/FilePicker.cpp:
* embed/mozilla/GlobalHistory.cpp:
* embed/mozilla/GtkNSSKeyPairDialogs.cpp:
* embed/mozilla/Makefile.am:
* embed/mozilla/MozDownload.cpp:
* embed/mozilla/mozilla-download.cpp:
* embed/mozilla/mozilla-embed-single.cpp:
* embed/mozilla/mozilla-embed.cpp:
* embed/mozilla/mozilla-notifiers.cpp:
Fix mozilla API checks to correctly detect firefox libraries.
Diffstat (limited to 'embed/mozilla/GlobalHistory.cpp')
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index 27932779d..c2ba7a1ae 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -25,8 +25,6 @@ #include "config.h" #endif -#include "mozilla-version.h" - #include "ephy-embed-shell.h" #include "GlobalHistory.h" @@ -133,7 +131,7 @@ NS_IMETHODIMP MozGlobalHistory::HidePage(nsIURI *aURI) return NS_ERROR_NOT_IMPLEMENTED; } -#if (MOZILLA_IS_BRANCH (1, 7) && MOZILLA_CHECK_VERSION3 (1, 7, 4)) || MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) +#ifdef MOZ_NSIGLOBALHISTORY_NSIURIP /* void removePage (in nsIURI aURI); */ NS_IMETHODIMP MozGlobalHistory::RemovePage(nsIURI *aURI) { @@ -179,7 +177,7 @@ NS_IMETHODIMP MozGlobalHistory::GetCount(PRUint32 *aCount) return NS_ERROR_NOT_IMPLEMENTED; } -#if (MOZILLA_IS_BRANCH (1, 7) && MOZILLA_CHECK_VERSION3 (1, 7, 4)) || MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) +#ifdef MOZ_NSIGLOBALHISTORY_NSIURIP /* void markPageAsTyped (in AUTF8String aURI) */ NS_IMETHODIMP MozGlobalHistory::MarkPageAsTyped(nsIURI *aURI) { @@ -192,3 +190,11 @@ NS_IMETHODIMP MozGlobalHistory::MarkPageAsTyped(const char *url) return NS_ERROR_NOT_IMPLEMENTED; } #endif + +#ifdef MOZ_NSIBROWSERHISTORY_ADDPAGEWITHDETAILS +/* void addPageWithDetails (in nsIURI aURI, in wstring aTitle, in long long aLastVisited); */ +NS_IMETHODIMP MozGlobalHistory::AddPageWithDetails(nsIURI *aURI, const PRUnichar *aTitle, PRInt64 aLastVisited) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} +#endif |