2 * Copyright (C) 2007 Holger Hans Peter Freyther
3 * Copyright (C) 2008 Collabora Ltd.
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.
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.
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.
21 #ifndef webkitdefines_h
22 #define webkitdefines_h
27 #ifdef BUILDING_WEBKIT
28 #define WEBKIT_API __declspec(dllexport)
30 #define WEBKIT_API __declspec(dllimport)
32 #define WEBKIT_OBSOLETE_API WEBKIT_API
34 #define WEBKIT_API __attribute__((visibility("default")))
35 #define WEBKIT_OBSOLETE_API WEBKIT_API __attribute__((deprecated))
44 typedef struct _WebKitIconDatabase WebKitIconDatabase;
45 typedef struct _WebKitIconDatabaseClass WebKitIconDatabaseClass;
47 typedef struct _WebKitNetworkRequest WebKitNetworkRequest;
48 typedef struct _WebKitNetworkRequestClass WebKitNetworkRequestClass;
50 typedef struct _WebKitNetworkResponse WebKitNetworkResponse;
51 typedef struct _WebKitNetworkResponseClass WebKitNetworkResponseClass;
53 typedef struct _WebKitWebBackForwardList WebKitWebBackForwardList;
54 typedef struct _WebKitWebBackForwardListClass WebKitWebBackForwardListClass;
56 typedef struct _WebKitWebHistoryItem WebKitWebHistoryItem;
57 typedef struct _WebKitWebHistoryItemClass WebKitWebHistoryItemClass;
59 typedef struct _WebKitWebFrame WebKitWebFrame;
60 typedef struct _WebKitWebFrameClass WebKitWebFrameClass;
62 typedef struct _WebKitWebPolicyDecision WebKitWebPolicyDecision;
63 typedef struct _WebKitWebPolicyDecisionClass WebKitWebPolicyDecisionClass;
65 typedef struct _WebKitWebSettings WebKitWebSettings;
66 typedef struct _WebKitWebSettingsClass WebKitWebSettingsClass;
68 typedef struct _WebKitWebInspector WebKitWebInspector;
69 typedef struct _WebKitWebInspectorClass WebKitWebInspectorClass;
71 typedef struct _WebKitWebWindowFeatures WebKitWebWindowFeatures;
72 typedef struct _WebKitWebWindowFeaturesClass WebKitWebWindowFeaturesClass;
74 typedef struct _WebKitWebView WebKitWebView;
75 typedef struct _WebKitWebViewClass WebKitWebViewClass;
77 typedef struct _WebKitDownload WebKitDownload;
78 typedef struct _WebKitDownloadClass WebKitDownloadClass;
80 typedef struct _WebKitWebResource WebKitWebResource;
81 typedef struct _WebKitWebResourceClass WebKitWebResourceClass;
83 typedef struct _WebKitWebDataSource WebKitWebDataSource;
84 typedef struct _WebKitWebDataSourceClass WebKitWebDataSourceClass;
86 typedef struct _WebKitWebDatabase WebKitWebDatabase;
87 typedef struct _WebKitWebDatabaseClass WebKitWebDatabaseClass;
89 typedef struct _WebKitSecurityOrigin WebKitSecurityOrigin;
90 typedef struct _WebKitSecurityOriginClass WebKitSecurityOriginClass;
92 typedef struct _WebKitHitTestResult WebKitHitTestResult;
93 typedef struct _WebKitHitTestResultClass WebKitHitTestResultClass;
95 typedef struct _WebKitGeolocationPolicyDecision WebKitGeolocationPolicyDecision;
96 typedef struct _WebKitGeolocationPolicyDecisionClass WebKitGeolocationPolicyDecisionClass;
98 typedef struct _WebKitViewportAttributes WebKitViewportAttributes;
99 typedef struct _WebKitViewportAttributesClass WebKitViewportAttributesClass;
101 typedef struct _WebKitWebPluginDatabase WebKitWebPluginDatabase;
102 typedef struct _WebKitWebPluginDatabaseClass WebKitWebPluginDatabaseClass;
104 typedef struct _WebKitWebPlugin WebKitWebPlugin;
105 typedef struct _WebKitWebPluginClass WebKitWebPluginClass;
107 typedef struct _WebKitSpellChecker WebKitSpellChecker; /* dummy typedef */
108 typedef struct _WebKitSpellCheckerInterface WebKitSpellCheckerInterface;