gucharmap.h.in 2.22 KB
Newer Older
1
/*
Christian Persch's avatar
Christian Persch committed
2
 * Copyright © 2004 Noah Levitt
3
 * Copyright © 2008 Christian Persch
4 5 6 7 8 9 10 11 12 13 14 15 16
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program 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
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
17
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
18 19 20 21 22
 */

#ifndef GUCHARMAP_H
#define GUCHARMAP_H

23 24
#define __GUCHARMAP_GUCHARMAP_H_INSIDE__

25 26 27 28 29 30 31 32 33 34
#include <glib.h>

#if defined(GUCHARMAP_DISABLE_DEPRECATION_WARNINGS) || !GLIB_CHECK_VERSION (2, 31, 0)
#define GUCHARMAP_DEPRECATED
#define GUCHARMAP_DEPRECATED_FOR(f)
#else
#define GUCHARMAP_DEPRECATED G_DEPRECATED
#define GUCHARMAP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
#endif

35 36 37 38 39 40 41 42 43
#define GUCHARMAP_VERSION_MAJOR (@GUCHARMAP_VERSION_MAJOR@)
#define GUCHARMAP_VERSION_MINOR (@GUCHARMAP_VERSION_MINOR@)
#define GUCHARMAP_VERSION_MICRO (@GUCHARMAP_VERSION_MICRO@)

#define GUCHARMAP_CHECK_VERSION(major,minor,micro) \
  (GUCHARMAP_VERSION_MAJOR > (major) || \
   (GUCHARMAP_VERSION_MAJOR == (major) && GUCHARMAP_VERSION_MINOR > (minor)) || \
   (GUCHARMAP_VERSION_MAJOR == (major) && GUCHARMAP_VERSION_MINOR == (minor) && GUCHARMAP_VERSION_MICRO >= (micro)))

Noah Levitt's avatar
Noah Levitt committed
44
#include <gucharmap/gucharmap-codepoint-list.h>
45
#include <gucharmap/gucharmap-block-codepoint-list.h>
46
#include <gucharmap/gucharmap-script-codepoint-list.h>
47 48 49 50 51 52 53 54

#include <gucharmap/gucharmap-chapters-model.h>
#include <gucharmap/gucharmap-block-chapters-model.h>
#include <gucharmap/gucharmap-script-chapters-model.h>

#include <gucharmap/gucharmap-chartable.h>
#include <gucharmap/gucharmap-charmap.h>

Christian Persch's avatar
Christian Persch committed
55
#include <gucharmap/gucharmap-type-builtins.h>
56

57
#include <gucharmap/gucharmap-unicode-info.h>
58

59 60
#undef GUCHARMAP_DEPRECATED
#undef GUCHARMAP_DEPRECATED_FOR
61 62
#undef __GUCHARMAP_GUCHARMAP_H_INSIDE__

63
#endif /* #ifndef GUCHARMAP_H */