Fix errata
authorWonYoung Choi <wy80.choi@samsung.com>
Sat, 12 Mar 2016 12:09:50 +0000 (21:09 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Sat, 12 Mar 2016 12:09:50 +0000 (21:09 +0900)
Change-Id: I68df92bc1ad1001e390288990eeea4b72ebcd97e

Tizen.Applications/Tizen.Applications/AppControl.cs
Tizen.Applications/Tizen.Applications/TizenSynchronizationContext.cs

index 7420000..24fae1c 100755 (executable)
@@ -66,146 +66,147 @@ namespace Tizen.Applications
         {
             get { return false; }
         }
-    }
-
-    /// <summary>
-    /// 
-    /// </summary>
-    public static class Operations
-    {
-        /// <summary>
-        /// An explicit launch for a homescreen application. 
-        /// </summary>
-        public const string Main = "http://tizen.org/appcontrol/operation/main";
-
-        /// <summary>
-        /// An explicit launch for an application that excludes a homescreen application. 
-        /// </summary>
-        public const string Default = "http://tizen.org/appcontrol/operation/default";
-
-        /// <summary>
-        /// Provides an editable access to the given data. 
-        /// </summary>
-        public const string Edit = "http://tizen.org/appcontrol/operation/edit";
-
-        /// <summary>
-        /// Displays the data. 
-        /// </summary>
-        public const string View = "http://tizen.org/appcontrol/operation/view";
-
-        /// <summary>
-        /// Picks items. 
-        /// </summary>
-        public const string Pick = "http://tizen.org/appcontrol/operation/pick";
-
-        /// <summary>
-        /// Creates contents. 
-        /// </summary>
-        public const string CreateContent = "http://tizen.org/appcontrol/operation/create_content";
-
-        /// <summary>
-        /// Performs a call to someone. 
-        /// </summary>
-        public const string Call = "http://tizen.org/appcontrol/operation/call";
-
-        /// <summary>
-        /// Delivers some data to someone else. 
-        /// </summary>
-        public const string Send = "http://tizen.org/appcontrol/operation/send";
-
-        /// <summary>
-        /// Delivers text data to someone else. 
-        /// </summary>
-        public const string SendText = "http://tizen.org/appcontrol/operation/send_text";
-
-        /// <summary>
-        /// Shares an item with someone else. 
-        /// </summary>
-        public const string Share = "http://tizen.org/appcontrol/operation/share";
-
-        /// <summary>
-        /// Shares multiple items with someone else. 
-        /// </summary>
-        public const string MultiShare = "http://tizen.org/appcontrol/operation/multi_share";
-
-        /// <summary>
-        /// Shares text data with someone else. 
-        /// </summary>
-        public const string ShareText = "http://tizen.org/appcontrol/operation/share_text";
-
-        /// <summary>
-        /// Dials a number. This shows a UI with the number to be dialed, allowing the user to explicitly initiate the call. 
-        /// </summary>
-        public const string Dial = "http://tizen.org/appcontrol/operation/dial";
-
-        /// <summary>
-        /// Performs a search. 
-        /// </summary>
-        public const string Search = "http://tizen.org/appcontrol/operation/search";
-
-        /// <summary>
-        /// Downloads items. 
-        /// </summary>
-        public const string Download = "http://tizen.org/appcontrol/operation/download";
-
-        /// <summary>
-        /// Prints contents. 
-        /// </summary>
-        public const string Print = "http://tizen.org/appcontrol/operation/print";
-
-        /// <summary>
-        /// Composes a message. 
-        /// </summary>
-        public const string Compose = "http://tizen.org/appcontrol/operation/compose";
-
-        /// <summary>
-        /// Can be launched by interested System-Event. 
-        /// </summary>
-        public const string LaunchOnEvent = "http://tizen.org/appcontrol/operation/launch_on_event";
-
-        /// <summary>
-        /// Adds an item. 
-        /// </summary>
-        public const string Add = "http://tizen.org/appcontrol/operation/add";
-
-        /// <summary>
-        /// Captures images by camera applications. 
-        /// </summary>
-        public const string ImageCapture = "http://tizen.org/appcontrol/operation/image_capture";
-
-        /// <summary>
-        /// Captures videos by camera applications. 
-        /// </summary>
-        public const string VideoCapture = "http://tizen.org/appcontrol/operation/video_capture";
 
-        /// <summary>
-        /// Shows system settings. 
-        /// </summary>
-        public const string Setting = "http://tizen.org/appcontrol/operation/setting";
 
         /// <summary>
-        /// Shows settings to enable Bluetooth. 
-        /// </summary>
-        public const string SettingBluetoothEnable = "http://tizen.org/appcontrol/operation/setting/bt_enable";
-
-        /// <summary>
-        /// Shows settings to configure Bluetooth visibility. 
-        /// </summary>
-        public const string SettingBluetoothVisibility = "http://tizen.org/appcontrol/operation/setting/bt_visibility";
-
-        /// <summary>
-        /// Shows settings to allow configuration of current location sources. 
-        /// </summary>
-        public const string SettingLocation = "http://tizen.org/appcontrol/operation/setting/location";
-
-        /// <summary>
-        /// Shows NFC settings. 
-        /// </summary>
-        public const string SettingNfc = "http://tizen.org/appcontrol/operation/setting/nfc";
-
-        /// <summary>
-        /// Shows settings to allow configuration of Wi-Fi. 
+        /// 
         /// </summary>
-        public const string SettingWifi = "http://tizen.org/appcontrol/operation/setting/wifi";
+        public static class Operations
+        {
+            /// <summary>
+            /// An explicit launch for a homescreen application. 
+            /// </summary>
+            public const string Main = "http://tizen.org/appcontrol/operation/main";
+
+            /// <summary>
+            /// An explicit launch for an application that excludes a homescreen application. 
+            /// </summary>
+            public const string Default = "http://tizen.org/appcontrol/operation/default";
+
+            /// <summary>
+            /// Provides an editable access to the given data. 
+            /// </summary>
+            public const string Edit = "http://tizen.org/appcontrol/operation/edit";
+
+            /// <summary>
+            /// Displays the data. 
+            /// </summary>
+            public const string View = "http://tizen.org/appcontrol/operation/view";
+
+            /// <summary>
+            /// Picks items. 
+            /// </summary>
+            public const string Pick = "http://tizen.org/appcontrol/operation/pick";
+
+            /// <summary>
+            /// Creates contents. 
+            /// </summary>
+            public const string CreateContent = "http://tizen.org/appcontrol/operation/create_content";
+
+            /// <summary>
+            /// Performs a call to someone. 
+            /// </summary>
+            public const string Call = "http://tizen.org/appcontrol/operation/call";
+
+            /// <summary>
+            /// Delivers some data to someone else. 
+            /// </summary>
+            public const string Send = "http://tizen.org/appcontrol/operation/send";
+
+            /// <summary>
+            /// Delivers text data to someone else. 
+            /// </summary>
+            public const string SendText = "http://tizen.org/appcontrol/operation/send_text";
+
+            /// <summary>
+            /// Shares an item with someone else. 
+            /// </summary>
+            public const string Share = "http://tizen.org/appcontrol/operation/share";
+
+            /// <summary>
+            /// Shares multiple items with someone else. 
+            /// </summary>
+            public const string MultiShare = "http://tizen.org/appcontrol/operation/multi_share";
+
+            /// <summary>
+            /// Shares text data with someone else. 
+            /// </summary>
+            public const string ShareText = "http://tizen.org/appcontrol/operation/share_text";
+
+            /// <summary>
+            /// Dials a number. This shows a UI with the number to be dialed, allowing the user to explicitly initiate the call. 
+            /// </summary>
+            public const string Dial = "http://tizen.org/appcontrol/operation/dial";
+
+            /// <summary>
+            /// Performs a search. 
+            /// </summary>
+            public const string Search = "http://tizen.org/appcontrol/operation/search";
+
+            /// <summary>
+            /// Downloads items. 
+            /// </summary>
+            public const string Download = "http://tizen.org/appcontrol/operation/download";
+
+            /// <summary>
+            /// Prints contents. 
+            /// </summary>
+            public const string Print = "http://tizen.org/appcontrol/operation/print";
+
+            /// <summary>
+            /// Composes a message. 
+            /// </summary>
+            public const string Compose = "http://tizen.org/appcontrol/operation/compose";
+
+            /// <summary>
+            /// Can be launched by interested System-Event. 
+            /// </summary>
+            public const string LaunchOnEvent = "http://tizen.org/appcontrol/operation/launch_on_event";
+
+            /// <summary>
+            /// Adds an item. 
+            /// </summary>
+            public const string Add = "http://tizen.org/appcontrol/operation/add";
+
+            /// <summary>
+            /// Captures images by camera applications. 
+            /// </summary>
+            public const string ImageCapture = "http://tizen.org/appcontrol/operation/image_capture";
+
+            /// <summary>
+            /// Captures videos by camera applications. 
+            /// </summary>
+            public const string VideoCapture = "http://tizen.org/appcontrol/operation/video_capture";
+
+            /// <summary>
+            /// Shows system settings. 
+            /// </summary>
+            public const string Setting = "http://tizen.org/appcontrol/operation/setting";
+
+            /// <summary>
+            /// Shows settings to enable Bluetooth. 
+            /// </summary>
+            public const string SettingBluetoothEnable = "http://tizen.org/appcontrol/operation/setting/bt_enable";
+
+            /// <summary>
+            /// Shows settings to configure Bluetooth visibility. 
+            /// </summary>
+            public const string SettingBluetoothVisibility = "http://tizen.org/appcontrol/operation/setting/bt_visibility";
+
+            /// <summary>
+            /// Shows settings to allow configuration of current location sources. 
+            /// </summary>
+            public const string SettingLocation = "http://tizen.org/appcontrol/operation/setting/location";
+
+            /// <summary>
+            /// Shows NFC settings. 
+            /// </summary>
+            public const string SettingNfc = "http://tizen.org/appcontrol/operation/setting/nfc";
+
+            /// <summary>
+            /// Shows settings to allow configuration of Wi-Fi. 
+            /// </summary>
+            public const string SettingWifi = "http://tizen.org/appcontrol/operation/setting/wifi";
+        }
     }
 }
index 1fc54fb..bb60a20 100755 (executable)
@@ -18,7 +18,7 @@ namespace Tizen.Applications
         private readonly Interop.Glib.GSourceFunc _wrapperHandler;
         private readonly Object _transactionLock = new Object();        
         private readonly Dictionary<int, Action> _handlerMap = new Dictionary<int, Action>();
-        private int _transactionID = 0;
+        private int _transactionId = 0;
 
         private TizenSynchronizationContext()
         {
@@ -69,7 +69,7 @@ namespace Tizen.Applications
             int id = 0;
             lock (_transactionLock)
             {
-                id = _transactionID++;
+                id = _transactionId++;
             }
             _handlerMap.Add(id, action);
             Interop.Glib.IdleAdd(_wrapperHandler, (IntPtr)id);