diff options
Diffstat (limited to 'src/visited.h')
-rw-r--r-- | src/visited.h | 25 |
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 | |||
9 | iDeclareType(VisitedUrl) | ||
10 | iDeclareTypeConstruction(VisitedUrl) | ||
11 | |||
12 | struct Impl_VisitedUrl { | ||
13 | iString url; | ||
14 | iTime when; | ||
15 | }; | ||
16 | |||
17 | iDeclareType(Visited) | ||
18 | iDeclareTypeConstruction(Visited) | ||
19 | |||
20 | void clear_Visited (iVisited *); | ||
21 | void load_Visited (iVisited *, const char *dirPath); | ||
22 | void save_Visited (const iVisited *, const char *dirPath); | ||
23 | |||
24 | iTime urlVisitTime_Visited (const iVisited *, const iString *url); | ||
25 | void visitUrl_Visited (iVisited *, const iString *url); /* adds URL to the visited URLs set */ | ||