/*
  Copyright (C) 2014 Red Hat, Inc.

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __SPICE_VERSION_H__
#define __SPICE_VERSION_H__

#if !defined(__SPICE_CLIENT_H_INSIDE__) && !defined(SPICE_COMPILATION)
#warning "Only <spice-client.h> can be included directly"
#endif

/**
 * SECTION:spice-version
 * @short_description: Spice-Gtk version checking
 * @title: Version Information
 * @include: spice-version.h
 *
 * Spice-Gtk provides macros to check the version of the library
 * at compile-time
 */

/**
 * SPICE_GTK_MAJOR_VERSION:
 *
 * Spice-Gtk major version component (e.g. 1 if version is 1.2.3)
 * Since: 0.24
 */
#define SPICE_GTK_MAJOR_VERSION              (0)

/**
 * SPICE_GTK_MINOR_VERSION:
 *
 * Spice-Gtk minor version component (e.g. 2 if version is 1.2.3)
 * Since: 0.24
 */
#define SPICE_GTK_MINOR_VERSION              (44)

/**
 * SPICE_GTK_MICRO_VERSION:
 *
 * Spice-Gtk micro version component (e.g. 3 if version is 1.2.3)
 * Since: 0.24
 */
#define SPICE_GTK_MICRO_VERSION              (0)

/**
 * SPICE_GTK_CHECK_VERSION:
 * @major: required major version
 * @minor: required minor version
 * @micro: required micro version
 *
 * Compile-time version checking. Evaluates to %TRUE if the version
 * of Spice-Gtk is greater than the required one.
 * Since: 0.24
 */
#define SPICE_GTK_CHECK_VERSION(major, minor, micro)                    \
        (SPICE_GTK_MAJOR_VERSION > (major) ||                           \
         (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION > (minor)) || \
         (SPICE_GTK_MAJOR_VERSION == (major) && SPICE_GTK_MINOR_VERSION == (minor) && \
          SPICE_GTK_MICRO_VERSION >= (micro)))

#define SPICE_GTK_ENCODE_VERSION(major,minor)   ((major) << 16 | (minor) << 8)

#define SPICE_GTK_VERSION_CURRENT \
    SPICE_GTK_ENCODE_VERSION(SPICE_GTK_MAJOR_VERSION, SPICE_GTK_MINOR_VERSION)

#if !defined (SPICE_GTK_VERSION_MIN_ALLOWED) || (SPICE_GTK_VERSION_MIN_ALLOWED == 0)
# undef SPICE_GTK_VERSION_MIN_ALLOWED
# define SPICE_GTK_VERSION_MIN_ALLOWED SPICE_GTK_VERSION_CURRENT
#endif

#if !defined (SPICE_GTK_VERSION_MAX_ALLOWED) || (SPICE_GTK_VERSION_MAX_ALLOWED == 0)
# undef SPICE_GTK_VERSION_MAX_ALLOWED
# define SPICE_GTK_VERSION_MAX_ALLOWED SPICE_GTK_VERSION_CURRENT
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED > SPICE_GTK_VERSION_CURRENT
#error "SPICE_GTK_VERSION_MIN_REQUIRED must be <= SPICE_GTK_VERSION_CURRENT"
#endif
#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_MIN_REQUIRED
#error "SPICE_GTK_VERSION_MAX_ALLOWED must be >= SPICE_GTK_VERSION_MIN_REQUIRED"
#endif

#if defined(__GNUC__) && __GNUC__ >= 4
# define SPICE_GTK_EXTERN __attribute__ ((visibility ("default")))
#else
# define SPICE_GTK_EXTERN extern
#endif

#define SPICE_GTK_AVAILABLE_IN_ALL SPICE_GTK_EXTERN

#define SPICE_GTK_VERSION_0_1 SPICE_GTK_ENCODE_VERSION(0, 1)

#define SPICE_GTK_VERSION_0_2 SPICE_GTK_ENCODE_VERSION(0, 2)

#define SPICE_GTK_VERSION_0_3 SPICE_GTK_ENCODE_VERSION(0, 3)

#define SPICE_GTK_VERSION_0_4 SPICE_GTK_ENCODE_VERSION(0, 4)

#define SPICE_GTK_VERSION_0_5 SPICE_GTK_ENCODE_VERSION(0, 5)

#define SPICE_GTK_VERSION_0_6 SPICE_GTK_ENCODE_VERSION(0, 6)

#define SPICE_GTK_VERSION_0_7 SPICE_GTK_ENCODE_VERSION(0, 7)

