Fix build warnings 63/154263/2
authorkj7.sung <kj7.sung@samsung.com>
Tue, 10 Oct 2017 02:48:38 +0000 (11:48 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Tue, 10 Oct 2017 08:15:15 +0000 (17:15 +0900)
Change-Id: Iecb38447c0baebfb6065f08de6a512b9cc5fcb95
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
src/Tizen.Location/Tizen.Location/LocationBoundary.cs
src/Tizen.Location/Tizen.Location/LocationError.cs
src/Tizen.Location/Tizen.Location/Locator.cs
src/Tizen.Location/Tizen.Location/LocatorEnumerations.cs
src/Tizen.Location/Tizen.Location/SatelliteStatusChangedEventArgs.cs
src/Tizen.Location/Tizen.Location/ServiceStateChangedEventArgs.cs
src/Tizen.Location/Tizen.Location/SettingChangedEventArgs.cs
src/Tizen.Location/Tizen.Location/ZoneChangedEventArgs.cs

index d8991e4..20355a8 100755 (executable)
@@ -76,6 +76,9 @@ namespace Tizen.Location
             GC.SuppressFinalize(this);
         }
 
+        /// <summary>
+        /// Dispose.
+        /// </summary>
         protected virtual void Dispose(bool disposing)
         {
             Log.Info(Globals.LogTag, "Dispose");
index 3f2f633..61dfc8b 100755 (executable)
@@ -31,16 +31,55 @@ namespace Tizen.Location
     /// <since_tizen> 3 </since_tizen>
     public enum LocationError
     {
-        None = ErrorCode.None,/**< Successful */
-        OutOfMemory = ErrorCode.OutOfMemory,/**< Out of memory error */
-        InvalidParameter = ErrorCode.InvalidParameter,/**< Invalid parameter */
-        AcessibilityNotallowed = ErrorCode.PermissionDenied,/**< Permission denied */
-        NotSupported = ErrorCode.NotSupported,/**< Address family not supported */
-        IncorrectMethod = LocationManagerError.Base | 0x01,/**< Location manager contains incorrect method for a given call */
-        NetworkFailed = LocationManagerError.Base | 0x02,/**< Network unavailable */
-        ServiceNotAvailable = LocationManagerError.Base | 0x03,/**< Location service is not available */
-        SettingOff = LocationManagerError.Base | 0x04,/**< GPS/WPS, or MOCK setting is not enabled */
-        SecuirtyRestricted = LocationManagerError.Base | 0x05,/**< Restricted by security system policy */
+        /// <summary>
+        /// Successful.
+        /// </summary>
+        None = ErrorCode.None,
+
+        /// <summary>
+        /// Out of memory error.
+        /// </summary>
+        OutOfMemory = ErrorCode.OutOfMemory,
+
+        /// <summary>
+        /// Invalid parameter.
+        /// </summary>
+        InvalidParameter = ErrorCode.InvalidParameter,
+
+        /// <summary>
+        /// Permission denied.
+        /// </summary>
+        AcessibilityNotallowed = ErrorCode.PermissionDenied,
+
+        /// <summary>
+        /// Address family not supported.
+        /// </summary>
+        NotSupported = ErrorCode.NotSupported,
+
+        /// <summary>
+        /// Location manager contains incorrect method for a given call.
+        /// </summary>
+        IncorrectMethod = LocationManagerError.Base | 0x01,
+
+        /// <summary>
+        /// Network unavailable.
+        /// </summary>
+        NetworkFailed = LocationManagerError.Base | 0x02,
+
+        /// <summary>
+        /// Location service is not available.
+        /// </summary>
+        ServiceNotAvailable = LocationManagerError.Base | 0x03,
+
+        /// <summary>
+        /// GPS/WPS, or MOCK setting is not enabled.
+        /// </summary>
+        SettingOff = LocationManagerError.Base | 0x04,
+
+        /// <summary>
+        /// Restricted by security system policy.
+        /// </summary>
+        SecuirtyRestricted = LocationManagerError.Base | 0x05,
     }
 
     /// <summary>
@@ -49,12 +88,36 @@ namespace Tizen.Location
     /// <since_tizen> 3 </since_tizen>
     public enum LocationBoundError
     {
-        None = ErrorCode.None,/**< Successful */
-        OutOfMemory = ErrorCode.OutOfMemory,/**< Out of memory error */
-        InvalidParameter = ErrorCode.InvalidParameter,/**< Invalid parameter */
-        NotSupported = ErrorCode.NotSupported,/**< Not supported */
-        IncorrectType = LocationManagerError.BoundsBase | 0x01,/**< Incorrect bounds type for a given call */
-        IsAdded = LocationManagerError.BoundsBase | 0x02/**< Cannot remove bounds handle from location manager   */
+
+        /// <summary>
+        /// Successful.
+        /// </summary>
+        None = ErrorCode.None,
+
+        /// <summary>
+        /// Out of memory error.
+        /// </summary>
+        OutOfMemory = ErrorCode.OutOfMemory,
+
+        /// <summary>
+        /// Invalid parameter.
+        /// </summary>
+        InvalidParameter = ErrorCode.InvalidParameter,
+
+        /// <summary>
+        /// Not supported.
+        /// </summary>
+        NotSupported = ErrorCode.NotSupported,
+
+        /// <summary>
+        /// Incorrect bounds type for a given call.
+        /// </summary>
+        IncorrectType = LocationManagerError.BoundsBase | 0x01,
+
+        /// <summary>
+        /// Cannot remove bounds handle from location manager.
+        /// </summary>
+        IsAdded = LocationManagerError.BoundsBase | 0x02
     }
 
     internal static class LocationErrorFactory
index 9a72fff..7ff1ab1 100755 (executable)
@@ -561,6 +561,9 @@ namespace Tizen.Location
             GC.SuppressFinalize(this);
         }
 
