merge with master
[framework/osp/locations.git] / src / FLoc_Config.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file        FLoc_Config.h
20  * @brief       This header file contains the constants used in the location namespace internally.
21  *
22  */
23
24 #ifndef _FLOC_INTERNAL_CONFIG_H_
25 #define _FLOC_INTERNAL_CONFIG_H_
26
27 namespace Tizen { namespace Locations
28 {
29
30 const int MAX_WAIT_TIME_FOR_SYNC_LOC = 5;
31 const int MIN_LOCATION_UPDATE_INTERVAL = 1;
32 const int DEFAULT_WAITING_TIME_FOR_FIXING_LOCATION = 40;
33 const int DEFAULT_AVG_SPEED = 20;  //Take average car speed as 72 km/hr = 20 m/s
34 const int DEFAULT_REGION_MONITORING_CYCLE_INTERVAL = 5;
35 const int DEFAULT_DISTANCE_CHECKING_INTERVAL = 10;
36
37 }} // Tizen::Locations
38 #endif //_FLOC_INTERNAL_CONFIG_H_