1 /* 2 * GNOME Online Miners - crawls through your online content 3 * Copyright (c) 2013 Red Hat, Inc. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. 9 * 10 * This program 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 this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 18 * 02110-1301, USA. 19 * 20 * Author: Marek Chalupa <mchalupa@redhat.com> 21 */ 22 23 #ifndef __GOM_FLICKR_MINER_H__ 24 #define __GOM_FLICKR_MINER_H__ 25 26 #include <gio/gio.h> 27 #include "gom-miner.h" 28 29 G_BEGIN_DECLS 30 31 #define GOM_TYPE_FLICKR_MINER gom_flickr_miner_get_type() 32 33 #define GOM_FLICKR_MINER(obj) \ 34 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ 35 GOM_TYPE_FLICKR_MINER, GomFlickrMiner)) 36 37 #define GOM_FLICKR_MINER_CLASS(klass) \ 38 (G_TYPE_CHECK_CLASS_CAST ((klass), \ 39 GOM_TYPE_FLICKR_MINER, GomFlickrMinerClass)) 40 41 #define GOM_IS_FLICKR_MINER(obj) \ 42 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ 43 GOM_TYPE_FLICKR_MINER)) 44 45 #define GOM_IS_FLICKR_MINER_CLASS(klass) \ 46 (G_TYPE_CHECK_CLASS_TYPE ((klass), \ 47 GOM_TYPE_FLICKR_MINER)) 48 49 #define GOM_FLICKR_MINER_GET_CLASS(obj) \ 50 (G_TYPE_INSTANCE_GET_CLASS ((obj), \ 51 GOM_TYPE_FLICKR_MINER, GomFlickrMinerClass)) 52 53 typedef struct _GomFlickrMiner GomFlickrMiner; 54 typedef struct _GomFlickrMinerClass GomFlickrMinerClass; 55 typedef struct _GomFlickrMinerPrivate GomFlickrMinerPrivate; 56 57 struct _GomFlickrMiner { 58 GomMiner parent; 59 60 GomFlickrMinerPrivate *priv; 61 }; 62 63 struct _GomFlickrMinerClass { 64 GomMinerClass parent_class; 65 }; 66 67 GType gom_flickr_miner_get_type(void); 68 69 G_END_DECLS 70 71 #endif /* __GOM_FLICKR_MINER_H__ */ 72