readHistoryAll

Reads all the history for all the web browsers.

void
readHistoryAll
(
void delegate(
string url
,
)
each_row_cb
)

Parameters

each_row_cb
Type: void delegate(
string url
,
)

The callback to fire for each row in the history.

Examples

1 import derelict.sqlite3.sqlite : DerelictSQLite3;
2 DerelictSQLite3.load();
3 
4 int[string] data;
5 web_browser_history.readHistoryAll(delegate(string url, int visit_count) {
6 	data[url] = visit_count;
7 });
8 
9 // data output
10 // ["https://dlang.org/":3, "https://www.google.com/":7, "https://www.reddit.com/":1, "https://slashdot.org/":7]

Meta