From 37a0b0f1d38ea3a2324b9453253ec5d3351b3994 Mon Sep 17 00:00:00 2001
From: prjung <33618885+prjung@users.noreply.github.com>
Date: Tue, 30 Jan 2018 17:43:06 +0900
Subject: [PATCH 1/1] [Storage]Fix api and enum version (#101)
---
src/Tizen.System.Storage/Storage/Storage.cs | 10 +++++-----
src/Tizen.System.Storage/Storage/StorageArea.cs | 2 +-
src/Tizen.System.Storage/Storage/StorageDevice.cs | 8 ++++----
src/Tizen.System.Storage/Storage/StorageManager.cs | 6 +++---
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/Tizen.System.Storage/Storage/Storage.cs b/src/Tizen.System.Storage/Storage/Storage.cs
index 6746081..2413417 100644
--- a/src/Tizen.System.Storage/Storage/Storage.cs
+++ b/src/Tizen.System.Storage/Storage/Storage.cs
@@ -192,7 +192,7 @@ namespace Tizen.System
///
/// The StorageDevice
///
- /// 4
+ /// 5
/// Thrown when DeviceType is not initialized.
public StorageDevice DeviceType
{
@@ -210,7 +210,7 @@ namespace Tizen.System
///
/// The type of file system
///
- /// 4
+ /// 5
/// Thrown when Fstype is not initialized.
public string Fstype
{
@@ -228,7 +228,7 @@ namespace Tizen.System
///
/// The uuid of the file system
///
- /// 4
+ /// 5
/// Thrown when Fsuuid is not initialized.
public string Fsuuid
{
@@ -246,7 +246,7 @@ namespace Tizen.System
///
/// Information about whether this is primary partition
///
- /// 4
+ /// 5
/// Thrown when Primary is not initialized.
public bool Primary
{
@@ -264,7 +264,7 @@ namespace Tizen.System
///
/// The flags for the storage status
///
- /// 4
+ /// 5
/// Thrown when Flags is not initialized.
public int Flags
{
diff --git a/src/Tizen.System.Storage/Storage/StorageArea.cs b/src/Tizen.System.Storage/Storage/StorageArea.cs
index 4ae3a12..30323d3 100644
--- a/src/Tizen.System.Storage/Storage/StorageArea.cs
+++ b/src/Tizen.System.Storage/Storage/StorageArea.cs
@@ -35,7 +35,7 @@ namespace Tizen.System
///
/// Extended internal storage
///
- /// 4
+ /// 5
ExtendedInternal = Interop.Storage.StorageArea.ExtendedInternal,
}
}
diff --git a/src/Tizen.System.Storage/Storage/StorageDevice.cs b/src/Tizen.System.Storage/Storage/StorageDevice.cs
index ba88ea0..b397e03 100644
--- a/src/Tizen.System.Storage/Storage/StorageDevice.cs
+++ b/src/Tizen.System.Storage/Storage/StorageDevice.cs
@@ -19,23 +19,23 @@ namespace Tizen.System
///
/// Enumeration for storage devices.
///
- /// 4
+ /// 5
public enum StorageDevice
{
///
/// External sd card device
///
- /// 4
+ /// 5
ExternalSDCard = Interop.Storage.StorageDevice.ExternalSDCard,
///
/// External usb mass storage
///
- /// 4
+ /// 5
ExternalUSBMassStorage = Interop.Storage.StorageDevice.ExternalUSBMassStorage,
///
/// Extended internal storage
///
- /// 4
+ /// 5
ExtendedInternalStorage = Interop.Storage.StorageDevice.ExtendedInternalStorage,
}
}
diff --git a/src/Tizen.System.Storage/Storage/StorageManager.cs b/src/Tizen.System.Storage/Storage/StorageManager.cs
index 55bcc52..1a66287 100644
--- a/src/Tizen.System.Storage/Storage/StorageManager.cs
+++ b/src/Tizen.System.Storage/Storage/StorageManager.cs
@@ -50,7 +50,7 @@ namespace Tizen.System
return storageList;
}
}
-
+
private static EventHandler s_ExternalStorageChangedEventHandler;
private static EventHandler s_ExtendedInternalStorageChangedEventHandler;
private static Interop.Storage.StorageChangedCallback s_ChangedEventCallback = (int id, Interop.Storage.StorageDevice devicetype, Interop.Storage.StorageState state, string fstype, string fsuuid, string rootDirectory, bool primary, int flags, IntPtr userData) =>
@@ -86,7 +86,7 @@ namespace Tizen.System
///
/// Storage type
/// An eventhandler to register
- /// 4
+ /// 5
public static void SetChangedEvent(StorageArea type, EventHandler handler)
{
if (type == StorageArea.Internal)
@@ -113,7 +113,7 @@ namespace Tizen.System
///
/// Storage type
/// An eventhandler to unregister
- /// 4
+ /// 5
public static void UnsetChangedEvent(StorageArea type, EventHandler handler)
{
if (type == StorageArea.Internal)
--
2.7.4