#define SPICE_GTK_VERSION_0_8 SPICE_GTK_ENCODE_VERSION(0, 8)

#define SPICE_GTK_VERSION_0_9 SPICE_GTK_ENCODE_VERSION(0, 9)

#define SPICE_GTK_VERSION_0_10 SPICE_GTK_ENCODE_VERSION(0, 10)

#define SPICE_GTK_VERSION_0_11 SPICE_GTK_ENCODE_VERSION(0, 11)

#define SPICE_GTK_VERSION_0_12 SPICE_GTK_ENCODE_VERSION(0, 12)

#define SPICE_GTK_VERSION_0_13 SPICE_GTK_ENCODE_VERSION(0, 13)

#define SPICE_GTK_VERSION_0_14 SPICE_GTK_ENCODE_VERSION(0, 14)

#define SPICE_GTK_VERSION_0_15 SPICE_GTK_ENCODE_VERSION(0, 15)

#define SPICE_GTK_VERSION_0_16 SPICE_GTK_ENCODE_VERSION(0, 16)

#define SPICE_GTK_VERSION_0_17 SPICE_GTK_ENCODE_VERSION(0, 17)

#define SPICE_GTK_VERSION_0_18 SPICE_GTK_ENCODE_VERSION(0, 18)

#define SPICE_GTK_VERSION_0_19 SPICE_GTK_ENCODE_VERSION(0, 19)

#define SPICE_GTK_VERSION_0_20 SPICE_GTK_ENCODE_VERSION(0, 20)

#define SPICE_GTK_VERSION_0_21 SPICE_GTK_ENCODE_VERSION(0, 21)

#define SPICE_GTK_VERSION_0_22 SPICE_GTK_ENCODE_VERSION(0, 22)

#define SPICE_GTK_VERSION_0_23 SPICE_GTK_ENCODE_VERSION(0, 23)

#define SPICE_GTK_VERSION_0_24 SPICE_GTK_ENCODE_VERSION(0, 24)

#define SPICE_GTK_VERSION_0_25 SPICE_GTK_ENCODE_VERSION(0, 25)

#define SPICE_GTK_VERSION_0_26 SPICE_GTK_ENCODE_VERSION(0, 26)

#define SPICE_GTK_VERSION_0_27 SPICE_GTK_ENCODE_VERSION(0, 27)

#define SPICE_GTK_VERSION_0_28 SPICE_GTK_ENCODE_VERSION(0, 28)

#define SPICE_GTK_VERSION_0_29 SPICE_GTK_ENCODE_VERSION(0, 29)

#define SPICE_GTK_VERSION_0_30 SPICE_GTK_ENCODE_VERSION(0, 30)

#define SPICE_GTK_VERSION_0_31 SPICE_GTK_ENCODE_VERSION(0, 31)

#define SPICE_GTK_VERSION_0_32 SPICE_GTK_ENCODE_VERSION(0, 32)

#define SPICE_GTK_VERSION_0_33 SPICE_GTK_ENCODE_VERSION(0, 33)

#define SPICE_GTK_VERSION_0_34 SPICE_GTK_ENCODE_VERSION(0, 34)

#define SPICE_GTK_VERSION_0_35 SPICE_GTK_ENCODE_VERSION(0, 35)

#define SPICE_GTK_VERSION_0_36 SPICE_GTK_ENCODE_VERSION(0, 36)

#define SPICE_GTK_VERSION_0_37 SPICE_GTK_ENCODE_VERSION(0, 37)

#define SPICE_GTK_VERSION_0_38 SPICE_GTK_ENCODE_VERSION(0, 38)

#define SPICE_GTK_VERSION_0_39 SPICE_GTK_ENCODE_VERSION(0, 39)

#define SPICE_GTK_VERSION_0_40 SPICE_GTK_ENCODE_VERSION(0, 40)

#define SPICE_GTK_VERSION_0_41 SPICE_GTK_ENCODE_VERSION(0, 41)

#define SPICE_GTK_VERSION_0_42 SPICE_GTK_ENCODE_VERSION(0, 42)

