1 /* 2 * This file is part of GtkHotkey. 3 * Copyright Mikkel Kamstrup Erlandsen, March, 2008 4 * 5 * GtkHotkey is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU Lesser 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 * GtkHotkey 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 Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with GtkHotkey. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #if !defined (__GTK_HOTKEY_H__) && !defined (GTK_HOTKEY_COMPILATION) 20 #error "Only <gtkhotkey.h> can be included directly." 21 #endif 22 23 #ifndef __GTK_HOTKEY_UTILS_H__ 24 #define __GTK_HOTKEY_UTILS_H__ 25 26 #include <gio/gio.h> 27 28 G_BEGIN_DECLS 29 30 #define gtk_hotkey_g_file_is_directory(file) (gtk_hotkey_g_file_get_type(file) == G_FILE_TYPE_DIRECTORY) 31 #define gtk_hotkey_g_file_is_regular(file) (gtk_hotkey_g_file_get_type(file) == G_FILE_TYPE_REGULAR) 32 33 GFileType gtk_hotkey_g_file_get_type (GFile *file); 34 35 G_END_DECLS 36 37 #endif /* __GTK_HOTKEY_UTILS_H__ */ 38