2 * This file is part of Sharing Application Library
4 * Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
6 * Contact: Alexander Bokovoy <alexander.bokovoy@nokia.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * version 2.1 as published by the Free Software Foundation.
12 * This library is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
26 * @short_description: Tag element of SharingEntryMedia.
28 * #SharingTag can be used to check the information and type of tags specified inside #SharingEntryMedia.
32 #ifndef _SHARING_TAG_H_
33 #define _SHARING_TAG_H_
40 * SharingEntryMediaMetadata:
41 * @SHARING_TAG_SHARE: Share Tag seen at Sharing Dialog "Tags" -area
42 * @SHARING_TAG_LOCATION_COUNTRY: Tag seen at Sharing Dialog Location tags
43 * @SHARING_TAG_LOCATION_CITY: Tag seen at Sharing Dialog Location tags
44 * @SHARING_TAG_LOCATION_SUBURB: Tag seen at Sharing Dialog Location tags
45 * @SHARING_TAG_FAVOURITE: Tag seen in Sharing Dialog as a star icon,
46 * describing a favourite.
47 * @SHARING_TAG_UNKNOWN: Unknown type, use only when type is not known like
48 * in initialization phase.
50 * Tag types from tags that are seen at GUI (except SHARING_TAG_UNKNOWN).
53 SHARING_TAG_SHARE = 0,
54 SHARING_TAG_GEO_COUNTRY = 1 << 0,
55 SHARING_TAG_GEO_CITY = 1 << 1,
56 SHARING_TAG_GEO_SUBURB = 1 << 2,
57 SHARING_TAG_FAVOURITE = 1 << 3,
58 SHARING_TAG_GPS_LATITUDE = 1 << 4,
59 SHARING_TAG_GPS_LONGITUDE = 1 << 5,
60 SHARING_TAG_GPS_ALTITUDE = 1 << 6,
61 SHARING_TAG_CREATOR = 1 << 7,
62 SHARING_TAG_UNKNOWN = ~0,
65 typedef struct SharingTag SharingTag;
67 SharingTagType sharing_tag_get_type (const SharingTag * self);
68 const gchar* sharing_tag_get_word (const SharingTag * self);
72 #endif /* #ifndef _SHARING_TAG_H_ */