~midori/midori/gtk3WebKit2only

5493 by Christian Dywan
Converge private data registration and dialog
1
/*
6159.1.1 by Cody Garver
Update dates to 2013.
2
 Copyright (C) 2008-2013 Christian Dywan <christian@twotoasts.de>
5493 by Christian Dywan
Converge private data registration and dialog
3
4
 This library is free software; you can redistribute it and/or
5
 modify it under the terms of the GNU Lesser General Public
6
 License as published by the Free Software Foundation; either
7
 version 2.1 of the License, or (at your option) any later version.
8
9
 See the file COPYING for the full license text.
10
*/
11
12
#ifndef __PRIVATE_DATA_H__
13
#define __PRIVATE_DATA_H__ 1
14
15
#include <midori/midori-browser.h>
5773 by André Stösel
Use one central point to include webkit.h
16
#include "katze/katze.h"
5493 by Christian Dywan
Converge private data registration and dialog
17
18
GtkWidget*
19
midori_private_data_get_dialog (MidoriBrowser* browser);
20
21
void
22
midori_private_data_register_built_ins ();
23
24
void
25
midori_private_data_clear_all (MidoriBrowser* browser);
26
27
void
28
midori_private_data_on_quit (MidoriWebSettings* settings);
29
30
typedef struct
31
{
32
    gchar* name;
33
    gchar* label;
34
    GCallback clear;
35
} MidoriPrivateDataItem;
36
37
GList*
38
midori_private_data_register_item (const gchar* name,
39
                                   const gchar* label,
40
                                   GCallback    clear);
41
42
#endif /* !__SOKOKE_H__ */
43