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 42 G_BEGIN_DECLS 43 44 typedef struct _WebKitIconDatabase WebKitIconDatabase; 45 typedef struct _WebKitIconDatabaseClass WebKitIconDatabaseClass; 46 47 typedef struct _WebKitNetworkRequest WebKitNetworkRequest; 48 typedef struct _WebKitNetworkRequestClass WebKitNetworkRequestClass; 49 50 typedef struct _WebKitNetworkResponse WebKitNetworkResponse; 51 typedef struct _WebKitNetworkResponseClass WebKitNetworkResponseClass; 52 53 typedef struct _WebKitWebBackForwardList WebKitWebBackForwardList; 54 typedef struct _WebKitWebBackForwardListClass WebKitWebBackForwardListClass; 55 56 typedef struct _WebKitWebHistoryItem WebKitWebHistoryItem; 57 typedef struct _WebKitWebHistoryItemClass WebKitWebHistoryItemClass; 58 59 typedef struct _WebKitWebFrame WebKitWebFrame; 60 typedef struct _WebKitWebFrameClass WebKitWebFrameClass; 61 62 typedef struct _WebKitWebPolicyDecision WebKitWebPolicyDecision; 63 typedef struct _WebKitWebPolicyDecisionClass WebKitWebPolicyDecisionClass; 64 65 typedef struct _WebKitWebSettings WebKitWebSettings; 66 typedef struct _WebKitWebSettingsClass WebKitWebSettingsClass; 67 68 typedef struct _WebKitWebInspector WebKitWebInspector; 69 typedef struct _WebKitWebInspectorClass WebKitWebInspectorClass; 70 71 typedef struct _WebKitWebWindowFeatures WebKitWebWindowFeatures; 72 typedef struct _WebKitWebWindowFeaturesClass WebKitWebWindowFeaturesClass; 73 74 typedef struct _WebKitWebView WebKitWebView; 75 typedef struct _WebKitWebViewClass WebKitWebViewClass; 76 77 typedef struct _WebKitDownload WebKitDownload; 78 typedef struct _WebKitDownloadClass WebKitDownloadClass; 79 80 typedef struct _WebKitWebResource WebKitWebResource; 81 typedef struct _WebKitWebResourceClass WebKitWebResourceClass; 82 83 typedef struct _WebKitWebDataSource WebKitWebDataSource; 84 typedef struct _WebKitWebDataSourceClass WebKitWebDataSourceClass; 85 86 typedef struct _WebKitWebDatabase WebKitWebDatabase; 87 typedef struct _WebKitWebDatabaseClass WebKitWebDatabaseClass; 88 89 typedef struct _WebKitSecurityOrigin WebKitSecurityOrigin; 90 typedef struct _WebKitSecurityOriginClass WebKitSecurityOriginClass; 91 92 typedef struct _WebKitHitTestResult WebKitHitTestResult; 93 typedef struct _WebKitHitTestResultClass WebKitHitTestResultClass; 94 95 typedef struct _WebKitGeolocationPolicyDecision WebKitGeolocationPolicyDecision; 96 typedef struct _WebKitGeolocationPolicyDecisionClass WebKitGeolocationPolicyDecisionClass; 97 98 typedef struct _WebKitViewportAttributes WebKitViewportAttributes; 99 typedef struct _WebKitViewportAttributesClass WebKitViewportAttributesClass; 100 101 typedef struct _WebKitWebPluginDatabase WebKitWebPluginDatabase; 102 typedef struct _WebKitWebPluginDatabaseClass WebKitWebPluginDatabaseClass; 103 104 typedef struct _WebKitWebPlugin WebKitWebPlugin; 105 typedef struct _WebKitWebPluginClass WebKitWebPluginClass; 106 107 G_END_DECLS 108 109 #endif 110