merge with master
[platform/core/api/location-manager.git] / include / locations_private.h
index 6c78ffc..5dd0063 100755 (executable)
@@ -1,18 +1,18 @@
 /*
-* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 #ifndef __TIZEN_LOCATION_LOCATIONS_PRIVATE_H__
 #define        __TIZEN_LOCATION_LOCATIONS_PRIVATE_H__
@@ -63,7 +63,16 @@ typedef enum {
        _LOCATIONS_EVENT_TYPE_SATELLITE,
        _LOCATIONS_EVENT_TYPE_FOREACH_BOUNDS,
        _LOCATIONS_EVENT_TYPE_NUM
-}_location_event_e;
+} _location_event_e;
+
+typedef enum {
+       _LOCATION_SIGNAL_SERVICE_ENABLED,
+       _LOCATION_SIGNAL_SERVICE_DISABLED,
+       _LOCATION_SIGNAL_SERVICE_UPDATED,
+       _LOCATION_SIGNAL_ZONE_IN,
+       _LOCATION_SIGNAL_ZONE_OUT,
+       _LOCATION_SIGNAL_NUM
+} _location_signal_e;
 
 typedef struct _location_manager_s {
        LocationObject* object;
@@ -72,6 +81,7 @@ typedef struct _location_manager_s {
        location_method_e method;
        bool is_continue_foreach_bounds;
        GList *bounds_list;
+       gulong sig_id[_LOCATION_SIGNAL_NUM];
 } location_manager_s;
 
 typedef struct _location_bounds_s {