123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924 |
- /*
- * Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
- #ifndef __WebKitAvailability__
- #define __WebKitAvailability__
- /* The structure of this header is based on AvailabilityMacros.h. The major difference is that the availability
- macros are defined in terms of WebKit version numbers rather than Mac OS X system version numbers, as WebKit
- releases span multiple versions of Mac OS X.
- */
- #define WEBKIT_VERSION_1_0 0x0100
- #define WEBKIT_VERSION_1_1 0x0110
- #define WEBKIT_VERSION_1_2 0x0120
- #define WEBKIT_VERSION_1_3 0x0130
- #define WEBKIT_VERSION_2_0 0x0200
- #define WEBKIT_VERSION_3_0 0x0300
- #define WEBKIT_VERSION_3_1 0x0310
- #define WEBKIT_VERSION_4_0 0x0400
- #define WEBKIT_VERSION_LATEST 0x9999
- #ifdef __APPLE__
- #include <AvailabilityMacros.h>
- #else
- /*
- * For non-Mac platforms, require the newest version.
- */
- #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_LATEST
- /*
- * only certain compilers support __attribute__((deprecated))
- */
- #if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
- #define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
- #else
- #define DEPRECATED_ATTRIBUTE
- #endif
- #endif
- /* The versions of GCC that shipped with Xcode prior to 3.0 (GCC build number < 5400) did not support attributes on methods.
- If we are building with one of these versions, we need to omit the attribute. We achieve this by wrapping the annotation
- in WEBKIT_OBJC_METHOD_ANNOTATION, which will remove the annotation when an old version of GCC is in use and will otherwise
- expand to the annotation. The same is needed for protocol methods.
- */
- #if defined(__APPLE_CC__) && __APPLE_CC__ < 5400
- #define WEBKIT_OBJC_METHOD_ANNOTATION(ANNOTATION)
- #else
- #define WEBKIT_OBJC_METHOD_ANNOTATION(ANNOTATION) ANNOTATION
- #endif
- /* If minimum WebKit version is not specified, assume the version that shipped with the target Mac OS X version */
- #ifndef WEBKIT_VERSION_MIN_REQUIRED
- #if !defined(MAC_OS_X_VERSION_10_2) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_2
- #error WebKit was not available prior to Mac OS X 10.2
- #elif !defined(MAC_OS_X_VERSION_10_3) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_3
- /* WebKit 1.0 is the only version available on Mac OS X 10.2. */
- #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_1_0
- #elif !defined(MAC_OS_X_VERSION_10_4) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4
- /* WebKit 1.1 is the version that shipped on Mac OS X 10.3. */
- #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_1_1
- #elif !defined(MAC_OS_X_VERSION_10_5) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
- /* WebKit 2.0 is the version that shipped on Mac OS X 10.4. */
- #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_2_0
- #elif !defined(MAC_OS_X_VERSION_10_6) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
- /* WebKit 3.0 is the version that shipped on Mac OS X 10.5. */
- #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_3_0
- #elif !defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
- /* WebKit 4.0 is the version that shipped on Mac OS X 10.6. */
- #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_4_0
- #else
- #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_LATEST
- #endif
- #endif
- /* If maximum WebKit version is not specified, assume largerof(latest, minimum) */
- #ifndef WEBKIT_VERSION_MAX_ALLOWED
- #if WEBKIT_VERSION_MIN_REQUIRED > WEBKIT_VERSION_LATEST
- #define WEBKIT_VERSION_MAX_ALLOWED WEBKIT_VERSION_MIN_REQUIRED
- #else
- #define WEBKIT_VERSION_MAX_ALLOWED WEBKIT_VERSION_LATEST
- #endif
- #endif
- /* Sanity check the configured values */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_MIN_REQUIRED
- #error WEBKIT_VERSION_MAX_ALLOWED must be >= WEBKIT_VERSION_MIN_REQUIRED
- #endif
- #if WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_0
- #error WEBKIT_VERSION_MIN_REQUIRED must be >= WEBKIT_VERSION_1_0
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- *
- * Used on functions introduced in WebKit 1.0
- */
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED
- *
- * Used on functions introduced in WebKit 1.0,
- * and deprecated in WebKit 1.0
- */
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_1_0_AND_LATER
- *
- * Used on types deprecated in WebKit 1.0
- */
- #define DEPRECATED_IN_WEBKIT_VERSION_1_0_AND_LATER DEPRECATED_ATTRIBUTE
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- *
- * Used on declarations introduced in WebKit 1.1
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_1_1
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_1
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED
- *
- * Used on declarations introduced in WebKit 1.1,
- * and deprecated in WebKit 1.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_1
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_1
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated in WebKit 1.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_1
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_1 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_1 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_1_1_AND_LATER
- *
- * Used on types deprecated in WebKit 1.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_1
- #define DEPRECATED_IN_WEBKIT_VERSION_1_1_AND_LATER DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_IN_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- *
- * Used on declarations introduced in WebKit 1.2
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_1_2
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_2
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED
- *
- * Used on declarations introduced in WebKit 1.2,
- * and deprecated in WebKit 1.2
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated in WebKit 1.2
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2
- *
- * Used on declarations introduced in WebKit 1.1,
- * but later deprecated in WebKit 1.2
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_1_2_AND_LATER
- *
- * Used on types deprecated in WebKit 1.2
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
- #define DEPRECATED_IN_WEBKIT_VERSION_1_2_AND_LATER DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_IN_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- *
- * Used on declarations introduced in WebKit 1.3
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_1_3
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_3
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED
- *
- * Used on declarations introduced in WebKit 1.3,
- * and deprecated in WebKit 1.3
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated in WebKit 1.3
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3
- *
- * Used on declarations introduced in WebKit 1.1,
- * but later deprecated in WebKit 1.3
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3
- *
- * Used on declarations introduced in WebKit 1.2,
- * but later deprecated in WebKit 1.3
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_1_3_AND_LATER
- *
- * Used on types deprecated in WebKit 1.3
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
- #define DEPRECATED_IN_WEBKIT_VERSION_1_3_AND_LATER DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_IN_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
- *
- * Used on declarations introduced in WebKit 2.0
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_2_0
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_2_0
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED
- *
- * Used on declarations introduced in WebKit 2.0,
- * and deprecated in WebKit 2.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated in WebKit 2.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
- *
- * Used on declarations introduced in WebKit 1.1,
- * but later deprecated in WebKit 2.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
- *
- * Used on declarations introduced in WebKit 1.2,
- * but later deprecated in WebKit 2.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
- *
- * Used on declarations introduced in WebKit 1.3,
- * but later deprecated in WebKit 2.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_2_0_AND_LATER
- *
- * Used on types deprecated in WebKit 2.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
- #define DEPRECATED_IN_WEBKIT_VERSION_2_0_AND_LATER DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_IN_WEBKIT_VERSION_2_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
- *
- * Used on declarations introduced in WebKit 3.0
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED
- *
- * Used on declarations introduced in WebKit 3.0,
- * and deprecated in WebKit 3.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated in WebKit 3.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
- *
- * Used on declarations introduced in WebKit 1.1,
- * but later deprecated in WebKit 3.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
- *
- * Used on declarations introduced in WebKit 1.2,
- * but later deprecated in WebKit 3.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
- *
- * Used on declarations introduced in WebKit 1.3,
- * but later deprecated in WebKit 3.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
- *
- * Used on declarations introduced in WebKit 2.0,
- * but later deprecated in WebKit 3.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
- #endif
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_3_0_AND_LATER
- *
- * Used on types deprecated in WebKit 3.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
- #define DEPRECATED_IN_WEBKIT_VERSION_3_0_AND_LATER DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_IN_WEBKIT_VERSION_3_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
- *
- * Used on declarations introduced in WebKit 3.1
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED
- *
- * Used on declarations introduced in WebKit 3.1,
- * and deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
- *
- * Used on declarations introduced in WebKit 1.1,
- * but later deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
- *
- * Used on declarations introduced in WebKit 1.2,
- * but later deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
- *
- * Used on declarations introduced in WebKit 1.3,
- * but later deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
- *
- * Used on declarations introduced in WebKit 2.0,
- * but later deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
- *
- * Used on declarations introduced in WebKit 3.0,
- * but later deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
- #endif
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_3_1_AND_LATER
- *
- * Used on types deprecated in WebKit 3.1
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
- #define DEPRECATED_IN_WEBKIT_VERSION_3_1_AND_LATER DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_IN_WEBKIT_VERSION_3_1_AND_LATER
- #endif
- /*
- * AVAILABLE_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 4.0
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_4_0
- #define AVAILABLE_IN_WEBKIT_VERSION_4_0 UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_4_0
- #define AVAILABLE_IN_WEBKIT_VERSION_4_0 WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_IN_WEBKIT_VERSION_4_0
- #endif
- /*
- * AVAILABLE_IN_WEBKIT_VERSION_4_0_BUT_DEPRECATED
- *
- * Used on declarations introduced in WebKit 4.0,
- * and deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_IN_WEBKIT_VERSION_4_0_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_IN_WEBKIT_VERSION_4_0_BUT_DEPRECATED AVAILABLE_IN_WEBKIT_VERSION_4_0
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.1,
- * but later deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.2,
- * but later deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.3,
- * but later deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 2.0,
- * but later deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 3.0,
- * but later deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 3.1,
- * but later deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
- #endif
- /*
- * DEPRECATED_IN_WEBKIT_VERSION_4_0
- *
- * Used on types deprecated in WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
- #define DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_IN_WEBKIT_VERSION_4_0
- #endif
- /*
- * AVAILABLE_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced after WebKit 4.0
- */
- #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_LATEST
- #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0 UNAVAILABLE_ATTRIBUTE
- #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_LATEST
- #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0 WEAK_IMPORT_ATTRIBUTE
- #else
- #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0
- #endif
- /*
- * AVAILABLE_AFTER_WEBKIT_VERSION_4_0_BUT_DEPRECATED
- *
- * Used on declarations introduced after WebKit 4.0,
- * and deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0_BUT_DEPRECATED AVAILABLE_AFTER_WEBKIT_VERSION_4_0
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.0,
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.1,
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.2,
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 1.3,
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 2.0,
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 3.0,
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 3.1,
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
- #endif
- /*
- * AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on declarations introduced in WebKit 4.0
- * but later deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER
- #endif
- /*
- * DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- *
- * Used on types deprecated after WebKit 4.0
- */
- #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
- #define DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
- #else
- #define DEPRECATED_AFTER_WEBKIT_VERSION_4_0
- #endif
- /*
- * AVAILABLE_AFTER_WEBKIT_VERSION_5_1
- *
- * Used on functions introduced after WebKit 5.1
- */
- #define AVAILABLE_AFTER_WEBKIT_VERSION_5_1
- /* AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_5_1
- *
- * Used on declarations introduced in WebKit 1.3,
- * but later deprecated after WebKit 5.1
- */
- #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_5_1
- #endif /* __WebKitAvailability__ */
|