[Stt/SttEngine/Tts/TtsEngine/VoiceControl][Remove build warnings] 41/154241/4
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 10 Oct 2017 01:49:24 +0000 (10:49 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 10 Oct 2017 02:09:07 +0000 (11:09 +0900)
Change-Id: Ibbd0523cc9e490036f7aa8d2e19502d5566c6f23
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
src/Tizen.Uix.Stt/Interop/Interop.Stt.cs
src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs [changed mode: 0644->0755]
src/Tizen.Uix.SttEngine/Interop/Interop.SttEngine.cs
src/Tizen.Uix.Tts/Interop/Interop.Tts.cs
src/Tizen.Uix.Tts/Tizen.Uix.Tts/SupportedVoice.cs
src/Tizen.Uix.Tts/Tizen.Uix.Tts/TtsClient.cs
src/Tizen.Uix.TtsEngine/Interop/Interop.TtsEngine.cs
src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControl.cs

index f29291c..b2df927 100755 (executable)
@@ -34,26 +34,26 @@ internal static partial class Interop
 
         internal enum SttError
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /**< No answer from the STT service */
-            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,           /**< Device or resource busy */
-            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /**< Network is down */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< STT NOT supported */
-            InvalidState = ErrorStt | 0x01,                                         /**< Invalid state */
-            InvalidLanguage = ErrorStt | 0x02,                                      /**< Invalid language */
-            EngineNotFound = ErrorStt | 0x03,                                       /**< No available engine  */
-            OperationFailed = ErrorStt | 0x04,                                      /**< Operation failed  */
-            NotSupportedFeature = ErrorStt | 0x05,                                  /**< Not supported feature of current engine */
-            RecordingTimedOut = ErrorStt | 0x06,                                    /**< Recording timed out */
-            NoSpeech = ErrorStt | 0x07,                                             /**< No speech while recording*/
-            InProgressToReady = ErrorStt | 0x08,                                    /**< Progress to ready is not finished*/
-            InProgressToRecording = ErrorStt | 0x09,                                /**< Progress to recording is not finished*/
-            InProgressToProcessing = ErrorStt | 0x10,                               /**< Progress to processing is not finished*/
-            ServiceReset = ErrorStt | 0x11                                          /**< Service reset*/
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /* No answer from the STT service */
+            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,           /* Device or resource busy */
+            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /* Network is down */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* STT NOT supported */
+            InvalidState = ErrorStt | 0x01,                                         /* Invalid state */
+            InvalidLanguage = ErrorStt | 0x02,                                      /* Invalid language */
+            EngineNotFound = ErrorStt | 0x03,                                       /* No available engine  */
+            OperationFailed = ErrorStt | 0x04,                                      /* Operation failed  */
+            NotSupportedFeature = ErrorStt | 0x05,                                  /* Not supported feature of current engine */
+            RecordingTimedOut = ErrorStt | 0x06,                                    /* Recording timed out */
+            NoSpeech = ErrorStt | 0x07,                                             /* No speech while recording */
+            InProgressToReady = ErrorStt | 0x08,                                    /* Progress to ready is not finished */
+            InProgressToRecording = ErrorStt | 0x09,                                /* Progress to recording is not finished */
+            InProgressToProcessing = ErrorStt | 0x10,                               /* Progress to processing is not finished */
+            ServiceReset = ErrorStt | 0x11                                          /* Service reset */
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
old mode 100644 (file)
new mode 100755 (executable)
index 1860270..5f33ed1
@@ -1492,13 +1492,21 @@ namespace Tizen.Uix.Stt
         }
 
         /// <summary>
-        /// A method to release resources.
+        /// Method to release resources.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
         }
 
+        /// <summary>
+        /// Method to release resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">
+        /// The boolean value for destoying stt handle.
+        /// </param>
         protected virtual void Dispose(bool disposing)
         {
             if (!disposedValue)
index dc07ccf..902d487 100755 (executable)
@@ -36,18 +36,18 @@ internal static partial class Interop
 
         public enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /**< Network down(Out of network) */
-            InvalidState = ErrorStt | 0x01,                                         /**< Invalid state */
-            InvalidLanguage = ErrorStt | 0x02,                                      /**< Invalid language */
-            OperationFailed = ErrorStt | 0x04,                                      /**< Operation failed  */
-            NotSupportedFeature = ErrorStt | 0x05,                                  /**< Not supported feature of current engine */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< Device or resource busy */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            RecordingTimedOut = ErrorStt | 0x06,                                    /**< Recording timed out */
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /* Network down(Out of network) */
+            InvalidState = ErrorStt | 0x01,                                         /* Invalid state */
+            InvalidLanguage = ErrorStt | 0x02,                                      /* Invalid language */
+            OperationFailed = ErrorStt | 0x04,                                      /* Operation failed  */
+            NotSupportedFeature = ErrorStt | 0x05,                                  /* Not supported feature of current engine */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* Device or resource busy */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            RecordingTimedOut = ErrorStt | 0x06,                                    /* Recording timed out */
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index 32b49ba..21a3a67 100755 (executable)
@@ -35,21 +35,21 @@ internal static partial class Interop
 
         internal enum TtsError
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /**< Network is down */
-            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /**< No answer from the STT service */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< STT NOT supported */
-            InvalidState = ErrorTts | 0x01,                                         /**< Invalid state */
-            InvalidVoice = ErrorTts | 0x02,                                         /**< Invalid language */
-            EngineNotFound = ErrorTts | 0x03,                                       /**< No available engine  */
-            OperationFailed = ErrorTts | 0x04,                                      /**< Operation failed  */
-            AudioPolicyBlocked = ErrorTts | 0x05,                                   /**< Audio policy blocked */
-            NotSupportedFeature = ErrorTts | 0x06,                                  /**< Not supported feature of current engine*/
-            ServiceReset = ErrorTts | 0x07                                          /**< Service reset*/
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /* Network is down */
+            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /* No answer from the STT service */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* STT NOT supported */
+            InvalidState = ErrorTts | 0x01,                                         /* Invalid state */
+            InvalidVoice = ErrorTts | 0x02,                                         /* Invalid language */
+            EngineNotFound = ErrorTts | 0x03,                                       /* No available engine  */
+            OperationFailed = ErrorTts | 0x04,                                      /* Operation failed  */
+            AudioPolicyBlocked = ErrorTts | 0x05,                                   /* Audio policy blocked */
+            NotSupportedFeature = ErrorTts | 0x06,                                  /* Not supported feature of current engine*/
+            ServiceReset = ErrorTts | 0x07                                          /* Service reset*/
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index e99108b..eff992e 100755 (executable)
@@ -63,6 +63,10 @@ namespace Tizen.Uix.Tts
             internal set;
         }
 
