~midori/midori/gtk3WebKit2only

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 Copyright (C) 2008-2013 Christian Dywan <christian@twotoasts.de>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 See the file COPYING for the full license text.
*/

#ifndef __PRIVATE_DATA_H__
#define __PRIVATE_DATA_H__ 1

#include <midori/midori-browser.h>
#include "katze/katze.h"

GtkWidget*
midori_private_data_get_dialog (MidoriBrowser* browser);

void
midori_private_data_register_built_ins ();

void
midori_private_data_clear_all (MidoriBrowser* browser);

void
midori_private_data_on_quit (MidoriWebSettings* settings);

typedef struct
{
    gchar* name;
    gchar* label;
    GCallback clear;
} MidoriPrivateDataItem;

GList*
midori_private_data_register_item (const gchar* name,
                                   const gchar* label,
                                   GCallback    clear);

#endif /* !__SOKOKE_H__ */