upload tizen1.0 source
[framework/location/libslp-location.git] / location / map-service / location-landmark-ext.h
1 /*
2  * libslp-location
3  *
4  * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
7  *          Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21
22 #ifndef __LOCATION_LANDMARK_EXT_H__
23 #define __LOCATION_LANDMARK_EXT_H__
24
25 #include <location-types.h>
26
27 G_BEGIN_DECLS
28
29 /**
30  * @file location-landmark-ext.h
31  * @brief This file contains the extensional definitions and structures related to Landmark.
32  */
33
34 /**
35  * @addtogroup LocationMapServicePOI
36  * @{
37  * @defgroup LocationMapServiceLandmarkExt Location Landmark Ext
38  * @brief This provides Location Landmark Ext APIs
39  * @addtogroup LocationMapServiceLandmarkExt
40  * @{
41  */
42
43 /**
44  * @brief Set the ID of the given #LocationLandmark
45  */
46 gboolean location_landmark_set_id (LocationLandmark *landmark, guint id);
47
48 /**
49  * @brief Set the name of the given #LocationLandmark
50  */
51 gboolean location_landmark_set_name (LocationLandmark *landmark, const gchar *name);
52 /**
53  * @brief Set the position in the given #LocationLandmark
54  */
55 gboolean location_landmark_set_position (LocationLandmark *landmark, const LocationPosition *position);
56 /**
57  * @brief Set the address of the given #LocationLandmark
58  */
59 gboolean location_landmark_set_address (LocationLandmark *landmark, const LocationAddress *addr);
60 /**
61  * @brief Set the description of the given #LocationLandmark
62  */
63 gboolean location_landmark_set_description (LocationLandmark *landmark, const gchar *desc);
64 /**
65  * @brief Set the timestamp of the given #LocationLandmark
66  */
67 gboolean location_landmark_set_timestamp (LocationLandmark *landmark, guint timestamp);
68 /**
69  * @brief Set the priority of the given #LocationLandmark
70  */
71 gboolean location_landmark_set_priority (LocationLandmark *landmark, guint priority);
72 /**
73  * @brief Set the boundary of the given #LocationLandmark
74  */
75 gboolean location_landmark_set_bounding_box (LocationLandmark *landmark, const LocationBoundary *bbox);
76 /**
77  * @brief Set the author of the given #LocationLandmark
78  */
79 gboolean location_landmark_set_author (LocationLandmark *landmark, const gchar *author);
80 /**
81  * @brief Set the urls of the given #LocationLandmark
82  */
83 gboolean location_landmark_set_url (LocationLandmark *landmark, GList *url);
84
85 /**
86  * @brief Set the categories of the given #LocationLandmark
87  */
88 gboolean location_landmark_set_category (const LocationLandmark *landmark, GList *category);
89
90 /**
91  * @brief Set the phone number of the given #LocationLandmark
92  */
93 gboolean location_landmark_set_phone_number (const LocationLandmark *landmark, const gchar *number);
94
95 /**
96  * @brief Set the property data of the given #LocationLandmark
97  */
98 gboolean location_landmark_set_property (const LocationLandmark *landmark, gconstpointer key, gconstpointer value);
99
100 /**
101  * @brief Set url of the given #LocationLandmarkUrl
102  */
103 gboolean location_landmark_url_set_url_path (LocationLandmarkUrl *url, const gchar *path);
104 /**
105  * @brief Set the description of the given #LocationLandmarkUrl
106  */
107 gboolean location_landmark_url_set_description (LocationLandmarkUrl *url, const gchar *desc);
108
109 /**
110  * @} @}
111  */
112
113 G_END_DECLS
114
115 #endif
116
117