+        /// <summary>
+        /// A voice type (e.g. #TTS_VOICE_TYPE_MALE, #TTS_VOICE_TYPE_FEMALE).
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Voice VoiceType
         {
             get;
index f8af3a1..1d95595 100755 (executable)
@@ -1049,6 +1049,13 @@ namespace Tizen.Uix.Tts
             Dispose(true);
         }
 
+        /// <summary>
+        /// Method to release resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">
+        /// The boolean value for destoying tts handle.
+        /// </param>
         protected virtual void Dispose(bool disposing)
         {
             if (!disposedValue)
index 0a2a962..df37090 100755 (executable)
@@ -36,17 +36,17 @@ internal static partial class Interop
 
         public enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /**< Network down(Out of network) */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            InvalidState = ErrorTts | 0x01,                                         /**< Invalid state */
-            InvalidVoice = ErrorTts | 0x02,                                         /**< Invalid voice */
-            OperationFailed = ErrorTts | 0x04,                                      /**< Operation failed  */
-            NotSupportedFeature = ErrorTts | 0x06,                                  /**< Not supported feature of current engine */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< Device or resource busy */
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /* Network down(Out of network) */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            InvalidState = ErrorTts | 0x01,                                         /* Invalid state */
+            InvalidVoice = ErrorTts | 0x02,                                         /* Invalid voice */
+            OperationFailed = ErrorTts | 0x04,                                      /* Operation failed  */
+            NotSupportedFeature = ErrorTts | 0x06,                                  /* Not supported feature of current engine */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* Device or resource busy */
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index f6d386e..e675aee 100755 (executable)
@@ -36,25 +36,25 @@ internal static partial class Interop
 
         internal enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,            /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,        /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,         /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,       /**< No answer from service */
-            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,       /**< Busy recorder */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,       /**< VC NOT supported */
-            InvalidState = ErrorVoiceControl | 0x011,   /**< Invalid state */
-            InvalidLanguage = ErrorVoiceControl | 0x012,    /**< Invalid language */
-            EngineNotFound = ErrorVoiceControl | 0x013, /**< No available engine */
-            OperationFailed = ErrorVoiceControl | 0x014,    /**< Operation failed */
-            OperationRejected = ErrorVoiceControl | 0x015,  /**< Operation rejected */
-            IterationEnd = ErrorVoiceControl | 0x016,   /**< List reached end */
-            Empty = ErrorVoiceControl | 0x017,  /**< List empty */
-            ServiceReset = ErrorVoiceControl | 0x018,   /**< Service daemon reset (Since 3.0) */
-            InProgressToReady = ErrorVoiceControl | 0x019,  /**< In progress to ready (Since 3.0) */
-            InProgressToRecording = ErrorVoiceControl | 0x020,  /**< In progress to recording (Since 3.0) */
-            InProgressToProcessing = ErrorVoiceControl | 0x021 /**< In progress to processing (Since 3.0) */
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /* No answer from service */
+            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,           /* Busy recorder */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* VC NOT supported */
+            InvalidState = ErrorVoiceControl | 0x011,                               /* Invalid state */
+            InvalidLanguage = ErrorVoiceControl | 0x012,                            /* Invalid language */
+            EngineNotFound = ErrorVoiceControl | 0x013,                             /* No available engine */
+            OperationFailed = ErrorVoiceControl | 0x014,                            /* Operation failed */
+            OperationRejected = ErrorVoiceControl | 0x015,                          /* Operation rejected */
+            IterationEnd = ErrorVoiceControl | 0x016,                               /* List reached end */
+            Empty = ErrorVoiceControl | 0x017,                                      /* List empty */
+            ServiceReset = ErrorVoiceControl | 0x018,                               /* Service daemon reset */
+            InProgressToReady = ErrorVoiceControl | 0x019,                          /* In progress to ready */
+            InProgressToRecording = ErrorVoiceControl | 0x020,                      /* In progress to recording */
+            InProgressToProcessing = ErrorVoiceControl | 0x021                      /* In progress to processing */
         };
 
         internal enum VoiceCommandType