summaryrefslogtreecommitdiff
path: root/src/visited.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/visited.h')
-rw-r--r--src/visited.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/visited.h b/src/visited.h
new file mode 100644
index 00000000..2f8382c7
--- /dev/null
+++ b/src/visited.h
@@ -0,0 +1,25 @@
1#pragma once
2
3#include "gmrequest.h"
4
5#include <the_Foundation/array.h>
6#include <the_Foundation/string.h>
7#include <the_Foundation/time.h>
8
9iDeclareType(VisitedUrl)
10iDeclareTypeConstruction(VisitedUrl)
11
12struct Impl_VisitedUrl {
13 iString url;
14 iTime when;
15};
16
17iDeclareType(Visited)
18iDeclareTypeConstruction(Visited)
19
20void clear_Visited (iVisited *);
21void load_Visited (iVisited *, const char *dirPath);
22void save_Visited (const iVisited *, const char *dirPath);
23
24iTime urlVisitTime_Visited (const iVisited *, const iString *url);
25void visitUrl_Visited (iVisited *, const iString *url); /* adds URL to the visited URLs set */