1/*
2 * Copyright (C) 2007 Holger Hans Peter Freyther
3 * Copyright (C) 2008 Collabora Ltd.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB.  If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef webkitdefines_h
22#define webkitdefines_h
23
24#include <glib.h>
25
26#ifdef G_OS_WIN32
27    #ifdef BUILDING_WEBKIT
28        #define WEBKIT_API __declspec(dllexport)
29    #else
30        #define WEBKIT_API __declspec(dllimport)
31    #endif
32    #define WEBKIT_OBSOLETE_API WEBKIT_API
33#else
34    #define WEBKIT_API __attribute__((visibility("default")))
35    #define WEBKIT_OBSOLETE_API WEBKIT_API __attribute__((deprecated))
36#endif
37
38#ifndef WEBKIT_API
39    #define WEBKIT_API
40#endif
41
42G_BEGIN_DECLS
43
44typedef struct _WebKitIconDatabase WebKitIconDatabase;
45typedef struct _WebKitIconDatabaseClass WebKitIconDatabaseClass;
46
47typedef struct _WebKitNetworkRequest WebKitNetworkRequest;
48typedef struct _WebKitNetworkRequestClass WebKitNetworkRequestClass;
49
50typedef struct _WebKitNetworkResponse WebKitNetworkResponse;
51typedef struct _WebKitNetworkResponseClass WebKitNetworkResponseClass;
52
53typedef struct _WebKitWebBackForwardList WebKitWebBackForwardList;
54typedef struct _WebKitWebBackForwardListClass WebKitWebBackForwardListClass;
55
56typedef struct _WebKitWebHistoryItem WebKitWebHistoryItem;
57typedef struct _WebKitWebHistoryItemClass WebKitWebHistoryItemClass;
58
59typedef struct _WebKitWebFrame WebKitWebFrame;
60typedef struct _WebKitWebFrameClass WebKitWebFrameClass;
61
62typedef struct _WebKitWebPolicyDecision WebKitWebPolicyDecision;
63typedef struct _WebKitWebPolicyDecisionClass WebKitWebPolicyDecisionClass;
64
65typedef struct _WebKitWebSettings WebKitWebSettings;
66typedef struct _WebKitWebSettingsClass WebKitWebSettingsClass;
67
68typedef struct _WebKitWebInspector WebKitWebInspector;
69typedef struct _WebKitWebInspectorClass WebKitWebInspectorClass;
70
71typedef struct _WebKitWebWindowFeatures WebKitWebWindowFeatures;
72typedef struct _WebKitWebWindowFeaturesClass WebKitWebWindowFeaturesClass;
73
74typedef struct _WebKitWebView WebKitWebView;
75typedef struct _WebKitWebViewClass WebKitWebViewClass;
76
77typedef struct _WebKitDownload WebKitDownload;
78typedef struct _WebKitDownloadClass WebKitDownloadClass;
79
80typedef struct _WebKitWebResource WebKitWebResource;
81typedef struct _WebKitWebResourceClass WebKitWebResourceClass;
82
83typedef struct _WebKitWebDataSource WebKitWebDataSource;
84typedef struct _WebKitWebDataSourceClass WebKitWebDataSourceClass;
85
86typedef struct _WebKitWebDatabase WebKitWebDatabase;
87typedef struct _WebKitWebDatabaseClass WebKitWebDatabaseClass;
88
89typedef struct _WebKitSecurityOrigin WebKitSecurityOrigin;
90typedef struct _WebKitSecurityOriginClass WebKitSecurityOriginClass;
91
92typedef struct _WebKitHitTestResult WebKitHitTestResult;
93typedef struct _WebKitHitTestResultClass WebKitHitTestResultClass;
94
95typedef struct _WebKitGeolocationPolicyDecision WebKitGeolocationPolicyDecision;
96typedef struct _WebKitGeolocationPolicyDecisionClass WebKitGeolocationPolicyDecisionClass;
97
98typedef struct _WebKitViewportAttributes WebKitViewportAttributes;
99typedef struct _WebKitViewportAttributesClass WebKitViewportAttributesClass;
100
101typedef struct _WebKitWebPluginDatabase        WebKitWebPluginDatabase;
102typedef struct _WebKitWebPluginDatabaseClass   WebKitWebPluginDatabaseClass;
103
104typedef struct _WebKitWebPlugin      WebKitWebPlugin;
105typedef struct _WebKitWebPluginClass WebKitWebPluginClass;
106
107G_END_DECLS
108
109#endif
110