• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 WEBKIT_DEFINES_H
22 #define WEBKIT_DEFINES_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 
42 G_BEGIN_DECLS
43 
44 typedef struct _WebKitNetworkRequest WebKitNetworkRequest;
45 typedef struct _WebKitNetworkRequestClass WebKitNetworkRequestClass;
46 
47 typedef struct _WebKitWebBackForwardList WebKitWebBackForwardList;
48 typedef struct _WebKitWebBackForwardListClass WebKitWebBackForwardListClass;
49 
50 typedef struct _WebKitWebHistoryItem WebKitWebHistoryItem;
51 typedef struct _WebKitWebHistoryItemClass WebKitWebHistoryItemClass;
52 
53 typedef struct _WebKitWebFrame WebKitWebFrame;
54 typedef struct _WebKitWebFrameClass WebKitWebFrameClass;
55 
56 typedef struct _WebKitWebPolicyDecision WebKitWebPolicyDecision;
57 typedef struct _WebKitWebPolicyDecisionClass WebKitWebPolicyDecisionClass;
58 
59 typedef struct _WebKitWebSettings WebKitWebSettings;
60 typedef struct _WebKitWebSettingsClass WebKitWebSettingsClass;
61 
62 typedef struct _WebKitWebInspector WebKitWebInspector;
63 typedef struct _WebKitWebInspectorClass WebKitWebInspectorClass;
64 
65 typedef struct _WebKitWebWindowFeatures WebKitWebWindowFeatures;
66 typedef struct _WebKitWebWindowFeaturesClass WebKitWebWindowFeaturesClass;
67 
68 typedef struct _WebKitWebView WebKitWebView;
69 typedef struct _WebKitWebViewClass WebKitWebViewClass;
70 
71 typedef struct _WebKitDownload WebKitDownload;
72 typedef struct _WebKitDownloadClass WebKitDownloadClass;
73 
74 G_END_DECLS
75 
76 #endif
77