blob: 2504738306d2828e4e264d1f6aad1186d84c7bdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "gmrequest.h"
#include <the_Foundation/ptrarray.h>
#include <the_Foundation/string.h>
#include <the_Foundation/time.h>
iDeclareType(VisitedUrl)
iDeclareTypeConstruction(VisitedUrl)
struct Impl_VisitedUrl {
iString url;
iTime when;
};
iDeclareType(Visited)
iDeclareTypeConstruction(Visited)
void clear_Visited (iVisited *);
void load_Visited (iVisited *, const char *dirPath);
void save_Visited (const iVisited *, const char *dirPath);
iTime urlVisitTime_Visited (const iVisited *, const iString *url);
void visitUrl_Visited (iVisited *, const iString *url); /* adds URL to the visited URLs set */
void removeUrl_Visited (iVisited *, const iString *url);
const iPtrArray * list_Visited (const iVisited *, size_t count); /* returns collected */
|