| 1 | /* -*- coding: utf-8 -*- */ |
| 2 | /* Copyright (C) 2013 by Ben Martin */ |
| 3 | /* |
| 4 | * |
| 5 | * FontForge is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * FontForge 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 |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with FontForge. If not, see <http://www.gnu.org/licenses/>. |
| 17 | * |
| 18 | * For more details see the COPYING file in the root directory of this |
| 19 | * distribution. |
| 20 | */ |
| 21 | |
| 22 | #ifndef FONTFORGE_FFGLIB_H |
| 23 | #define FONTFORGE_FFGLIB_H |
| 24 | |
| 25 | #define GList GList_Glib |
| 26 | #define GMenuItem GMenuItem_GIO |
| 27 | #define GMenu GMenu_GIO |
| 28 | #define GTimer GTimer_GTK |
| 29 | |
| 30 | #ifdef __GNU__ |
| 31 | # undef extended |
| 32 | #endif |
| 33 | |
| 34 | #include <gio/gio.h> |
| 35 | #include <glib-object.h> |
| 36 | #include <glib.h> |
| 37 | #include <glib/gstdio.h> |
| 38 | #ifdef __cplusplus |
| 39 | #include <glibmm/ustring.h> |
| 40 | #endif |
| 41 | |
| 42 | #ifdef __GNU__ |
| 43 | # define extended double |
| 44 | #endif |
| 45 | |
| 46 | #undef GList |
| 47 | #undef GMenuItem |
| 48 | #undef GTimer |
| 49 | |
| 50 | #endif /* FONTFORGE_FFGLIB_H */ |