#define SPICE_GTK_VERSION_0_43 SPICE_GTK_ENCODE_VERSION(0, 43)

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_2
# define SPICE_GTK_AVAILABLE_IN_0_2  G_UNAVAILABLE(0, 2)
#else
# define SPICE_GTK_AVAILABLE_IN_0_2  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_2
# define SPICE_GTK_DEPRECATED_IN_0_2         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_2_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_2         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_2_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_3
# define SPICE_GTK_AVAILABLE_IN_0_3  G_UNAVAILABLE(0, 3)
#else
# define SPICE_GTK_AVAILABLE_IN_0_3  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_3
# define SPICE_GTK_DEPRECATED_IN_0_3         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_3_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_3         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_3_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_4
# define SPICE_GTK_AVAILABLE_IN_0_4  G_UNAVAILABLE(0, 4)
#else
# define SPICE_GTK_AVAILABLE_IN_0_4  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_4
# define SPICE_GTK_DEPRECATED_IN_0_4         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_4_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_4         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_4_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_5
# define SPICE_GTK_AVAILABLE_IN_0_5  G_UNAVAILABLE(0, 5)
#else
# define SPICE_GTK_AVAILABLE_IN_0_5  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_5
# define SPICE_GTK_DEPRECATED_IN_0_5         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_5_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_5         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_5_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_6
# define SPICE_GTK_AVAILABLE_IN_0_6  G_UNAVAILABLE(0, 6)
#else
# define SPICE_GTK_AVAILABLE_IN_0_6  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_6
# define SPICE_GTK_DEPRECATED_IN_0_6         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_6_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_6         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_6_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_7
# define SPICE_GTK_AVAILABLE_IN_0_7  G_UNAVAILABLE(0, 7)
#else
# define SPICE_GTK_AVAILABLE_IN_0_7  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_7
# define SPICE_GTK_DEPRECATED_IN_0_7         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_7_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_7         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_7_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_8
# define SPICE_GTK_AVAILABLE_IN_0_8  G_UNAVAILABLE(0, 8)
#else
# define SPICE_GTK_AVAILABLE_IN_0_8  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_8
# define SPICE_GTK_DEPRECATED_IN_0_8         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_8_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_8         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_8_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_9
# define SPICE_GTK_AVAILABLE_IN_0_9  G_UNAVAILABLE(0, 9)
#else
# define SPICE_GTK_AVAILABLE_IN_0_9  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_9
# define SPICE_GTK_DEPRECATED_IN_0_9         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_9_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_9         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_9_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_10
# define SPICE_GTK_AVAILABLE_IN_0_10  G_UNAVAILABLE(0, 10)
#else
# define SPICE_GTK_AVAILABLE_IN_0_10  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_10
# define SPICE_GTK_DEPRECATED_IN_0_10         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_10_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_10         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_10_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_11
# define SPICE_GTK_AVAILABLE_IN_0_11  G_UNAVAILABLE(0, 11)
#else
# define SPICE_GTK_AVAILABLE_IN_0_11  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_11
# define SPICE_GTK_DEPRECATED_IN_0_11         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_11_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_11         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_11_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_13
# define SPICE_GTK_AVAILABLE_IN_0_13  G_UNAVAILABLE(0, 13)
#else
# define SPICE_GTK_AVAILABLE_IN_0_13  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_13
# define SPICE_GTK_DEPRECATED_IN_0_13         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_13_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_13         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_13_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_14
# define SPICE_GTK_AVAILABLE_IN_0_14  G_UNAVAILABLE(0, 14)
#else
# define SPICE_GTK_AVAILABLE_IN_0_14  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_14
# define SPICE_GTK_DEPRECATED_IN_0_14         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_14_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_14         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_14_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_15
# define SPICE_GTK_AVAILABLE_IN_0_15  G_UNAVAILABLE(0, 15)
#else
# define SPICE_GTK_AVAILABLE_IN_0_15  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_15
# define SPICE_GTK_DEPRECATED_IN_0_15         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_15_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_15         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_15_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_17
# define SPICE_GTK_AVAILABLE_IN_0_17  G_UNAVAILABLE(0, 17)
#else
# define SPICE_GTK_AVAILABLE_IN_0_17  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_17
# define SPICE_GTK_DEPRECATED_IN_0_17         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_17_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_17         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_17_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_19
# define SPICE_GTK_AVAILABLE_IN_0_19  G_UNAVAILABLE(0, 19)
#else
# define SPICE_GTK_AVAILABLE_IN_0_19  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_19
# define SPICE_GTK_DEPRECATED_IN_0_19         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_19_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_19         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_19_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_20
# define SPICE_GTK_AVAILABLE_IN_0_20  G_UNAVAILABLE(0, 20)
#else
# define SPICE_GTK_AVAILABLE_IN_0_20  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_20
# define SPICE_GTK_DEPRECATED_IN_0_20         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_20_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_20         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_20_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_24
# define SPICE_GTK_AVAILABLE_IN_0_24  G_UNAVAILABLE(0, 24)
#else
# define SPICE_GTK_AVAILABLE_IN_0_24  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_24
# define SPICE_GTK_DEPRECATED_IN_0_24         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_24_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_24         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_24_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_27
# define SPICE_GTK_AVAILABLE_IN_0_27  G_UNAVAILABLE(0, 27)
#else
# define SPICE_GTK_AVAILABLE_IN_0_27  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_27
# define SPICE_GTK_DEPRECATED_IN_0_27         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_27_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_27         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_27_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_30
# define SPICE_GTK_AVAILABLE_IN_0_30  G_UNAVAILABLE(0, 30)
#else
# define SPICE_GTK_AVAILABLE_IN_0_30  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_30
# define SPICE_GTK_DEPRECATED_IN_0_30         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_30_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_30         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_30_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_31
# define SPICE_GTK_AVAILABLE_IN_0_31  G_UNAVAILABLE(0, 31)
#else
# define SPICE_GTK_AVAILABLE_IN_0_31  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_31
# define SPICE_GTK_DEPRECATED_IN_0_31         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_31_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_31         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_31_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_32
# define SPICE_GTK_AVAILABLE_IN_0_32  G_UNAVAILABLE(0, 32)
#else
# define SPICE_GTK_AVAILABLE_IN_0_32  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_32
# define SPICE_GTK_DEPRECATED_IN_0_32         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_32_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_32         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_32_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_33
# define SPICE_GTK_AVAILABLE_IN_0_33  G_UNAVAILABLE(0, 33)
#else
# define SPICE_GTK_AVAILABLE_IN_0_33  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_33
# define SPICE_GTK_DEPRECATED_IN_0_33         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_33_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_33         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_33_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_34
# define SPICE_GTK_AVAILABLE_IN_0_34  G_UNAVAILABLE(0, 34)
#else
# define SPICE_GTK_AVAILABLE_IN_0_34  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_34
# define SPICE_GTK_DEPRECATED_IN_0_34         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_34_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_34         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_34_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_35
# define SPICE_GTK_AVAILABLE_IN_0_35  G_UNAVAILABLE(0, 35)
#else
# define SPICE_GTK_AVAILABLE_IN_0_35  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_35
# define SPICE_GTK_DEPRECATED_IN_0_35         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_35_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_35         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_35_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_36
# define SPICE_GTK_AVAILABLE_IN_0_36  G_UNAVAILABLE(0, 36)
#else
# define SPICE_GTK_AVAILABLE_IN_0_36  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_36
# define SPICE_GTK_DEPRECATED_IN_0_36         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_36_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_36         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_36_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_38
# define SPICE_GTK_AVAILABLE_IN_0_38  G_UNAVAILABLE(0, 38)
#else
# define SPICE_GTK_AVAILABLE_IN_0_38  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_38
# define SPICE_GTK_DEPRECATED_IN_0_38         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_38_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_38         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_38_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_39
# define SPICE_GTK_AVAILABLE_IN_0_39  G_UNAVAILABLE(0, 39)
#else
# define SPICE_GTK_AVAILABLE_IN_0_39  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_39
# define SPICE_GTK_DEPRECATED_IN_0_39         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_39_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_39         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_39_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_40
# define SPICE_GTK_AVAILABLE_IN_0_40  G_UNAVAILABLE(0, 40)
#else
# define SPICE_GTK_AVAILABLE_IN_0_40  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_40
# define SPICE_GTK_DEPRECATED_IN_0_40         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_40_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_40         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_40_FOR(f)  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MAX_ALLOWED < SPICE_GTK_VERSION_0_43
# define SPICE_GTK_AVAILABLE_IN_0_43  G_UNAVAILABLE(0, 43)
#else
# define SPICE_GTK_AVAILABLE_IN_0_43  SPICE_GTK_EXTERN
#endif

#if SPICE_GTK_VERSION_MIN_REQUIRED >= SPICE_GTK_VERSION_0_43
# define SPICE_GTK_DEPRECATED_IN_0_43         G_DEPRECATED
# define SPICE_GTK_DEPRECATED_IN_0_43_FOR(f)  G_DEPRECATED_FOR(f)
#else
# define SPICE_GTK_DEPRECATED_IN_0_43         SPICE_GTK_EXTERN
# define SPICE_GTK_DEPRECATED_IN_0_43_FOR(f)  SPICE_GTK_EXTERN
#endif

#endif /* __SPICE_VERSION_H__ */
