From: kj7.sung Date: Tue, 10 Oct 2017 02:48:38 +0000 (+0900) Subject: Fix build warnings X-Git-Tag: preview1-00278~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1195942b96301355358d34dc545dcc55cc7af61;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fix build warnings Change-Id: Iecb38447c0baebfb6065f08de6a512b9cc5fcb95 Signed-off-by: kj7.sung --- diff --git a/src/Tizen.Location/Tizen.Location/LocationBoundary.cs b/src/Tizen.Location/Tizen.Location/LocationBoundary.cs index d8991e4..20355a8 100755 --- a/src/Tizen.Location/Tizen.Location/LocationBoundary.cs +++ b/src/Tizen.Location/Tizen.Location/LocationBoundary.cs @@ -76,6 +76,9 @@ namespace Tizen.Location GC.SuppressFinalize(this); } + /// + /// Dispose. + /// protected virtual void Dispose(bool disposing) { Log.Info(Globals.LogTag, "Dispose"); diff --git a/src/Tizen.Location/Tizen.Location/LocationError.cs b/src/Tizen.Location/Tizen.Location/LocationError.cs index 3f2f633..61dfc8b 100755 --- a/src/Tizen.Location/Tizen.Location/LocationError.cs +++ b/src/Tizen.Location/Tizen.Location/LocationError.cs @@ -31,16 +31,55 @@ namespace Tizen.Location /// 3 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 */ + /// + /// Successful. + /// + None = ErrorCode.None, + + /// + /// Out of memory error. + /// + OutOfMemory = ErrorCode.OutOfMemory, + + /// + /// Invalid parameter. + /// + InvalidParameter = ErrorCode.InvalidParameter, + + /// + /// Permission denied. + /// + AcessibilityNotallowed = ErrorCode.PermissionDenied, + + /// + /// Address family not supported. + /// + NotSupported = ErrorCode.NotSupported, + + /// + /// Location manager contains incorrect method for a given call. + /// + IncorrectMethod = LocationManagerError.Base | 0x01, + + /// + /// Network unavailable. + /// + NetworkFailed = LocationManagerError.Base | 0x02, + + /// + /// Location service is not available. + /// + ServiceNotAvailable = LocationManagerError.Base | 0x03, + + /// + /// GPS/WPS, or MOCK setting is not enabled. + /// + SettingOff = LocationManagerError.Base | 0x04, + + /// + /// Restricted by security system policy. + /// + SecuirtyRestricted = LocationManagerError.Base | 0x05, } /// @@ -49,12 +88,36 @@ namespace Tizen.Location /// 3 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 */ + + /// + /// Successful. + /// + None = ErrorCode.None, + + /// + /// Out of memory error. + /// + OutOfMemory = ErrorCode.OutOfMemory, + + /// + /// Invalid parameter. + /// + InvalidParameter = ErrorCode.InvalidParameter, + + /// + /// Not supported. + /// + NotSupported = ErrorCode.NotSupported, + + /// + /// Incorrect bounds type for a given call. + /// + IncorrectType = LocationManagerError.BoundsBase | 0x01, + + /// + /// Cannot remove bounds handle from location manager. + /// + IsAdded = LocationManagerError.BoundsBase | 0x02 } internal static class LocationErrorFactory diff --git a/src/Tizen.Location/Tizen.Location/Locator.cs b/src/Tizen.Location/Tizen.Location/Locator.cs index 9a72fff..7ff1ab1 100755 --- a/src/Tizen.Location/Tizen.Location/Locator.cs +++ b/src/Tizen.Location/Tizen.Location/Locator.cs @@ -561,6 +561,9 @@ namespace Tizen.Location GC.SuppressFinalize(this); } + /// + /// Dispose. + /// protected virtual void Dispose(bool disposing) { if (_disposed) diff --git a/src/Tizen.Location/Tizen.Location/LocatorEnumerations.cs b/src/Tizen.Location/Tizen.Location/LocatorEnumerations.cs index 9de03cc..0e2e3d3 100755 --- a/src/Tizen.Location/Tizen.Location/LocatorEnumerations.cs +++ b/src/Tizen.Location/Tizen.Location/LocatorEnumerations.cs @@ -25,8 +25,15 @@ namespace Tizen.Location /// 3 public enum ServiceState { - Disabled = 0, /** + /// Service is disabled. + /// + Disabled = 0, + + /// + /// Service is enabled. + /// + Enabled } /// @@ -35,10 +42,25 @@ namespace Tizen.Location /// 3 public enum LocationType { - Hybrid = 0, /** + /// This method selects the best method available at the moment. + /// + Hybrid = 0, + + /// + /// This method uses Global Positioning System. + /// + Gps, + + /// + /// This method uses WiFi Positioning System. + /// + Wps, + + /// + /// This method uses passive mode. + /// + Passive, } /// @@ -47,9 +69,20 @@ namespace Tizen.Location /// 3 public enum BoundaryType { - Rectangle = 0, /** + /// Rectangular geographical area type. + /// + Rectangle = 0, + + /// + /// Circle geographical area type. + /// + Circle, + + /// + /// Polygon geographical area type. + /// + Polygon } /// @@ -58,7 +91,14 @@ namespace Tizen.Location /// 3 public enum BoundaryState { - In = 0, /**< Boundary In (Zone In) */ - Out /**< Boundary Out (Zone Out) */ + /// + /// Boundary In (Zone In). + /// + In = 0, + + /// + /// Boundary Out (Zone Out). + /// + Out } } diff --git a/src/Tizen.Location/Tizen.Location/SatelliteStatusChangedEventArgs.cs b/src/Tizen.Location/Tizen.Location/SatelliteStatusChangedEventArgs.cs index aa27203..f47b4d1 100755 --- a/src/Tizen.Location/Tizen.Location/SatelliteStatusChangedEventArgs.cs +++ b/src/Tizen.Location/Tizen.Location/SatelliteStatusChangedEventArgs.cs @@ -18,6 +18,10 @@ using System; namespace Tizen.Location { + /// + /// An extended EventArgs class which contains the changed satellite status. + /// + /// 3 public class SatelliteStatusChangedEventArgs : EventArgs { /// diff --git a/src/Tizen.Location/Tizen.Location/ServiceStateChangedEventArgs.cs b/src/Tizen.Location/Tizen.Location/ServiceStateChangedEventArgs.cs index 7059849..707bf2a 100755 --- a/src/Tizen.Location/Tizen.Location/ServiceStateChangedEventArgs.cs +++ b/src/Tizen.Location/Tizen.Location/ServiceStateChangedEventArgs.cs @@ -21,6 +21,7 @@ namespace Tizen.Location /// /// An extended EventArgs class contains the changed location service state. /// + /// 3 public class ServiceStateChangedEventArgs : EventArgs { /// diff --git a/src/Tizen.Location/Tizen.Location/SettingChangedEventArgs.cs b/src/Tizen.Location/Tizen.Location/SettingChangedEventArgs.cs index 36e8c93..b9e42e8 100755 --- a/src/Tizen.Location/Tizen.Location/SettingChangedEventArgs.cs +++ b/src/Tizen.Location/Tizen.Location/SettingChangedEventArgs.cs @@ -18,6 +18,10 @@ using System; namespace Tizen.Location { + /// + /// An extended EventArgs class which contains the changed setting status. + /// + /// 3 public class SettingChangedEventArgs : EventArgs { /// diff --git a/src/Tizen.Location/Tizen.Location/ZoneChangedEventArgs.cs b/src/Tizen.Location/Tizen.Location/ZoneChangedEventArgs.cs index 81a45d7..63446dc 100755 --- a/src/Tizen.Location/Tizen.Location/ZoneChangedEventArgs.cs +++ b/src/Tizen.Location/Tizen.Location/ZoneChangedEventArgs.cs @@ -18,6 +18,10 @@ using System; namespace Tizen.Location { + /// + /// An extended EventArgs class which contains the changed zone status. + /// + /// 3 public class ZoneChangedEventArgs : EventArgs { ///