aboutsummaryrefslogtreecommitdiffstats
path: root/src/adblock-ui.h
blob: b308e849f179a3fab6a9328803805a821de29010 (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 *  Copyright © 2011 Igalia S.L.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef ADBLOCK_UI_H
#define ADBLOCK_UI_H

#include "ephy-dialog.h"
#include "uri-tester.h"

#include <glib-object.h>
#include <glib.h>

G_BEGIN_DECLS

#define TYPE_ADBLOCK_UI         (adblock_ui_get_type ())
#define ADBLOCK_UI(o)           (G_TYPE_CHECK_INSTANCE_CAST((o), TYPE_ADBLOCK_UI, AdblockUI))
#define ADBLOCK_UI_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), TYPE_ADBLOCK_UI, AdblockUIClass))
#define IS_ADBLOCK_UI(o)        (G_TYPE_CHECK_INSTANCE_TYPE((o), TYPE_ADBLOCK_UI))
#define IS_ADBLOCK_UI_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE((k), TYPE_ADBLOCK_UI))
#define ADBLOCK_UI_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), TYPE_ADBLOCK_UI, AdblockUIClass))

typedef struct _AdblockUI        AdblockUI;
typedef struct _AdblockUIClass   AdblockUIClass;
typedef struct _AdblockUIPrivate AdblockUIPrivate;

struct _AdblockUI
{
  EphyDialog parent;

  /*< private >*/
  AdblockUIPrivate *priv;
};

struct _AdblockUIClass
{
  EphyDialogClass parent_class;
};

GType      adblock_ui_get_type (void);

void       adblock_ui_register (GTypeModule *module);

AdblockUI *adblock_ui_new      (UriTester *tester);

G_END_DECLS

#endif