1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3
* Copyright (C) 2011 Canonical, Ltd.
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of version 2 of the GNU Lesser General Public
7
* License as published by the Free Software Foundation.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
* Boston, MA 02110-1301, USA.
20
#ifndef __U1_REQUEST_CHROME_H__
21
#define __U1_REQUEST_CHROME_H__
23
#define LIBSOUP_USE_UNSTABLE_REQUEST_API
24
#include <libsoup/soup-request.h>
26
#define U1_TYPE_REQUEST_CHROME (u1_request_chrome_get_type ())
27
#define U1_REQUEST_CHROME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), U1_TYPE_REQUEST_CHROME, U1RequestChrome))
28
#define U1_IS_REQUEST_CHROME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), U1_TYPE_REQUEST_CHROME))
29
#define U1_REQUEST_CHROME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), U1_TYPE_REQUEST_CHROME, U1RequestChrome))
30
#define U1_IS_REQUEST_CHROME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), U1_TYPE_REQUEST_CHROME))
31
#define U1_REQUEST_CHROME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), U1_TYPE_REQUEST_CHROME, U1RequestChrome))
33
typedef struct _U1RequestChrome U1RequestChrome;
34
typedef struct _U1RequestChromeClass U1RequestChromeClass;
35
typedef struct _U1RequestChromePrivate U1RequestChromePrivate;
37
struct _U1RequestChrome {
40
U1RequestChromePrivate *priv;
43
struct _U1RequestChromeClass {
44
SoupRequestClass parent_class;
47
GType u1_request_chrome_get_type (void);