+        /// <summary>
+        /// Dispose.
+        /// </summary>
         protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
index 9de03cc..0e2e3d3 100755 (executable)
@@ -25,8 +25,15 @@ namespace Tizen.Location
     /// <since_tizen> 3 </since_tizen>
     public enum ServiceState
     {
-        Disabled = 0, /**<Service is disabled.*/
-        Enabled /**<Service is enabled.*/
+        /// <summary>
+        /// Service is disabled.
+        /// </summary>
+        Disabled = 0,
+
+        /// <summary>
+        /// Service is enabled.
+        /// </summary>
+        Enabled
     }
 
     /// <summary>
@@ -35,10 +42,25 @@ namespace Tizen.Location
     /// <since_tizen> 3 </since_tizen>
     public enum LocationType
     {
-        Hybrid = 0, /**<This method selects the best method available at the moment.*/
-        Gps, /**<This method uses Global Positioning System.*/
-        Wps, /**<This method uses WiFi Positioning System.*/
-        Passive, /**<This method uses passive mode.*/
+        /// <summary>
+        /// This method selects the best method available at the moment.
+        /// </summary>
+        Hybrid = 0,
+
+        /// <summary>
+        /// This method uses Global Positioning System.
+        /// </summary>
+        Gps,
+
+        /// <summary>
+        /// This method uses WiFi Positioning System.
+        /// </summary>
+        Wps,
+
+        /// <summary>
+        /// This method uses passive mode.
+        /// </summary>
+        Passive,
     }
 
     /// <summary>
@@ -47,9 +69,20 @@ namespace Tizen.Location
     /// <since_tizen> 3 </since_tizen>
     public enum BoundaryType
     {
-        Rectangle = 0, /**<Rectangular geographical area type. */
-        Circle, /**<Rectangular geographical area type. */
-        Polygon /**<Rectangular geographical area type. */
+        /// <summary>
+        /// Rectangular geographical area type.
+        /// </summary>
+        Rectangle = 0,
+
+        /// <summary>
+        /// Circle geographical area type.
+        /// </summary>
+        Circle,
+
+        /// <summary>
+        /// Polygon geographical area type.
+        /// </summary>
+        Polygon
     }
 
     /// <summary>
@@ -58,7 +91,14 @@ namespace Tizen.Location
     /// <since_tizen> 3 </since_tizen>
     public enum BoundaryState
     {
-        In = 0, /**< Boundary In (Zone In) */
-        Out /**< Boundary Out (Zone Out) */
+        /// <summary>
+        /// Boundary In (Zone In).
+        /// </summary>
+        In = 0,
+
+        /// <summary>
+        /// Boundary Out (Zone Out).
+        /// </summary>
+        Out
     }
 }
index aa27203..f47b4d1 100755 (executable)
@@ -18,6 +18,10 @@ using System;
 
 namespace Tizen.Location
 {
+    /// <summary>
+    /// An extended EventArgs class which contains the changed satellite status.
+    /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class SatelliteStatusChangedEventArgs : EventArgs
     {
         /// <summary>
index 7059849..707bf2a 100755 (executable)
@@ -21,6 +21,7 @@ namespace Tizen.Location
     /// <summary>
     /// An extended EventArgs class contains the changed location service state.
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ServiceStateChangedEventArgs : EventArgs
     {
         /// <summary>
index 36e8c93..b9e42e8 100755 (executable)
@@ -18,6 +18,10 @@ using System;
 
 namespace Tizen.Location
 {
+    /// <summary>
+    /// An extended EventArgs class which contains the changed setting status.
+    /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class SettingChangedEventArgs : EventArgs
     {
         /// <summary>
index 81a45d7..63446dc 100755 (executable)
@@ -18,6 +18,10 @@ using System;
 
 namespace Tizen.Location
 {
+    /// <summary>
+    /// An extended EventArgs class which contains the changed zone status.
+    /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class ZoneChangedEventArgs : EventArgs
     {
         /// <summary>