2 ; object definitions ...
7 (gtype-id "EPHY_TYPE_HISTORY")
10 (define-object HistoryNode
13 (c-name "EphyHistoryNode")
14 (gtype-id "EPHY_TYPE_HISTORY_NODE")
17 (define-object HistoryPageNode
19 (parent "EphyHistoryNode")
20 (c-name "EphyHistoryPageNode")
21 (gtype-id "EPHY_TYPE_HISTORY_PAGE_NODE")
24 (define-object HistoryVisitNode
27 (c-name "EphyHistoryVisitNode")
28 (gtype-id "EPHY_TYPE_HISTORY_VISIT_NODE")
31 ;; Enumerations and flags ...
34 ;; From ephy-history.h
36 (define-function ephy_history_get_type
37 (c-name "ephy_history_get_type")
41 (define-function ephy_history_new
42 (c-name "ephy_history_new")
43 (is-constructor-of "EphyHistory")
44 (return-type "EphyHistory*")
47 (define-method is_enabled
48 (of-object "EphyHistory")
49 (c-name "ephy_history_is_enabled")
50 (return-type "gboolean")
53 (define-method get_page_visit_count
54 (of-object "EphyHistory")
55 (c-name "ephy_history_get_page_visit_count")
58 '("const-char*" "url")
62 (define-method get_hosts
63 (of-object "EphyHistory")
64 (c-name "ephy_history_get_hosts")
65 (return-type "GPtrArray*")
68 (define-method get_pages
69 (of-object "EphyHistory")
70 (c-name "ephy_history_get_pages")
71 (return-type "GPtrArray*")
74 (define-method set_icon
75 (of-object "EphyHistory")
76 (c-name "ephy_history_set_icon")
77 (return-type "gboolean")
79 '("const-char*" "url")
80 '("const-char*" "icon")
84 (define-method get_icon
85 (of-object "EphyHistory")
86 (c-name "ephy_history_get_icon")
87 (return-type "const-char*")
89 '("const-char*" "url")
94 (of-object "EphyHistory")
95 (c-name "ephy_history_clear")
99 (define-method add_page
100 (of-object "EphyHistory")
101 (c-name "ephy_history_add_page")
102 (return-type "gboolean")
104 '("const-char*" "url")
105 '("gboolean" "redirect")
106 '("gboolean" "toplevel")
107 '("const-char*" "ref_url")
111 (define-method is_page_visited
112 (of-object "EphyHistory")
113 (c-name "ephy_history_is_page_visited")
114 (return-type "gboolean")
116 '("const-char*" "url")
120 (define-method set_page_title
121 (of-object "EphyHistory")
122 (c-name "ephy_history_set_page_title")
123 (return-type "gboolean")
125 '("const-char*" "url")
126 '("const-char*" "title")
130 (define-method get_page_ids
131 (of-object "EphyHistory")
132 (c-name "ephy_history_get_page_ids")
133 (return-type "GArray*")
136 (define-method get_page_by_id
137 (of-object "EphyHistory")
138 (c-name "ephy_history_get_page_by_id")
139 (return-type "EphyHistoryPageNode*")
147 ;; From ephy-history-node.h
149 (define-function ephy_history_node_get_type
150 (c-name "ephy_history_node_get_type")
151 (return-type "GType")
156 ;; From ephy-history-page-node.h
158 (define-function ephy_history_page_node_get_type
159 (c-name "ephy_history_page_node_get_type")
160 (return-type "GType")
163 (define-function ephy_history_page_node_new
164 (c-name "ephy_history_page_node_new")
165 (is-constructor-of "EphyHistoryPageNode")
166 (return-type "EphyHistoryPageNode*")
169 '("const-char*" "uri")
170 '("const-char*" "title")
171 '("const-char*" "favicon_uri")
172 '("guint" "visit_count")
173 '("guint64" "last_visit")
178 (of-object "EphyHistoryPageNode")
179 (c-name "ephy_history_page_node_free")
185 ;; From ephy-history-visit-node.h
187 (define-function ephy_history_visit_node_get_type
188 (c-name "ephy_history_visit_node_get_type")
189 (return-type "GType")