readHistoryAll

Reads all the history for all the web browsers.

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

Parameters

each_row_cb void delegate
(
string url
,)

The callback to fire for each row in the history.

Examples

import derelict.sqlite3.sqlite : DerelictSQLite3;
DerelictSQLite3.load();

int[string] data;
web_browser_history.readHistoryAll(delegate(string url, int visit_count) {
	data[url] = visit_count;
});

// data output
// ["https://dlang.org/":3, "https://www.google.com/":7, "https://www.reddit.com/":1, "https://slashdot.org/":7]

Meta