1 /* 2 * Photos - access, organize and share your photos on GNOME 3 * Copyright © 2015 Pranav Kant 4 * Copyright © 2016 – 2019 Red Hat, Inc. 5 * 6 * This program is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef PHOTOS_DEBUG_H 21 #define PHOTOS_DEBUG_H 22 23 #include <glib.h> 24 25 G_BEGIN_DECLS 26 27 typedef enum 28 { 29 PHOTOS_DEBUG_APPLICATION = 1 << 0, 30 PHOTOS_DEBUG_DLNA = 1 << 1, 31 PHOTOS_DEBUG_GEGL = 1 << 2, 32 PHOTOS_DEBUG_IMPORT = 1 << 3, 33 PHOTOS_DEBUG_MEMORY = 1 << 4, 34 PHOTOS_DEBUG_NETWORK = 1 << 5, 35 PHOTOS_DEBUG_THUMBNAILER = 1 << 6, 36 PHOTOS_DEBUG_TRACKER = 1 << 7 37 } PhotosDebugFlags; 38 39 void photos_debug_init (void); 40 41 void photos_debug (guint flags, const char *fmt, ...) G_GNUC_PRINTF (2, 3); 42 43 G_END_DECLS 44 45 #endif /* PHOTOS_DEBUG_H */ 46