1 
2 /*
3  * Copyright (C) 2016, Sam Thursfield <sam@afuera.me.uk>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library 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 GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA  02110-1301, USA.
19  */
20 
21 #ifndef __LIBTRACKER_EXTRACT_RESOURCE_HELPERS_H__
22 #define __LIBTRACKER_EXTRACT_RESOURCE_HELPERS_H__
23 
24 #if !defined (__LIBTRACKER_EXTRACT_INSIDE__) && !defined (TRACKER_COMPILATION)
25 #error "only <libtracker-extract/tracker-extract.h> must be included directly."
26 #endif
27 
28 #include <libtracker-sparql/tracker-sparql.h>
29 
30 G_BEGIN_DECLS
31 
32 TrackerResource *tracker_extract_new_artist (const char *name);
33 TrackerResource *tracker_extract_new_contact (const char *fullname);
34 TrackerResource *tracker_extract_new_equipment (const char *make, const char *model);
35 TrackerResource *tracker_extract_new_external_reference (const char *source_uri, const char *identifier);
36 TrackerResource *tracker_extract_new_location (const char *address, const char *state, const char *city, const char *country, const char *gps_altitude, const char *gps_latitude, const char *gps_longitude);
37 TrackerResource *tracker_extract_new_music_album_disc (const char *album_title, TrackerResource *album_artist, int disc_number, const char *date);
38 TrackerResource *tracker_extract_new_tag (const char *label);
39 
40 G_END_DECLS
41 
42 #endif /* __LIBTRACKER_EXTRACT_RESOURCE_HELPERS_H__ */
43