2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __TIZEN_LOCATION_LOCATIONS_PRIVATE_H__
18 #define __TIZEN_LOCATION_LOCATIONS_PRIVATE_H__
20 #include <location/location.h>
21 #include <locations.h>
22 #include <location_bounds.h>
29 _LOCATIONS_EVENT_TYPE_SERVICE_STATE,
30 _LOCATIONS_EVENT_TYPE_POSITION,
31 _LOCATIONS_EVENT_TYPE_VELOCITY,
32 _LOCATIONS_EVENT_TYPE_BOUNDARY,
33 _LOCATIONS_EVENT_TYPE_SATELLITE,
34 _LOCATIONS_EVENT_TYPE_FOREACH_BOUNDS,
35 _LOCATIONS_EVENT_TYPE_NUM
38 typedef struct _location_manager_s{
39 LocationObject* object;
40 const void* user_cb[_LOCATIONS_EVENT_TYPE_NUM];
41 void* user_data[_LOCATIONS_EVENT_TYPE_NUM];
42 location_method_e method;
43 bool is_continue_foreach_bounds;
50 #endif //__TIZEN_LOCATION_LOCATIONS_PRIVATE_H__