summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-07-10 11:55:42 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-07-10 11:55:42 +0100
commit3f45e535397b45a60c696aa68565aca4d76b1f2e (patch)
treeba41217c446caa3f24a099e06bbadc05a36fedd1 /desktop
parented557f090a60a1c96dae9bc3319990d589bc60ec (diff)
downloadnetsurf-3f45e535397b45a60c696aa68565aca4d76b1f2e.tar.gz
netsurf-3f45e535397b45a60c696aa68565aca4d76b1f2e.tar.bz2
s/history_core/local_history/
Diffstat (limited to 'desktop')
-rw-r--r--desktop/Makefile2
-rw-r--r--desktop/browser.c2
-rw-r--r--desktop/frames.c2
-rw-r--r--desktop/local_history.c (renamed from desktop/history_core.c)16
-rw-r--r--desktop/local_history.h (renamed from desktop/history_core.h)0
5 files changed, 11 insertions, 11 deletions
diff --git a/desktop/Makefile b/desktop/Makefile
index f787fd295..ded75aaa2 100644
--- a/desktop/Makefile
+++ b/desktop/Makefile
@@ -12,7 +12,7 @@ desktop/version.c: testament utils/testament.h
# S_BROWSER are sources related to full browsers but are common
# between RISC OS, GTK, BeOS and AmigaOS builds
-S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
+S_BROWSER := browser.c download.c frames.c local_history.c netsurf.c \
save_complete.c save_text.c selection.c textinput.c
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
diff --git a/desktop/browser.c b/desktop/browser.c
index b7ec98947..4df48e4fe 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -45,7 +45,7 @@
#include "desktop/browser_private.h"
#include "desktop/download.h"
#include "desktop/frames.h"
-#include "desktop/history_core.h"
+#include "desktop/local_history.h"
#include "desktop/hotlist.h"
#include "desktop/gui.h"
#include "desktop/knockout.h"
diff --git a/desktop/frames.c b/desktop/frames.c
index dcc66df9d..3f7613f32 100644
--- a/desktop/frames.c
+++ b/desktop/frames.c
@@ -32,7 +32,7 @@
#include "content/hlcache.h"
#include "desktop/browser_private.h"
#include "desktop/frames.h"
-#include "desktop/history_core.h"
+#include "desktop/local_history.h"
#include "desktop/gui.h"
#include "desktop/scrollbar.h"
#include "desktop/selection.h"
diff --git a/desktop/history_core.c b/desktop/local_history.c
index bc933c0c1..7b5ecc79a 100644
--- a/desktop/history_core.c
+++ b/desktop/local_history.c
@@ -32,7 +32,7 @@
#include "css/css.h"
#include "desktop/browser.h"
#include "desktop/gui.h"
-#include "desktop/history_core.h"
+#include "desktop/local_history.h"
#include "desktop/plotters.h"
#include "desktop/thumbnail.h"
#include "image/bitmap.h"
@@ -422,7 +422,7 @@ bool history_forward_available(struct history *history)
}
-/* Documented in history_core.h */
+/* Documented in local_history.h */
void history_go(struct browser_window *bw,
struct history *history,
struct history_entry *entry,
@@ -782,7 +782,7 @@ struct history_entry *history_find_position(struct history_entry *entry,
return 0;
}
-/* Documented in history_core.h */
+/* Documented in local_history.h */
void history_enumerate_forward(struct history *history,
history_enumerate_cb cb, void *user_data)
{
@@ -797,7 +797,7 @@ void history_enumerate_forward(struct history *history,
}
}
-/* Documented in history_core.h */
+/* Documented in local_history.h */
void history_enumerate_back(struct history *history,
history_enumerate_cb cb, void *user_data)
{
@@ -812,7 +812,7 @@ void history_enumerate_back(struct history *history,
}
}
-/* Documented in history_core.h */
+/* Documented in local_history.h */
void history_enumerate(const struct history *history, history_enumerate_cb cb,
void *user_data)
{
@@ -845,19 +845,19 @@ static bool history_enumerate_entry(const struct history *history,
return true;
}
-/* Documented in history_core.h */
+/* Documented in local_history.h */
const char *history_entry_get_url(const struct history_entry *entry)
{
return entry->page.url;
}
-/* Documented in history_core.h */
+/* Documented in local_history.h */
const char *history_entry_get_fragment_id(const struct history_entry *entry)
{
return entry->page.frag_id;
}
-/* Documented in history_core.h */
+/* Documented in local_history.h */
const char *history_entry_get_title(const struct history_entry *entry)
{
return entry->page.title;
diff --git a/desktop/history_core.h b/desktop/local_history.h
index 76f39a7c7..76f39a7c7 100644
--- a/desktop/history_core.h
+++ b/desktop/local_history.h