upload tizen1.0 source
[framework/location/libslp-location.git] / location / manager / location-boundary.h
similarity index 94%
rename from location/location-boundary.h
rename to location/manager/location-boundary.h
index 9fe0d6e..c3603ef 100644 (file)
 #ifndef __LOCATION_BOUNDARY_H_
 #define __LOCATION_BOUNDARY_H_
 
-#include <location/location-types.h>
-#include <location/location-position.h>
+#include <location-types.h>
+#include <location-position.h>
+
+G_BEGIN_DECLS
+
+GType location_boundary_get_type (void);
+#define LOCATION_TYPE_BOUNDARY (location_boundary_get_type ())
+
 
 /**
  * @file location-boundary.h
  * @brief This file contains the definitions, structures, and functions related to boundary information.
- * @addtogroup LocationTypes
+ */
+/**
+ * @addtogroup LocationAPI
+ * @{
+ * @defgroup LocationAPIBoundary Location Boundary
+ * @breif This provides APIs related to Location Boundary
+ * @addtogroup LocationAPIBoundary
  * @{
  */
 
-G_BEGIN_DECLS
-
 /**
  * @brief
  * The type of the @location_boundary_foreach function of #LocationObject
@@ -85,9 +95,6 @@ struct _LocationBoundary{
        };
 };
 
-GType location_boundary_get_type (void);
-#define LOCATION_TYPE_BOUNDARY (location_boundary_get_type ())
-
 /**
  * @brief   Create a rectangular type of new #LocationBoundary with given information.
  * @remarks None.
@@ -291,7 +298,18 @@ void location_test_boundary_if_inside(LocationObject *loc, LocationBoundary *bou
 gboolean location_boundary_if_inside (LocationBoundary *boundary, LocationPosition *position);
 
 /**
- * @}
+ * @brief Get bounding box of #LocationBoundary
+ */
+LocationBoundary *location_boundary_get_bounding_box (LocationBoundary *boundary);
+
+
+/**
+ * @brief Get the center position of #LocationBoundary
+ */
+LocationPosition * location_boundary_get_center_position (LocationBoundary *boundary);
+
+/**
+ * @} @}
  */
 
 G_END_DECLS