From cd2c16f80f6ced4f8076ce376b9bcf2df0c62919 Mon Sep 17 00:00:00 2001 From: Dongsug Song Date: Thu, 25 Feb 2021 16:49:41 +0900 Subject: [PATCH] Revert "[NUI] Add license, delete unnecessary code (#2679)" This reverts commit 62e8848bc80566daada96d5b47a014ef33aa3886. --- .../Accessibility/AccessibilityActionSignal.cs | 5 +- .../AccessibilityFocusOvershotSignal.cs | 3 +- .../AnimatablePropertyComponentRegistration.cs | 6 +- .../Animation/AnimatablePropertyRegistration.cs | 4 +- .../src/internal/Animation/AnimationSignal.cs | 5 +- .../src/internal/Application/Application.cs | 423 +++++++++++---------- .../Application/ApplicationControlSignal.cs | 3 +- .../src/internal/Application/ApplicationSignal.cs | 3 +- .../internal/Application/ComponentApplication.cs | 55 ++- .../Application/NUIComponentCoreBackend.cs | 46 +-- .../internal/Application/NUIWidgetCoreBackend.cs | 69 ++-- .../src/internal/Application/WatchApplication.cs | 82 ++-- .../src/internal/Application/WatchBoolSignal.cs | 4 +- .../src/internal/Application/WatchTimeSignal.cs | 4 +- .../src/internal/Common/ActivatedSignalType.cs | 6 +- src/Tizen.NUI/src/internal/Common/Alignment.cs | 4 +- src/Tizen.NUI/src/internal/Common/AngleAxis.cs | 3 +- .../src/internal/Common/AngleThresholdPair.cs | 3 +- src/Tizen.NUI/src/internal/Common/Any.cs | 4 +- .../src/internal/Common/AsyncImageLoader.cs | 3 +- .../internal/Common/AuthenticationSignalType.cs | 6 +- src/Tizen.NUI/src/internal/Common/BaseObject.cs | 5 +- src/Tizen.NUI/src/internal/Common/ButtonSignal.cs | 4 +- .../internal/Common/ChildPropertyRegistration.cs | 4 +- .../internal/Common/ContentReceivedSignalType.cs | 7 +- .../src/internal/Common/ControlKeySignal.cs | 4 +- src/Tizen.NUI/src/internal/Common/CustomActor.cs | 3 +- .../internal/Common/CustomAlgorithmInterface.cs | 3 +- .../src/internal/Common/DaliEnumConstants.cs | 3 +- src/Tizen.NUI/src/internal/Common/DaliException.cs | 4 +- .../src/internal/Common/DefaultItemLayoutType.cs | 3 +- src/Tizen.NUI/src/internal/Common/DefaultRuler.cs | 4 +- src/Tizen.NUI/src/internal/Common/DisposeQueue.cs | 61 ++- .../src/internal/Common/EventThreadCallback.cs | 10 +- src/Tizen.NUI/src/internal/Common/FixedRuler.cs | 3 +- src/Tizen.NUI/src/internal/Common/FloatSignal.cs | 6 +- .../src/internal/Common/FocusChangedSignal.cs | 5 +- .../src/internal/Common/FocusGroupChangedSignal.cs | 5 +- .../src/internal/Common/FontDescription.cs | 3 +- src/Tizen.NUI/src/internal/Common/FontMetrics.cs | 3 +- .../src/internal/Common/FriendAssembly.cs | 38 +- .../src/internal/Common/GLWindowResizedSignal.cs | 3 +- src/Tizen.NUI/src/internal/Common/GlyphInfo.cs | 3 +- src/Tizen.NUI/src/internal/Common/HoverSignal.cs | 4 +- .../src/internal/Common/InputMethodOptions.cs | 3 +- .../src/internal/Common/InterceptTouchSignal.cs | 5 +- .../src/internal/Common/KeyEventSignal.cs | 4 +- .../src/internal/Common/KeyInputFocusManager.cs | 4 +- .../src/internal/Common/KeyInputFocusSignal.cs | 4 +- .../src/internal/Common/KeyboardEventSignalType.cs | 5 +- .../Common/KeyboardRepeatSettingsChangedSignal.cs | 3 +- .../internal/Common/KeyboardResizedSignalType.cs | 4 +- .../src/internal/Common/KeyboardTypeSignalType.cs | 23 +- .../internal/Common/LanguageChangedSignalType.cs | 4 +- .../src/internal/Common/LinearConstrainer.cs | 3 +- .../src/internal/Common/ListEventSignalType.cs | 6 +- .../Common/LongPressGestureDetectedSignal.cs | 4 +- .../src/internal/Common/LowBatterySignalType.cs | 4 +- .../src/internal/Common/LowMemorySignalType.cs | 4 +- src/Tizen.NUI/src/internal/Common/Matrix.cs | 3 +- src/Tizen.NUI/src/internal/Common/Matrix3.cs | 3 +- src/Tizen.NUI/src/internal/Common/Model3dView.cs | 3 +- src/Tizen.NUI/src/internal/Common/NUIEventType.cs | 2 +- src/Tizen.NUI/src/internal/Common/NUIWindowInfo.cs | 47 +-- .../src/internal/Common/NativeImageInterface.cs | 3 +- .../src/internal/Common/ObjectCreatedSignal.cs | 5 +- .../src/internal/Common/ObjectDestroyedSignal.cs | 5 +- .../src/internal/Common/ObjectRegistry.cs | 60 +-- .../internal/Common/PanGestureDetectedSignal.cs | 5 +- .../src/internal/Common/PathConstrainer.cs | 3 +- .../internal/Common/PinchGestureDetectedSignal.cs | 5 +- .../Common/ProgressBarValueChangedSignal.cs | 5 +- .../src/internal/Common/PropertyHelper.cs | 1 - .../src/internal/Common/PropertyRangeManager.cs | 30 +- .../src/internal/Common/PropertyRegistration.cs | 3 +- src/Tizen.NUI/src/internal/Common/Registry.cs | 6 +- src/Tizen.NUI/src/internal/Common/RenderTask.cs | 3 +- .../src/internal/Common/RenderTaskList.cs | 3 +- .../src/internal/Common/RenderTaskSignal.cs | 5 +- src/Tizen.NUI/src/internal/Common/ResizedSignal.cs | 5 +- .../Common/RotationGestureDetectedSignal.cs | 4 +- src/Tizen.NUI/src/internal/Common/Ruler.cs | 4 +- src/Tizen.NUI/src/internal/Common/RulerDomain.cs | 3 +- src/Tizen.NUI/src/internal/Common/RulerPtr.cs | 3 +- .../internal/Common/ScrollStateChangedSignal.cs | 4 +- .../internal/Common/ScrollViewSnapStartedSignal.cs | 4 +- .../src/internal/Common/ScrollableSignal.cs | 4 +- .../src/internal/Common/SignalConnectorType.cs | 4 +- .../src/internal/Common/SignalObserver.cs | 7 +- .../src/internal/Common/SliderMarkReachedSignal.cs | 5 +- .../internal/Common/SliderValueChangedSignal.cs | 4 +- src/Tizen.NUI/src/internal/Common/SlotObserver.cs | 3 +- .../src/internal/Common/StageWheelSignal.cs | 5 +- .../src/internal/Common/StateChangedSignalType.cs | 4 +- .../src/internal/Common/StatusSignalType.cs | 4 +- .../src/internal/Common/StringValuePair.cs | 3 +- .../src/internal/Common/StyleChangedSignal.cs | 4 +- .../internal/Common/TapGestureDetectedSignal.cs | 4 +- .../src/internal/Common/TextEditorSignal.cs | 6 +- .../src/internal/Common/TextFieldSignal.cs | 5 +- src/Tizen.NUI/src/internal/Common/TimePeriod.cs | 4 +- .../src/internal/Common/TimerSignalType.cs | 4 +- .../src/internal/Common/TouchDataSignal.cs | 5 +- src/Tizen.NUI/src/internal/Common/TouchPoint.cs | 4 +- .../src/internal/Common/TouchPointContainer.cs | 23 +- src/Tizen.NUI/src/internal/Common/TouchSignal.cs | 5 +- src/Tizen.NUI/src/internal/Common/TypeAction.cs | 5 +- .../src/internal/Common/TypeRegistration.cs | 3 +- src/Tizen.NUI/src/internal/Common/Uint16Pair.cs | 4 +- src/Tizen.NUI/src/internal/Common/VectorBase.cs | 5 +- src/Tizen.NUI/src/internal/Common/VectorBlob.cs | 4 +- .../src/internal/Common/VectorUint16Pair.cs | 3 +- .../src/internal/Common/VectorUnsignedChar.cs | 3 +- .../src/internal/Common/VideoViewSignal.cs | 6 +- src/Tizen.NUI/src/internal/Common/ViewImpl.cs | 2 +- .../Common/ViewLayoutDirectionChangedSignal.cs | 4 +- .../src/internal/Common/ViewResourceReadySignal.cs | 5 +- src/Tizen.NUI/src/internal/Common/ViewSignal.cs | 4 +- .../internal/Common/ViewVisibilityChangedSignal.cs | 6 +- src/Tizen.NUI/src/internal/Common/VoidSignal.cs | 5 +- .../src/internal/Common/WeakEventHandler.cs | 29 +- src/Tizen.NUI/src/internal/Common/WheelSignal.cs | 4 +- src/Tizen.NUI/src/internal/Common/floatp.cs | 4 +- .../src/internal/FrameBroker/DefaultFrameBroker.cs | 5 +- .../src/internal/FrameBroker/FrameData.cs | 5 +- .../internal/FrameBroker/SafeFrameBrokerHandle.cs | 4 +- .../src/internal/FrameProvider/FrameProvider.cs | 3 +- .../internal/Interop/Inerop.KeyboardEventSignal.cs | 19 +- .../Interop/Interop.AccessibilityManager.cs | 19 +- .../Interop/Interop.ActivatedSignalType.cs | 19 +- .../src/internal/Interop/Interop.Actor.cs | 19 +- .../src/internal/Interop/Interop.ActorContainer.cs | 19 +- .../internal/Interop/Interop.ActorHoverSignal.cs | 19 +- .../src/internal/Interop/Interop.ActorInternal.cs | 19 +- .../src/internal/Interop/Interop.ActorProperty.cs | 19 +- .../src/internal/Interop/Interop.ActorSignal.cs | 19 +- .../Interop/Interop.ActorTouchDataSignal.cs | 19 +- .../internal/Interop/Interop.ActorWheelSignal.cs | 19 +- .../src/internal/Interop/Interop.Adaptor.cs | 19 +- .../src/internal/Interop/Interop.Alignment.cs | 19 +- .../src/internal/Interop/Interop.AlphaFunction.cs | 19 +- .../src/internal/Interop/Interop.Angle.cs | 19 +- .../src/internal/Interop/Interop.AngleAxis.cs | 19 +- .../internal/Interop/Interop.AngleThresholdPair.cs | 19 +- .../src/internal/Interop/Interop.Animation.cs | 19 +- src/Tizen.NUI/src/internal/Interop/Interop.Any.cs | 20 +- .../src/internal/Interop/Interop.Application.cs | 19 +- .../Interop/Interop.ApplicationControlSignal.cs | 19 +- .../internal/Interop/Interop.ApplicationSignal.cs | 19 +- .../internal/Interop/Interop.AsyncImageLoader.cs | 19 +- .../Interop/Interop.AuthenticationSignalType.cs | 19 +- .../internal/Interop/Interop.AutofillContainer.cs | 19 +- .../src/internal/Interop/Interop.BaseHandle.cs | 22 +- .../src/internal/Interop/Interop.BaseObject.cs | 19 +- .../src/internal/Interop/Interop.BorderVisual.cs | 19 +- .../src/internal/Interop/Interop.Builder.cs | 19 +- .../src/internal/Interop/Interop.Button.cs | 19 +- .../src/internal/Interop/Interop.ButtonSignal.cs | 19 +- .../src/internal/Interop/Interop.CameraActor.cs | 19 +- .../src/internal/Interop/Interop.Capture.cs | 18 +- .../src/internal/Interop/Interop.CheckBoxButton.cs | 19 +- .../src/internal/Interop/Interop.ClampState2D.cs | 19 +- .../src/internal/Interop/Interop.ColorVisual.cs | 19 +- .../internal/Interop/Interop.ConnectionTracker.cs | 19 +- .../Interop/Interop.ContentReceivedSignalType.cs | 19 +- .../internal/Interop/Interop.ControlKeySignal.cs | 19 +- .../internal/Interop/Interop.CustomActorImpl.cs | 19 +- .../Interop/Interop.CustomAlgorithmInterface.cs | 19 +- .../src/internal/Interop/Interop.DaliException.cs | 19 +- .../src/internal/Interop/Interop.Degree.cs | 19 +- .../Interop/Interop.EventThreadCallback.cs | 19 +- .../src/internal/Interop/Interop.Extents.cs | 19 +- .../src/internal/Interop/Interop.FlexContainer.cs | 19 +- .../src/internal/Interop/Interop.FloatSignal.cs | 19 +- .../internal/Interop/Interop.FocusChangedSignal.cs | 19 +- .../Interop/Interop.FocusGroupChangedSignal.cs | 19 +- .../src/internal/Interop/Interop.FocusManager.cs | 19 +- .../src/internal/Interop/Interop.FontClient.cs | 19 +- .../src/internal/Interop/Interop.FrameBuffer.cs | 19 +- .../Interop.FrameUpdateCallbackInterface.cs | 19 +- .../src/internal/Interop/Interop.GLWindow.cs | 22 +- .../Interop/Interop.GLWindowFocusChangeSignal.cs | 22 +- .../Interop/Interop.GLWindowResizedSignal.cs | 22 +- .../internal/Interop/Interop.GaussianBlurView.cs | 19 +- .../Interop/Interop.GaussianBlurViewSignal.cs | 19 +- .../src/internal/Interop/Interop.Geometry.cs | 19 +- .../src/internal/Interop/Interop.Gesture.cs | 19 +- .../internal/Interop/Interop.GestureDetector.cs | 19 +- .../src/internal/Interop/Interop.GlyphInfo.cs | 19 +- .../src/internal/Interop/Interop.GradientVisual.cs | 19 +- .../Interop/Interop.GraphicsCapabilities.cs | 19 +- .../src/internal/Interop/Interop.Handle.cs | 19 +- .../src/internal/Interop/Interop.HandleInternal.cs | 19 +- .../src/internal/Interop/Interop.Hover.cs | 19 +- .../src/internal/Interop/Interop.ImageLoading.cs | 20 +- .../src/internal/Interop/Interop.ImageView.cs | 35 +- .../src/internal/Interop/Interop.ImageVisual.cs | 19 +- .../internal/Interop/Interop.InputMethodContext.cs | 19 +- .../internal/Interop/Interop.InputMethodOptions.cs | 19 +- src/Tizen.NUI/src/internal/Interop/Interop.Item.cs | 19 +- .../src/internal/Interop/Interop.ItemContainer.cs | 19 +- .../src/internal/Interop/Interop.ItemFactory.cs | 19 +- .../internal/Interop/Interop.ItemIdContainer.cs | 19 +- .../src/internal/Interop/Interop.ItemLayout.cs | 19 +- .../src/internal/Interop/Interop.ItemRange.cs | 19 +- .../src/internal/Interop/Interop.ItemView.cs | 19 +- src/Tizen.NUI/src/internal/Interop/Interop.Key.cs | 19 +- .../src/internal/Interop/Interop.KeyEventSignal.cs | 19 +- .../src/internal/Interop/Interop.KeyFrames.cs | 19 +- .../Interop/Interop.KeyInputFocusManager.cs | 19 +- .../Interop.KeyboardRepeatSettingsChangedSignal.cs | 20 +- .../Interop/Interop.KeyboardResizedSignalType.cs | 20 +- .../Interop/Interop.KeyboardTypeSignalType.cs | 19 +- .../Interop/Interop.LanguageChangedSignalType.cs | 19 +- .../src/internal/Interop/Interop.Layer.cs | 19 +- .../internal/Interop/Interop.LinearConstrainer.cs | 19 +- .../Interop/Interop.ListEventSignalType.cs | 19 +- .../internal/Interop/Interop.LongPressGesture.cs | 19 +- .../Interop.LongPressGestureDetectedSignal.cs | 19 +- .../Interop/Interop.LongPressGestureDetector.cs | 19 +- .../internal/Interop/Interop.LowBatterySignal.cs | 19 +- .../internal/Interop/Interop.LowMemorySignal.cs | 19 +- .../src/internal/Interop/Interop.Matrix.cs | 19 +- .../src/internal/Interop/Interop.Model3DView.cs | 19 +- .../src/internal/Interop/Interop.NDalic.cs | 19 +- .../internal/Interop/Interop.NDalicAnchorPoint.cs | 19 +- .../src/internal/Interop/Interop.NDalicColor.cs | 19 +- .../src/internal/Interop/Interop.NDalicMachine.cs | 19 +- .../internal/Interop/Interop.NDalicMeshVisual.cs | 19 +- .../internal/Interop/Interop.NDalicParentOrigin.cs | 19 +- .../internal/Interop/Interop.NDalicPrimitive.cs | 19 +- .../src/internal/Interop/Interop.NDalicText.cs | 19 +- .../src/internal/Interop/Interop.NDalicToolTip.cs | 19 +- .../src/internal/Interop/Interop.NDalicVisual.cs | 19 +- .../src/internal/Interop/Interop.NDalicXYZ.cs | 19 +- .../Interop/Interop.NativeImageInterface.cs | 19 +- .../internal/Interop/Interop.NativeImageSource.cs | 20 +- .../Interop/Interop.ObjectDestroyedSignal.cs | 19 +- .../src/internal/Interop/Interop.ObjectRegistry.cs | 19 +- .../src/internal/Interop/Interop.PaddingType.cs | 19 +- .../src/internal/Interop/Interop.PageFactory.cs | 19 +- .../src/internal/Interop/Interop.PagePanSignal.cs | 19 +- .../Interop/Interop.PageTurnLandscapeView.cs | 19 +- .../Interop/Interop.PageTurnPortraitView.cs | 19 +- .../src/internal/Interop/Interop.PageTurnSignal.cs | 19 +- .../src/internal/Interop/Interop.PageTurnView.cs | 19 +- .../internal/Interop/Interop.PanGestureDetector.cs | 19 +- src/Tizen.NUI/src/internal/Interop/Interop.Path.cs | 19 +- .../internal/Interop/Interop.PathConstrainer.cs | 19 +- .../src/internal/Interop/Interop.PinchGesture.cs | 19 +- .../src/internal/Interop/Interop.PixelBuffer.cs | 19 +- .../src/internal/Interop/Interop.PixelData.cs | 21 +- .../src/internal/Interop/Interop.Popup.cs | 19 +- .../src/internal/Interop/Interop.PreFocusSignal.cs | 19 +- .../src/internal/Interop/Interop.ProgressBar.cs | 19 +- .../src/internal/Interop/Interop.Property.cs | 19 +- .../src/internal/Interop/Interop.PropertyBuffer.cs | 19 +- .../internal/Interop/Interop.PropertyCondition.cs | 19 +- .../src/internal/Interop/Interop.PropertyMap.cs | 19 +- .../Interop/Interop.PropertyNotification.cs | 19 +- .../Interop/Interop.PropertyNotifySignal.cs | 19 +- .../src/internal/Interop/Interop.PropertyValue.cs | 19 +- .../src/internal/Interop/Interop.PushButton.cs | 19 +- .../src/internal/Interop/Interop.Radian.cs | 19 +- .../src/internal/Interop/Interop.RadioButton.cs | 19 +- .../src/internal/Interop/Interop.Rectangle.cs | 19 +- .../src/internal/Interop/Interop.RefObject.cs | 19 +- .../src/internal/Interop/Interop.RenderTask.cs | 19 +- .../src/internal/Interop/Interop.Renderer.cs | 19 +- .../src/internal/Interop/Interop.ResizedSignal.cs | 19 +- .../src/internal/Interop/Interop.Rotation.cs | 19 +- .../internal/Interop/Interop.RotationGesture.cs | 19 +- .../src/internal/Interop/Interop.Ruler.cs | 19 +- .../src/internal/Interop/Interop.Sampler.cs | 19 +- .../src/internal/Interop/Interop.ScrollBar.cs | 19 +- .../Interop/Interop.ScrollStateChangeSignal.cs | 19 +- .../src/internal/Interop/Interop.ScrollView.cs | 19 +- .../src/internal/Interop/Interop.Scrollable.cs | 19 +- .../internal/Interop/Interop.ScrollableSignal.cs | 19 +- .../src/internal/Interop/Interop.Shader.cs | 19 +- .../src/internal/Interop/Interop.SingalObserver.cs | 19 +- .../src/internal/Interop/Interop.Slider.cs | 19 +- .../src/internal/Interop/Interop.Stage.cs | 20 +- .../src/internal/Interop/Interop.StageSignal.cs | 19 +- .../Interop/Interop.StateChangeSignalType.cs | 19 +- .../internal/Interop/Interop.StatusSignalType.cs | 20 +- .../internal/Interop/Interop.StringValuePair.cs | 19 +- .../internal/Interop/Interop.StyleChangedSignal.cs | 19 +- .../src/internal/Interop/Interop.StyleManager.cs | 19 +- .../src/internal/Interop/Interop.TableView.cs | 19 +- .../src/internal/Interop/Interop.TapGesture.cs | 19 +- .../Interop/Interop.TapGestureDetectedSignal.cs | 20 +- .../internal/Interop/Interop.TapGestureDetector.cs | 19 +- .../src/internal/Interop/Interop.TextEditor.cs | 19 +- .../src/internal/Interop/Interop.TextField.cs | 19 +- .../src/internal/Interop/Interop.TextLabel.cs | 19 +- .../src/internal/Interop/Interop.TextUtils.cs | 20 +- .../src/internal/Interop/Interop.Texture.cs | 21 +- .../src/internal/Interop/Interop.TextureSet.cs | 19 +- .../src/internal/Interop/Interop.TimePeriod.cs | 19 +- .../src/internal/Interop/Interop.Timer.cs | 19 +- .../src/internal/Interop/Interop.ToggleButton.cs | 19 +- .../src/internal/Interop/Interop.Touch.cs | 19 +- .../src/internal/Interop/Interop.TouchPoint.cs | 19 +- .../Interop/Interop.TouchPointContainer.cs | 19 +- .../src/internal/Interop/Interop.TouchSignal.cs | 19 +- .../src/internal/Interop/Interop.TransitionData.cs | 19 +- .../src/internal/Interop/Interop.TtsPlayer.cs | 19 +- .../src/internal/Interop/Interop.TypeInfo.cs | 19 +- .../internal/Interop/Interop.TypeRegistration.cs | 19 +- .../src/internal/Interop/Interop.TypeRegistry.cs | 19 +- .../src/internal/Interop/Interop.Uint16Pair.cs | 19 +- .../src/internal/Interop/Interop.Vector2.cs | 19 +- .../src/internal/Interop/Interop.Vector3.cs | 19 +- .../src/internal/Interop/Interop.Vector4.cs | 19 +- .../src/internal/Interop/Interop.VectorBase.cs | 19 +- .../src/internal/Interop/Interop.VectorBlob.cs | 19 +- .../src/internal/Interop/Interop.VectorFloat.cs | 19 +- .../src/internal/Interop/Interop.VectorInteger.cs | 19 +- .../internal/Interop/Interop.VectorUint16Pair.cs | 19 +- .../internal/Interop/Interop.VectorUnsignedChar.cs | 19 +- .../src/internal/Interop/Interop.VertexBuffer.cs | 19 +- .../src/internal/Interop/Interop.VideoView.cs | 19 +- src/Tizen.NUI/src/internal/Interop/Interop.View.cs | 20 +- .../src/internal/Interop/Interop.ViewImpl.cs | 19 +- .../src/internal/Interop/Interop.ViewImplSignal.cs | 19 +- .../src/internal/Interop/Interop.ViewInternal.cs | 19 +- .../src/internal/Interop/Interop.ViewProperty.cs | 19 +- .../Interop/Interop.ViewResourceReadySignal.cs | 19 +- .../src/internal/Interop/Interop.ViewSignal.cs | 19 +- .../Interop/Interop.ViewVisibilityChangedSignal.cs | 19 +- .../src/internal/Interop/Interop.ViewWrapper.cs | 19 +- .../internal/Interop/Interop.ViewWrapperImpl.cs | 19 +- .../src/internal/Interop/Interop.Visual.cs | 19 +- .../src/internal/Interop/Interop.VisualBase.cs | 19 +- .../internal/Interop/Interop.VisualEventSignal.cs | 20 +- .../src/internal/Interop/Interop.VisualFactory.cs | 19 +- .../src/internal/Interop/Interop.VoidSignal.cs | 19 +- .../src/internal/Interop/Interop.VoidSignalType.cs | 19 +- .../src/internal/Interop/Interop.Watch.cs | 19 +- .../src/internal/Interop/Interop.WatchView.cs | 19 +- .../internal/Interop/Interop.WebBackForwardList.cs | 18 +- .../src/internal/Interop/Interop.WebContext.cs | 18 +- .../internal/Interop/Interop.WebCookieManager.cs | 18 +- .../src/internal/Interop/Interop.WebSettings.cs | 18 +- .../src/internal/Interop/Interop.WebView.cs | 19 +- .../src/internal/Interop/Interop.Wheel.cs | 19 +- .../src/internal/Interop/Interop.Widget.cs | 19 +- .../internal/Interop/Interop.WidgetApplication.cs | 19 +- .../src/internal/Interop/Interop.WidgetImpl.cs | 19 +- .../src/internal/Interop/Interop.WidgetView.cs | 27 +- .../internal/Interop/Interop.WidgetViewManager.cs | 22 +- .../src/internal/Interop/Interop.Window.cs | 20 +- .../Interop/Interop.WindowEffectEventSignal.cs | 17 +- .../Interop/Interop.WindowFocusSignalType.cs | 19 +- .../src/internal/Interop/Interop.WindowInternal.cs | 18 +- .../src/internal/Interop/Interop.doublep.cs | 19 +- .../src/internal/Interop/Interop.floatp.cs | 20 +- src/Tizen.NUI/src/internal/Interop/Interop.intp.cs | 19 +- .../src/internal/Interop/Interop.uintp.cs | 19 +- .../src/internal/Interop/Interop.ushortp.cs | 19 +- .../internal/Interop/InteropObjectCreatedSignal.cs | 19 +- .../src/internal/Interop/NDalicPINVOKE.cs | 3 +- .../interop.GLWindowVisibilityChangedSignal.cs | 20 +- .../Layouting/Interop/Interop.FlexLayout.cs | 19 +- .../internal/Layouting/Interop/Interop.Layout.cs | 19 +- .../Layouting/Interop/Interop.LayoutController.cs | 19 +- .../src/internal/Layouting/LayoutController.cs | 72 ++-- .../internal/NativeBinding/SWIGTYPE_p_bundle.cs | 6 +- src/Tizen.NUI/src/internal/Utility/Builder.cs | 25 +- .../internal/Utility/ConnectionTrackerInterface.cs | 3 +- .../src/internal/Utility/GaussianBlurView.cs | 26 +- .../src/internal/Utility/GaussianBlurViewSignal.cs | 4 +- src/Tizen.NUI/src/internal/Utility/ItemFactory.cs | 3 +- src/Tizen.NUI/src/internal/Utility/PageTurnView.cs | 136 +++---- .../src/internal/Widget/WidgetApplication.cs | 24 +- src/Tizen.NUI/src/internal/Widget/WidgetImpl.cs | 92 ++--- .../src/internal/Widget/WidgetViewSignal.cs | 23 +- .../src/internal/Window/WindowEffectSignal.cs | 3 +- .../src/internal/Window/WindowFocusSignalType.cs | 4 +- .../Window/WindowVisibilityChangedEvent.cs | 2 +- .../src/internal/Xaml/ApplyPropertiesVisitor.cs | 17 - .../src/internal/Xaml/CreateValuesVisitor.cs | 17 - src/Tizen.NUI/src/internal/Xaml/DesignMode.cs | 19 +- .../src/internal/Xaml/ExpandMarkupsVisitor.cs | 17 - .../Xaml/FillResourceDictionariesVisitor.cs | 17 - .../src/internal/Xaml/HydrationContext.cs | 17 - .../src/internal/Xaml/IConverterOptions.cs | 19 +- .../src/internal/Xaml/IDictionaryExtensions.cs | 19 +- .../src/internal/Xaml/IExpressionParser.cs | 17 - .../src/internal/Xaml/IProvideParentValues.cs | 17 - .../src/internal/Xaml/IResourcesLoader.cs | 19 +- .../src/internal/Xaml/IValueConverterProvider.cs | 17 - .../src/internal/Xaml/MarkupExpressionParser.cs | 17 - .../src/internal/Xaml/MarkupExtensionParser.cs | 17 - .../src/internal/Xaml/NamescopingVisitor.cs | 17 - .../src/internal/Xaml/PruneIgnoredNodesVisitor.cs | 19 +- .../src/internal/Xaml/ReflectionExtensions.cs | 18 +- .../src/internal/Xaml/RegisterXNamesVisitor.cs | 16 - src/Tizen.NUI/src/internal/Xaml/ResourcesLoader.cs | 18 +- .../internal/Xaml/RuntimeNamePropertyAttribute.cs | 18 +- .../src/internal/Xaml/TypeArgumentsParser.cs | 16 - .../src/internal/Xaml/TypeConversionExtensions.cs | 16 - .../src/internal/Xaml/ValueConverterProvider.cs | 16 - .../src/internal/Xaml/VisualStateManager.cs | 18 +- src/Tizen.NUI/src/internal/Xaml/XamlLoader.cs | 16 - src/Tizen.NUI/src/internal/Xaml/XamlNode.cs | 16 - src/Tizen.NUI/src/internal/Xaml/XamlNodeVisitor.cs | 18 +- src/Tizen.NUI/src/internal/Xaml/XamlParser.cs | 16 - src/Tizen.NUI/src/internal/Xaml/XmlName.cs | 16 - src/Tizen.NUI/src/internal/Xaml/XmlnsHelper.cs | 16 - .../internal/XamlBinding/ActionSheetArguments.cs | 16 - .../src/internal/XamlBinding/AlertArguments.cs | 16 - .../internal/XamlBinding/BindingBaseExtensions.cs | 18 +- .../src/internal/XamlBinding/BindingExpression.cs | 18 +- .../CollectionSynchronizationContext.cs | 16 - .../XamlBinding/ContentPropertyAttribute.cs | 16 - .../src/internal/XamlBinding/ControlTemplate.cs | 16 - .../internal/XamlBinding/DependencyAttribute.cs | 16 - .../internal/XamlBinding/DependencyFetchTarget.cs | 16 - .../src/internal/XamlBinding/DependencyResolver.cs | 16 - .../src/internal/XamlBinding/DependencyService.cs | 18 +- src/Tizen.NUI/src/internal/XamlBinding/Device.cs | 16 - .../src/internal/XamlBinding/DeviceInfo.cs | 32 +- .../src/internal/XamlBinding/DeviceOrientation.cs | 17 - .../internal/XamlBinding/EnumerableExtensions.cs | 16 - src/Tizen.NUI/src/internal/XamlBinding/EventArg.cs | 16 - .../internal/XamlBinding/ExportEffectAttribute.cs | 16 - .../internal/XamlBinding/ExtentsTypeConverter.cs | 16 - .../src/internal/XamlBinding/FlowDirection.cs | 16 - .../src/internal/XamlBinding/GestureRecognizer.cs | 16 - .../src/internal/XamlBinding/HandlerAttribute.cs | 16 - .../src/internal/XamlBinding/IConfigElement.cs | 16 - .../src/internal/XamlBinding/IConfigPlatform.cs | 16 - .../src/internal/XamlBinding/IControlTemplated.cs | 16 - src/Tizen.NUI/src/internal/XamlBinding/IElement.cs | 16 - .../internal/XamlBinding/IElementConfiguration.cs | 16 - .../src/internal/XamlBinding/IElementController.cs | 16 - .../internal/XamlBinding/IExtendedTypeConverter.cs | 16 - .../src/internal/XamlBinding/IGestureRecognizer.cs | 16 - .../internal/XamlBinding/IIsolatedStorageFile.cs | 16 - .../internal/XamlBinding/INativeBindingService.cs | 16 - .../src/internal/XamlBinding/IPlatformServices.cs | 16 - .../internal/XamlBinding/IResourceDictionary.cs | 16 - .../XamlBinding/ISystemResourcesProvider.cs | 17 - .../Interactivity/AttachedCollection.cs | 16 - .../XamlBinding/Interactivity/IAttachedObject.cs | 16 - .../XamlBinding/Interactivity/MultiCondition.cs | 16 - .../XamlBinding/Internals/IDeserializer.cs | 16 - .../XamlBinding/Internals/INamescopeProvider.cs | 18 +- .../XamlBinding/Internals/InvalidationTrigger.cs | 16 - .../XamlBinding/Internals/NumericExtensions.cs | 16 - .../XamlBinding/Internals/PreserveAttribute.cs | 18 +- .../XamlBinding/Internals/ResourceLoader.cs | 18 +- .../internal/XamlBinding/InvalidationEventArgs.cs | 16 - .../XamlBinding/ListStringTypeConverter.cs | 17 - .../src/internal/XamlBinding/MessagingCenter.cs | 50 +-- .../internal/XamlBinding/NUIConstantExtension.cs | 17 - src/Tizen.NUI/src/internal/XamlBinding/OnIdiom.cs | 17 - .../src/internal/XamlBinding/OnPlatform.cs | 17 - .../src/internal/XamlBinding/ParameterAttribute.cs | 17 - .../internal/XamlBinding/PositionTypeConverter.cs | 17 - .../internal/XamlBinding/RectangleTypeConverter.cs | 17 - .../internal/XamlBinding/RenderWithAttribute.cs | 19 +- .../XamlBinding/ResolutionGroupNameAttribute.cs | 17 - .../XamlBinding/ResourcesChangedEventArgs.cs | 17 - .../internal/XamlBinding/ResourcesExtensions.cs | 17 - .../internal/XamlBinding/RotationTypeConverter.cs | 17 - .../src/internal/XamlBinding/SynchronizedList.cs | 89 ++--- .../src/internal/XamlBinding/TargetIdiom.cs | 16 - .../src/internal/XamlBinding/TargetPlatform.cs | 16 - .../src/internal/XamlBinding/TemplateBinding.cs | 54 +-- .../src/internal/XamlBinding/TemplateUtilities.cs | 17 - .../internal/XamlBinding/TizenPlatformServices.cs | 29 +- .../src/internal/XamlBinding/ToolbarItemOrder.cs | 17 - .../internal/XamlBinding/TrackableCollection.cs | 17 - .../internal/XamlBinding/TypeConverterAttribute.cs | 19 +- .../src/internal/XamlBinding/TypeTypeConverter.cs | 17 - .../src/internal/XamlBinding/UriTypeConverter.cs | 19 +- .../internal/XamlBinding/VectorTypeConverter.cs | 17 - .../src/internal/XamlBinding/WeakEventManager.cs | 27 +- 481 files changed, 1920 insertions(+), 6412 deletions(-) diff --git a/src/Tizen.NUI/src/internal/Accessibility/AccessibilityActionSignal.cs b/src/Tizen.NUI/src/internal/Accessibility/AccessibilityActionSignal.cs index 53b08a4..24dfb62 100755 --- a/src/Tizen.NUI/src/internal/Accessibility/AccessibilityActionSignal.cs +++ b/src/Tizen.NUI/src/internal/Accessibility/AccessibilityActionSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,12 +19,15 @@ using Tizen.NUI.Accessibility; namespace Tizen.NUI { + internal class AccessibilityActionSignal : Disposable { + internal AccessibilityActionSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.AccessibilityManager.DeleteAccessibilityActionSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Accessibility/AccessibilityFocusOvershotSignal.cs b/src/Tizen.NUI/src/internal/Accessibility/AccessibilityFocusOvershotSignal.cs index 1bd7540..9052d05 100755 --- a/src/Tizen.NUI/src/internal/Accessibility/AccessibilityFocusOvershotSignal.cs +++ b/src/Tizen.NUI/src/internal/Accessibility/AccessibilityFocusOvershotSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ namespace Tizen.NUI { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.AccessibilityManager.DeleteAccessibilityFocusOvershotSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyComponentRegistration.cs b/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyComponentRegistration.cs index 946955c..8a73ed5 100755 --- a/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyComponentRegistration.cs +++ b/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyComponentRegistration.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,17 +17,21 @@ namespace Tizen.NUI { + internal class AnimatablePropertyComponentRegistration : Disposable { + internal AnimatablePropertyComponentRegistration(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.NDalic.DeleteAnimatablePropertyComponentRegistration(swigCPtr); } + public AnimatablePropertyComponentRegistration(TypeRegistration registered, string name, int index, int baseIndex, uint componentIndex) : this(Interop.NDalic.NewAnimatablePropertyComponentRegistration(TypeRegistration.getCPtr(registered), name, index, baseIndex, componentIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyRegistration.cs b/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyRegistration.cs index 83f32fe..ea0d378 100755 --- a/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyRegistration.cs +++ b/src/Tizen.NUI/src/internal/Animation/AnimatablePropertyRegistration.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class AnimatablePropertyRegistration : Disposable { + internal AnimatablePropertyRegistration(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.NDalic.DeleteAnimatablePropertyRegistration(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Animation/AnimationSignal.cs b/src/Tizen.NUI/src/internal/Animation/AnimationSignal.cs index b958aba..c9f1e89 100755 --- a/src/Tizen.NUI/src/internal/Animation/AnimationSignal.cs +++ b/src/Tizen.NUI/src/internal/Animation/AnimationSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,12 +17,15 @@ namespace Tizen.NUI { + internal class AnimationSignal : Disposable { + internal AnimationSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Animation.DeleteAnimationSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Application/Application.cs b/src/Tizen.NUI/src/internal/Application/Application.cs index 624a2c2..c6312d1 100755 --- a/src/Tizen.NUI/src/internal/Application/Application.cs +++ b/src/Tizen.NUI/src/internal/Application/Application.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,242 +20,266 @@ using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; +using System.Threading; +using System.Threading.Tasks; using Tizen.NUI.Binding; +using Tizen.NUI.Binding.Internals; namespace Tizen.NUI { /** * @brief Event arguments that passed via NUIApplicationInit signal + * */ internal class NUIApplicationInitEventArgs : EventArgs { - private Application application; + private Application _application; /** * @brief Application - is the application that is being initialized + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } } /** * @brief Event arguments that passed via NUIApplicationTerminate signal + * */ internal class NUIApplicationTerminatingEventArgs : EventArgs { - private Application application; + private Application _application; /** * @brief Application - is the application that is being Terminated + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } } /** * @brief Event arguments that passed via NUIApplicationPause signal + * */ internal class NUIApplicationPausedEventArgs : EventArgs { - private Application application; + private Application _application; /** * @brief Application - is the application that is being Paused + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } } /** * @brief Event arguments that passed via NUIApplicationResume signal + * */ internal class NUIApplicationResumedEventArgs : EventArgs { - private Application application; + private Application _application; /** * @brief Application - is the application that is being Resumed + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } } /** * @brief Event arguments that passed via NUIApplicationReset signal + * */ internal class NUIApplicationResetEventArgs : EventArgs { - private Application application; + private Application _application; /** * @brief Application - is the application that is being Reset + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } } /** * @brief Event arguments that passed via NUIApplicationLanguageChanged signal + * */ internal class NUIApplicationLanguageChangedEventArgs : EventArgs { - private Application application; + private Application _application; /** * @brief Application - is the application that is being affected with Device's language change + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } } /** * @brief Event arguments that passed via NUIApplicationRegionChanged signal + * */ internal class NUIApplicationRegionChangedEventArgs : EventArgs { - private Application application; + private Application _application; /** * @brief Application - is the application that is being affected with Device's region change + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } } /** * @brief Event arguments that passed via NUIApplicationBatteryLow signal + * */ internal class NUIApplicationBatteryLowEventArgs : EventArgs { - private Application.BatteryStatus status; + private Application.BatteryStatus _status; /** * @brief Application - is the application that is being affected when the battery level of the device is low + * */ public Application.BatteryStatus BatteryStatus { get { - return status; + return _status; } set { - status = value; + _status = value; } } } /** * @brief Event arguments that passed via NUIApplicationMemoryLow signal + * */ internal class NUIApplicationMemoryLowEventArgs : EventArgs { - private Application.MemoryStatus status; + private Application.MemoryStatus _status; /** * @brief Application - is the application that is being affected when the memory level of the device is low + * */ public Application.MemoryStatus MemoryStatus { get { - return status; + return _status; } set { - status = value; + _status = value; } } } /** * @brief Event arguments that passed via NUIApplicationAppControl signal + * */ internal class NUIApplicationAppControlEventArgs : EventArgs { - private Application application; - private IntPtr voidp; + private Application _application; + private IntPtr _voidp; /** * @brief Application - is the application that is receiving the launch request from another application + * */ public Application Application { get { - return application; + return _application; } set { - application = value; + _application = value; } } /** * @brief VoidP - contains the information about why the application is launched + * */ public IntPtr VoidP { get { - return voidp; + return _voidp; } set { - voidp = value; + _voidp = value; } } } @@ -276,9 +300,10 @@ namespace Tizen.NUI internal class Application : BaseHandle, IResourcesProvider, IElementConfiguration { + static Application s_current; - ReadOnlyCollection logicalChildren; + ReadOnlyCollection _logicalChildren; [EditorBrowsable(EditorBrowsableState.Never)] public static void SetCurrentApplication(Application value) => Current = value; @@ -290,21 +315,23 @@ namespace Tizen.NUI { if (s_current == value) return; + if (value == null) + s_current = null; //Allow to reset current for unittesting s_current = value; } } internal override ReadOnlyCollection LogicalChildrenInternal { - get { return logicalChildren ?? (logicalChildren = new ReadOnlyCollection(InternalChildren)); } + get { return _logicalChildren ?? (_logicalChildren = new ReadOnlyCollection(InternalChildren)); } } internal IResourceDictionary SystemResources { get; } ObservableCollection InternalChildren { get; } = new ObservableCollection(); - ResourceDictionary resources; - public bool IsResourcesCreated => resources != null; + ResourceDictionary _resources; + public bool IsResourcesCreated => _resources != null; public delegate void resChangeCb(object sender, ResourcesChangedEventArgs e); @@ -343,26 +370,26 @@ namespace Tizen.NUI { get { - if (resources == null) - { - resources = new ResourceDictionary(); - int hashCode = resources.GetHashCode(); - ((IResourceDictionary)resources).ValuesChanged += OnResourcesChanged; - } - return resources; + if (_resources != null) + return _resources; + + _resources = new ResourceDictionary(); + int hashCode = _resources.GetHashCode(); + ((IResourceDictionary)_resources).ValuesChanged += OnResourcesChanged; + return _resources; } set { - if (resources == value) + if (_resources == value) return; OnPropertyChanging(); - if (resources != null) - ((IResourceDictionary)resources).ValuesChanged -= OnResourcesChanged; - resources = value; + if (_resources != null) + ((IResourceDictionary)_resources).ValuesChanged -= OnResourcesChanged; + _resources = value; OnResourcesChanged(value); - if (resources != null) - ((IResourceDictionary)resources).ValuesChanged += OnResourcesChanged; + if (_resources != null) + ((IResourceDictionary)_resources).ValuesChanged += OnResourcesChanged; OnPropertyChanged(); } @@ -399,9 +426,12 @@ namespace Tizen.NUI OnResourcesChanged(changedResources); } + internal Application(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { SetCurrentApplication(this); + + s_current = this; } @@ -420,72 +450,73 @@ namespace Tizen.NUI //Release your own unmanaged resources here. //You should not access any managed member here except static instance. //because the execution order of Finalizes is non-deterministic. - if (applicationInitEventCallbackDelegate != null) + + if (_applicationInitEventCallbackDelegate != null) { - initSignal?.Disconnect(applicationInitEventCallbackDelegate); + initSignal?.Disconnect(_applicationInitEventCallbackDelegate); initSignal?.Dispose(); initSignal = null; } - if (applicationTerminateEventCallbackDelegate != null) + if (_applicationTerminateEventCallbackDelegate != null) { - terminateSignal?.Disconnect(applicationTerminateEventCallbackDelegate); + terminateSignal?.Disconnect(_applicationTerminateEventCallbackDelegate); terminateSignal?.Dispose(); terminateSignal = null; } - if (applicationPauseEventCallbackDelegate != null) + if (_applicationPauseEventCallbackDelegate != null) { - pauseSignal?.Disconnect(applicationPauseEventCallbackDelegate); + pauseSignal?.Disconnect(_applicationPauseEventCallbackDelegate); pauseSignal?.Dispose(); pauseSignal = null; } - if (applicationResumeEventCallbackDelegate != null) + if (_applicationResumeEventCallbackDelegate != null) { - resumeSignal?.Disconnect(applicationResumeEventCallbackDelegate); + resumeSignal?.Disconnect(_applicationResumeEventCallbackDelegate); resumeSignal?.Dispose(); resumeSignal = null; } - if (applicationResetEventCallbackDelegate != null) + if (_applicationResetEventCallbackDelegate != null) { - resetSignal?.Disconnect(applicationResetEventCallbackDelegate); + resetSignal?.Disconnect(_applicationResetEventCallbackDelegate); resetSignal?.Dispose(); resetSignal = null; } - if (applicationLanguageChangedEventCallbackDelegate != null) + if (_applicationLanguageChangedEventCallbackDelegate != null) { - languageChangedSignal?.Disconnect(applicationLanguageChangedEventCallbackDelegate); + languageChangedSignal?.Disconnect(_applicationLanguageChangedEventCallbackDelegate); languageChangedSignal?.Dispose(); languageChangedSignal = null; } - if (applicationRegionChangedEventCallbackDelegate != null) + if (_applicationRegionChangedEventCallbackDelegate != null) { - regionChangedSignal?.Disconnect(applicationRegionChangedEventCallbackDelegate); + regionChangedSignal?.Disconnect(_applicationRegionChangedEventCallbackDelegate); regionChangedSignal?.Dispose(); regionChangedSignal = null; } - if (applicationBatteryLowEventCallbackDelegate != null) + if (_applicationBatteryLowEventCallbackDelegate != null) { - batteryLowSignal?.Disconnect(applicationBatteryLowEventCallbackDelegate); + batteryLowSignal?.Disconnect(_applicationBatteryLowEventCallbackDelegate); batteryLowSignal?.Dispose(); batteryLowSignal = null; } - if (applicationMemoryLowEventCallbackDelegate != null) + if (_applicationMemoryLowEventCallbackDelegate != null) { - memoryLowSignal?.Disconnect(applicationMemoryLowEventCallbackDelegate); + memoryLowSignal?.Disconnect(_applicationMemoryLowEventCallbackDelegate); memoryLowSignal?.Dispose(); memoryLowSignal = null; } - if (applicationAppControlEventCallbackDelegate != null) + if (_applicationAppControlEventCallbackDelegate != null) { - appControlSignal?.Disconnect(applicationAppControlEventCallbackDelegate); + appControlSignal?.Disconnect(_applicationAppControlEventCallbackDelegate); appControlSignal?.Dispose(); appControlSignal = null; } @@ -516,63 +547,65 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationInitEventCallbackDelegate(IntPtr application); - private DaliEventHandler applicationInitEventHandler; - private NUIApplicationInitEventCallbackDelegate applicationInitEventCallbackDelegate; + private DaliEventHandler _applicationInitEventHandler; + private NUIApplicationInitEventCallbackDelegate _applicationInitEventCallbackDelegate; private ApplicationSignal initSignal; + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationTerminateEventCallbackDelegate(IntPtr application); - private DaliEventHandler applicationTerminateEventHandler; - private NUIApplicationTerminateEventCallbackDelegate applicationTerminateEventCallbackDelegate; + private DaliEventHandler _applicationTerminateEventHandler; + private NUIApplicationTerminateEventCallbackDelegate _applicationTerminateEventCallbackDelegate; private ApplicationSignal terminateSignal; + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationPauseEventCallbackDelegate(IntPtr application); - private DaliEventHandler applicationPauseEventHandler; - private NUIApplicationPauseEventCallbackDelegate applicationPauseEventCallbackDelegate; + private DaliEventHandler _applicationPauseEventHandler; + private NUIApplicationPauseEventCallbackDelegate _applicationPauseEventCallbackDelegate; private ApplicationSignal pauseSignal; [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationResumeEventCallbackDelegate(IntPtr application); - private DaliEventHandler applicationResumeEventHandler; - private NUIApplicationResumeEventCallbackDelegate applicationResumeEventCallbackDelegate; + private DaliEventHandler _applicationResumeEventHandler; + private NUIApplicationResumeEventCallbackDelegate _applicationResumeEventCallbackDelegate; private ApplicationSignal resumeSignal; [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationResetEventCallbackDelegate(IntPtr application); - private DaliEventHandler applicationResetEventHandler; - private NUIApplicationResetEventCallbackDelegate applicationResetEventCallbackDelegate; + private DaliEventHandler _applicationResetEventHandler; + private NUIApplicationResetEventCallbackDelegate _applicationResetEventCallbackDelegate; private ApplicationSignal resetSignal; [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationLanguageChangedEventCallbackDelegate(IntPtr application); - private DaliEventHandler applicationLanguageChangedEventHandler; - private NUIApplicationLanguageChangedEventCallbackDelegate applicationLanguageChangedEventCallbackDelegate; + private DaliEventHandler _applicationLanguageChangedEventHandler; + private NUIApplicationLanguageChangedEventCallbackDelegate _applicationLanguageChangedEventCallbackDelegate; private ApplicationSignal languageChangedSignal; [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationRegionChangedEventCallbackDelegate(IntPtr application); - private DaliEventHandler applicationRegionChangedEventHandler; - private NUIApplicationRegionChangedEventCallbackDelegate applicationRegionChangedEventCallbackDelegate; + private DaliEventHandler _applicationRegionChangedEventHandler; + private NUIApplicationRegionChangedEventCallbackDelegate _applicationRegionChangedEventCallbackDelegate; private ApplicationSignal regionChangedSignal; [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationBatteryLowEventCallbackDelegate(BatteryStatus status); - private DaliEventHandler applicationBatteryLowEventHandler; - private NUIApplicationBatteryLowEventCallbackDelegate applicationBatteryLowEventCallbackDelegate; + private DaliEventHandler _applicationBatteryLowEventHandler; + private NUIApplicationBatteryLowEventCallbackDelegate _applicationBatteryLowEventCallbackDelegate; private LowBatterySignalType batteryLowSignal; [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationMemoryLowEventCallbackDelegate(MemoryStatus status); - private DaliEventHandler applicationMemoryLowEventHandler; - private NUIApplicationMemoryLowEventCallbackDelegate applicationMemoryLowEventCallbackDelegate; + private DaliEventHandler _applicationMemoryLowEventHandler; + private NUIApplicationMemoryLowEventCallbackDelegate _applicationMemoryLowEventCallbackDelegate; private LowMemorySignalType memoryLowSignal; [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void NUIApplicationAppControlEventCallbackDelegate(IntPtr application, IntPtr voidp); - private DaliEventHandler applicationAppControlEventHandler; - private NUIApplicationAppControlEventCallbackDelegate applicationAppControlEventCallbackDelegate; + private DaliEventHandler _applicationAppControlEventHandler; + private NUIApplicationAppControlEventCallbackDelegate _applicationAppControlEventCallbackDelegate; private ApplicationControlSignal appControlSignal; private Window win; @@ -586,25 +619,25 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationInitEventHandler == null) + if (_applicationInitEventHandler == null) { - applicationInitEventHandler += value; - applicationInitEventCallbackDelegate = new NUIApplicationInitEventCallbackDelegate(OnApplicationInit); + _applicationInitEventHandler += value; + _applicationInitEventCallbackDelegate = new NUIApplicationInitEventCallbackDelegate(OnApplicationInit); initSignal = this.InitSignal(); - initSignal?.Connect(applicationInitEventCallbackDelegate); + initSignal?.Connect(_applicationInitEventCallbackDelegate); } } remove { - if (applicationInitEventHandler != null) + if (_applicationInitEventHandler != null) { - initSignal?.Disconnect(applicationInitEventCallbackDelegate); + initSignal?.Disconnect(_applicationInitEventCallbackDelegate); initSignal?.Dispose(); initSignal = null; } - applicationInitEventHandler -= value; + _applicationInitEventHandler -= value; } } @@ -620,11 +653,11 @@ namespace Tizen.NUI Window.Instance.Show(); } - if (applicationInitEventHandler != null) + if (_applicationInitEventHandler != null) { NUIApplicationInitEventArgs e = new NUIApplicationInitEventArgs(); e.Application = this; - applicationInitEventHandler.Invoke(this, e); + _applicationInitEventHandler.Invoke(this, e); } } @@ -638,37 +671,37 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationTerminateEventHandler == null) + if (_applicationTerminateEventHandler == null) { - applicationTerminateEventHandler += value; + _applicationTerminateEventHandler += value; - applicationTerminateEventCallbackDelegate = new NUIApplicationTerminateEventCallbackDelegate(OnNUIApplicationTerminate); + _applicationTerminateEventCallbackDelegate = new NUIApplicationTerminateEventCallbackDelegate(OnNUIApplicationTerminate); terminateSignal = this.TerminateSignal(); - terminateSignal?.Connect(applicationTerminateEventCallbackDelegate); + terminateSignal?.Connect(_applicationTerminateEventCallbackDelegate); } } remove { - if (applicationTerminateEventHandler != null) + if (_applicationTerminateEventHandler != null) { - terminateSignal?.Disconnect(applicationTerminateEventCallbackDelegate); + terminateSignal?.Disconnect(_applicationTerminateEventCallbackDelegate); terminateSignal?.Dispose(); terminateSignal = null; } - applicationTerminateEventHandler -= value; + _applicationTerminateEventHandler -= value; } } // Callback for Application TerminateSignal private void OnNUIApplicationTerminate(IntPtr data) { - if (applicationTerminateEventHandler != null) + if (_applicationTerminateEventHandler != null) { NUIApplicationTerminatingEventArgs e = new NUIApplicationTerminatingEventArgs(); e.Application = this; - applicationTerminateEventHandler.Invoke(this, e); + _applicationTerminateEventHandler.Invoke(this, e); } List windows = GetWindowList(); @@ -687,37 +720,37 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationPauseEventHandler == null) + if (_applicationPauseEventHandler == null) { - applicationPauseEventHandler += value; + _applicationPauseEventHandler += value; - applicationPauseEventCallbackDelegate = new NUIApplicationPauseEventCallbackDelegate(OnNUIApplicationPause); + _applicationPauseEventCallbackDelegate = new NUIApplicationPauseEventCallbackDelegate(OnNUIApplicationPause); pauseSignal = this.PauseSignal(); - pauseSignal?.Connect(applicationPauseEventCallbackDelegate); + pauseSignal?.Connect(_applicationPauseEventCallbackDelegate); } } remove { - if (applicationPauseEventHandler != null) + if (_applicationPauseEventHandler != null) { - pauseSignal?.Disconnect(applicationPauseEventCallbackDelegate); + pauseSignal?.Disconnect(_applicationPauseEventCallbackDelegate); pauseSignal?.Dispose(); pauseSignal = null; } - applicationPauseEventHandler -= value; + _applicationPauseEventHandler -= value; } } // Callback for Application PauseSignal private void OnNUIApplicationPause(IntPtr data) { - if (applicationPauseEventHandler != null) + if (_applicationPauseEventHandler != null) { NUIApplicationPausedEventArgs e = new NUIApplicationPausedEventArgs(); e.Application = this; - applicationPauseEventHandler.Invoke(this, e); + _applicationPauseEventHandler.Invoke(this, e); } } @@ -730,37 +763,37 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationResumeEventHandler == null) + if (_applicationResumeEventHandler == null) { - applicationResumeEventHandler += value; + _applicationResumeEventHandler += value; - applicationResumeEventCallbackDelegate = new NUIApplicationResumeEventCallbackDelegate(OnNUIApplicationResume); + _applicationResumeEventCallbackDelegate = new NUIApplicationResumeEventCallbackDelegate(OnNUIApplicationResume); resumeSignal = this.ResumeSignal(); - resumeSignal?.Connect(applicationResumeEventCallbackDelegate); + resumeSignal?.Connect(_applicationResumeEventCallbackDelegate); } } remove { - if (applicationResumeEventHandler != null) + if (_applicationResumeEventHandler != null) { - resumeSignal?.Disconnect(applicationResumeEventCallbackDelegate); + resumeSignal?.Disconnect(_applicationResumeEventCallbackDelegate); resumeSignal?.Dispose(); resumeSignal = null; } - applicationResumeEventHandler -= value; + _applicationResumeEventHandler -= value; } } // Callback for Application ResumeSignal private void OnNUIApplicationResume(IntPtr data) { - if (applicationResumeEventHandler != null) + if (_applicationResumeEventHandler != null) { NUIApplicationResumedEventArgs e = new NUIApplicationResumedEventArgs(); e.Application = this; - applicationResumeEventHandler.Invoke(this, e); + _applicationResumeEventHandler.Invoke(this, e); } } @@ -773,37 +806,37 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationResetEventHandler == null) + if (_applicationResetEventHandler == null) { - applicationResetEventHandler += value; + _applicationResetEventHandler += value; - applicationResetEventCallbackDelegate = new NUIApplicationResetEventCallbackDelegate(OnNUIApplicationReset); + _applicationResetEventCallbackDelegate = new NUIApplicationResetEventCallbackDelegate(OnNUIApplicationReset); resetSignal = this.ResetSignal(); - resetSignal?.Connect(applicationResetEventCallbackDelegate); + resetSignal?.Connect(_applicationResetEventCallbackDelegate); } } remove { - if (applicationResetEventHandler != null) + if (_applicationResetEventHandler != null) { - resetSignal?.Disconnect(applicationResetEventCallbackDelegate); + resetSignal?.Disconnect(_applicationResetEventCallbackDelegate); resetSignal?.Dispose(); resetSignal = null; } - applicationResetEventHandler -= value; + _applicationResetEventHandler -= value; } } // Callback for Application ResetSignal private void OnNUIApplicationReset(IntPtr data) { - if (applicationResetEventHandler != null) + if (_applicationResetEventHandler != null) { NUIApplicationResetEventArgs e = new NUIApplicationResetEventArgs(); e.Application = this; - applicationResetEventHandler.Invoke(this, e); + _applicationResetEventHandler.Invoke(this, e); } } @@ -816,37 +849,37 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationLanguageChangedEventHandler == null) + if (_applicationLanguageChangedEventHandler == null) { - applicationLanguageChangedEventHandler += value; + _applicationLanguageChangedEventHandler += value; - applicationLanguageChangedEventCallbackDelegate = new NUIApplicationLanguageChangedEventCallbackDelegate(OnNUIApplicationLanguageChanged); + _applicationLanguageChangedEventCallbackDelegate = new NUIApplicationLanguageChangedEventCallbackDelegate(OnNUIApplicationLanguageChanged); languageChangedSignal = this.LanguageChangedSignal(); - languageChangedSignal?.Connect(applicationLanguageChangedEventCallbackDelegate); + languageChangedSignal?.Connect(_applicationLanguageChangedEventCallbackDelegate); } } remove { - if (applicationLanguageChangedEventHandler != null) + if (_applicationLanguageChangedEventHandler != null) { - languageChangedSignal?.Disconnect(applicationLanguageChangedEventCallbackDelegate); + languageChangedSignal?.Disconnect(_applicationLanguageChangedEventCallbackDelegate); languageChangedSignal?.Dispose(); languageChangedSignal = null; } - applicationLanguageChangedEventHandler -= value; + _applicationLanguageChangedEventHandler -= value; } } // Callback for Application LanguageChangedSignal private void OnNUIApplicationLanguageChanged(IntPtr data) { - if (applicationLanguageChangedEventHandler != null) + if (_applicationLanguageChangedEventHandler != null) { NUIApplicationLanguageChangedEventArgs e = new NUIApplicationLanguageChangedEventArgs(); e.Application = this; - applicationLanguageChangedEventHandler.Invoke(this, e); + _applicationLanguageChangedEventHandler.Invoke(this, e); } } @@ -859,37 +892,37 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationRegionChangedEventHandler == null) + if (_applicationRegionChangedEventHandler == null) { - applicationRegionChangedEventHandler += value; + _applicationRegionChangedEventHandler += value; - applicationRegionChangedEventCallbackDelegate = new NUIApplicationRegionChangedEventCallbackDelegate(OnNUIApplicationRegionChanged); + _applicationRegionChangedEventCallbackDelegate = new NUIApplicationRegionChangedEventCallbackDelegate(OnNUIApplicationRegionChanged); regionChangedSignal = this.RegionChangedSignal(); - regionChangedSignal?.Connect(applicationRegionChangedEventCallbackDelegate); + regionChangedSignal?.Connect(_applicationRegionChangedEventCallbackDelegate); } } remove { - if (applicationRegionChangedEventHandler != null) + if (_applicationRegionChangedEventHandler != null) { - regionChangedSignal?.Disconnect(applicationRegionChangedEventCallbackDelegate); + regionChangedSignal?.Disconnect(_applicationRegionChangedEventCallbackDelegate); regionChangedSignal?.Dispose(); regionChangedSignal = null; } - applicationRegionChangedEventHandler -= value; + _applicationRegionChangedEventHandler -= value; } } // Callback for Application RegionChangedSignal private void OnNUIApplicationRegionChanged(IntPtr data) { - if (applicationRegionChangedEventHandler != null) + if (_applicationRegionChangedEventHandler != null) { NUIApplicationRegionChangedEventArgs e = new NUIApplicationRegionChangedEventArgs(); e.Application = this; - applicationRegionChangedEventHandler.Invoke(this, e); + _applicationRegionChangedEventHandler.Invoke(this, e); } } @@ -902,26 +935,26 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationBatteryLowEventHandler == null) + if (_applicationBatteryLowEventHandler == null) { - applicationBatteryLowEventHandler += value; + _applicationBatteryLowEventHandler += value; - applicationBatteryLowEventCallbackDelegate = new NUIApplicationBatteryLowEventCallbackDelegate(OnNUIApplicationBatteryLow); + _applicationBatteryLowEventCallbackDelegate = new NUIApplicationBatteryLowEventCallbackDelegate(OnNUIApplicationBatteryLow); batteryLowSignal = this.BatteryLowSignal(); - batteryLowSignal?.Connect(applicationBatteryLowEventCallbackDelegate); + batteryLowSignal?.Connect(_applicationBatteryLowEventCallbackDelegate); } } remove { - if (applicationBatteryLowEventHandler != null) + if (_applicationBatteryLowEventHandler != null) { - batteryLowSignal?.Disconnect(applicationBatteryLowEventCallbackDelegate); + batteryLowSignal?.Disconnect(_applicationBatteryLowEventCallbackDelegate); batteryLowSignal?.Dispose(); batteryLowSignal = null; } - applicationBatteryLowEventHandler -= value; + _applicationBatteryLowEventHandler -= value; } } @@ -932,7 +965,7 @@ namespace Tizen.NUI // Populate all members of "e" (NUIApplicationBatteryLowEventArgs) with real data e.BatteryStatus = status; - applicationBatteryLowEventHandler?.Invoke(this, e); + _applicationBatteryLowEventHandler?.Invoke(this, e); } /** @@ -944,26 +977,26 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationMemoryLowEventHandler == null) + if (_applicationMemoryLowEventHandler == null) { - applicationMemoryLowEventHandler += value; + _applicationMemoryLowEventHandler += value; - applicationMemoryLowEventCallbackDelegate = new NUIApplicationMemoryLowEventCallbackDelegate(OnNUIApplicationMemoryLow); + _applicationMemoryLowEventCallbackDelegate = new NUIApplicationMemoryLowEventCallbackDelegate(OnNUIApplicationMemoryLow); memoryLowSignal = this.MemoryLowSignal(); - memoryLowSignal?.Connect(applicationMemoryLowEventCallbackDelegate); + memoryLowSignal?.Connect(_applicationMemoryLowEventCallbackDelegate); } } remove { - if (applicationMemoryLowEventHandler != null) + if (_applicationMemoryLowEventHandler != null) { - memoryLowSignal?.Disconnect(applicationMemoryLowEventCallbackDelegate); + memoryLowSignal?.Disconnect(_applicationMemoryLowEventCallbackDelegate); memoryLowSignal?.Dispose(); memoryLowSignal = null; } - applicationMemoryLowEventHandler -= value; + _applicationMemoryLowEventHandler -= value; } } @@ -974,7 +1007,7 @@ namespace Tizen.NUI // Populate all members of "e" (NUIApplicationMemoryLowEventArgs) with real data e.MemoryStatus = status; - applicationMemoryLowEventHandler?.Invoke(this, e); + _applicationMemoryLowEventHandler?.Invoke(this, e); } /** @@ -986,48 +1019,48 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationAppControlEventHandler == null) + if (_applicationAppControlEventHandler == null) { - applicationAppControlEventHandler += value; + _applicationAppControlEventHandler += value; - applicationAppControlEventCallbackDelegate = new NUIApplicationAppControlEventCallbackDelegate(OnNUIApplicationAppControl); + _applicationAppControlEventCallbackDelegate = new NUIApplicationAppControlEventCallbackDelegate(OnNUIApplicationAppControl); appControlSignal = this.AppControlSignal(); - appControlSignal?.Connect(applicationAppControlEventCallbackDelegate); + appControlSignal?.Connect(_applicationAppControlEventCallbackDelegate); } } remove { - if (applicationAppControlEventHandler != null) + if (_applicationAppControlEventHandler != null) { - appControlSignal?.Disconnect(applicationAppControlEventCallbackDelegate); + appControlSignal?.Disconnect(_applicationAppControlEventCallbackDelegate); appControlSignal?.Dispose(); appControlSignal = null; } - applicationAppControlEventHandler -= value; + _applicationAppControlEventHandler -= value; } } // Callback for Application AppControlSignal private void OnNUIApplicationAppControl(IntPtr application, IntPtr voidp) { - if (applicationAppControlEventHandler != null) + if (_applicationAppControlEventHandler != null) { NUIApplicationAppControlEventArgs e = new NUIApplicationAppControlEventArgs(); e.VoidP = voidp; e.Application = this; - applicationAppControlEventHandler.Invoke(this, e); + _applicationAppControlEventHandler.Invoke(this, e); } } - protected static Application instance; // singleton + protected static Application _instance; // singleton public static Application Instance { get { - return instance; + return _instance; } } @@ -1057,59 +1090,59 @@ namespace Tizen.NUI { // register all Views with the type registry, so that can be created / styled via JSON //ViewRegistryHelper.Initialize(); //moved to Application side. - if (instance) + if (_instance) { - return instance; + return _instance; } Application ret = New(1, stylesheet, windowMode); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); // set the singleton - instance = ret; + _instance = ret; return ret; } public static Application NewApplication(string stylesheet, NUIApplication.WindowMode windowMode, Rectangle positionSize) { - if (instance) + if (_instance) { - return instance; + return _instance; } Application ret = New(1, stylesheet, windowMode, positionSize); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); // set the singleton - instance = ret; + _instance = ret; return ret; } public static Application NewApplication(string[] args, string stylesheet, NUIApplication.WindowMode windowMode) { - if (instance) + if (_instance) { - return instance; + return _instance; } Application ret = New(args, stylesheet, windowMode); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); // set the singleton - instance = ret; - return instance; + _instance = ret; + return _instance; } public static Application NewApplication(string[] args, string stylesheet, NUIApplication.WindowMode windowMode, Rectangle positionSize) { - if (instance) + if (_instance) { - return instance; + return _instance; } Application ret = New(args, stylesheet, windowMode, positionSize); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); // set the singleton - instance = ret; - return instance; + _instance = ret; + return _instance; } /// diff --git a/src/Tizen.NUI/src/internal/Application/ApplicationControlSignal.cs b/src/Tizen.NUI/src/internal/Application/ApplicationControlSignal.cs index f137152..bfec36f 100755 --- a/src/Tizen.NUI/src/internal/Application/ApplicationControlSignal.cs +++ b/src/Tizen.NUI/src/internal/Application/ApplicationControlSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class ApplicationControlSignal : Disposable { + internal ApplicationControlSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Application/ApplicationSignal.cs b/src/Tizen.NUI/src/internal/Application/ApplicationSignal.cs index 947d644..0a23479 100755 --- a/src/Tizen.NUI/src/internal/Application/ApplicationSignal.cs +++ b/src/Tizen.NUI/src/internal/Application/ApplicationSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ namespace Tizen.NUI { + internal class ApplicationSignal : Disposable { diff --git a/src/Tizen.NUI/src/internal/Application/ComponentApplication.cs b/src/Tizen.NUI/src/internal/Application/ComponentApplication.cs index 7fee197..c13ecb1 100755 --- a/src/Tizen.NUI/src/internal/Application/ComponentApplication.cs +++ b/src/Tizen.NUI/src/internal/Application/ComponentApplication.cs @@ -1,21 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System; +using System; +using System.Collections.Generic; +using System.Text; using System.Runtime.InteropServices; namespace Tizen.NUI @@ -60,7 +45,7 @@ namespace Tizen.NUI { ComponentApplication ret = New(args, stylesheet); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - instance = ret; + _instance = ret; return ret; } @@ -90,12 +75,14 @@ namespace Tizen.NUI return ret; } + [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate IntPtr NUIComponentApplicationCreatenativeEventCallbackDelegate(); public delegate IntPtr CreateNativeEventHandler(); - private CreateNativeEventHandler applicationCreateNativeEventHandler; - private NUIComponentApplicationCreatenativeEventCallbackDelegate applicationCreateNativeEventCallbackDelegate; + private CreateNativeEventHandler _applicationCreateNativeEventHandler; + private NUIComponentApplicationCreatenativeEventCallbackDelegate _applicationCreateNativeEventCallbackDelegate; + /** * @brief Event for Initialized signal which can be used to subscribe/unsubscribe the event handler @@ -106,23 +93,23 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (applicationCreateNativeEventHandler == null) + if (_applicationCreateNativeEventHandler == null) { - applicationCreateNativeEventHandler += value; + _applicationCreateNativeEventHandler += value; - applicationCreateNativeEventCallbackDelegate = new NUIComponentApplicationCreatenativeEventCallbackDelegate(OnApplicationCreateNative); - Connect(applicationCreateNativeEventCallbackDelegate); + _applicationCreateNativeEventCallbackDelegate = new NUIComponentApplicationCreatenativeEventCallbackDelegate(OnApplicationCreateNative); + Connect(_applicationCreateNativeEventCallbackDelegate); } } remove { - if (applicationCreateNativeEventHandler != null) + if (_applicationCreateNativeEventHandler != null) { - Disconnect(applicationCreateNativeEventCallbackDelegate); + Disconnect(_applicationCreateNativeEventCallbackDelegate); } - applicationCreateNativeEventHandler -= value; + _applicationCreateNativeEventHandler -= value; } } @@ -161,7 +148,17 @@ namespace Tizen.NUI // Callback for Application InitSignal private IntPtr OnApplicationCreateNative() { - return applicationCreateNativeEventHandler?.Invoke() ?? IntPtr.Zero; + IntPtr handle = IntPtr.Zero; + + if (_applicationCreateNativeEventHandler != null) + { + handle = _applicationCreateNativeEventHandler.Invoke(); + } + + return handle; } + } + + } diff --git a/src/Tizen.NUI/src/internal/Application/NUIComponentCoreBackend.cs b/src/Tizen.NUI/src/internal/Application/NUIComponentCoreBackend.cs index 33b6301..0805631 100755 --- a/src/Tizen.NUI/src/internal/Application/NUIComponentCoreBackend.cs +++ b/src/Tizen.NUI/src/internal/Application/NUIComponentCoreBackend.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,29 +25,29 @@ namespace Tizen.NUI { class NUIComponentCoreBackend : ICoreBackend { - private Dictionary componentFactories; + private Dictionary _componentFactories; public Dictionary ComponentFactories { set { - componentFactories = value; + _componentFactories = value; } get { - return componentFactories; + return _componentFactories; } } /// /// Application instance to connect event. /// - protected ComponentApplication application; - private string stylesheet = ""; + protected ComponentApplication _application; + private string _stylesheet = ""; /// /// Dictionary to contain each type of event callback. /// - protected IDictionary handlers = new Dictionary(); + protected IDictionary Handlers = new Dictionary(); /// /// Adds NUIApplication event to Application. @@ -57,7 +57,7 @@ namespace Tizen.NUI /// The event callback. public void AddEventHandler(EventType evType, Action handler) { - handlers.Add(evType, handler); + Handlers.Add(evType, handler); } /// @@ -69,7 +69,7 @@ namespace Tizen.NUI /// The event callback. public void AddEventHandler(EventType evType, Action handler) where TEventArgs : EventArgs { - handlers.Add(evType, handler); + Handlers.Add(evType, handler); } /// @@ -84,7 +84,7 @@ namespace Tizen.NUI /// public NUIComponentCoreBackend(string stylesheet) { - this.stylesheet = stylesheet; + _stylesheet = stylesheet; } /// @@ -92,9 +92,9 @@ namespace Tizen.NUI /// public void Dispose() { - if (application != null) + if (_application != null) { - application.Dispose(); + _application.Dispose(); } } @@ -103,9 +103,9 @@ namespace Tizen.NUI /// public void Exit() { - if (application != null) + if (_application != null) { - application.Quit(); + _application.Quit(); } } @@ -118,13 +118,13 @@ namespace Tizen.NUI TizenSynchronizationContext.Initialize(); args[0] = Tizen.Applications.Application.Current.ApplicationInfo.ExecutablePath; - application = ComponentApplication.NewComponentApplication(args, stylesheet); + _application = ComponentApplication.NewComponentApplication(args, _stylesheet); - application.Initialized += OnInitialized; - application.CreateNative += OnCreateNative; - application.Terminating += OnTerminated; + _application.Initialized += OnInitialized; + _application.CreateNative += OnCreateNative; + _application.Terminating += OnTerminated; - application.MainLoop(); + _application.MainLoop(); } @@ -135,7 +135,7 @@ namespace Tizen.NUI { IntPtr nativeComponentFactoryMap = IntPtr.Zero; int n = 0; - foreach (KeyValuePair entry in componentFactories) + foreach (KeyValuePair entry in _componentFactories) { nativeComponentFactoryMap = entry.Value.Bind(nativeComponentFactoryMap); n++; @@ -150,7 +150,8 @@ namespace Tizen.NUI /// The event argument for Initialized. private void OnInitialized(object source, NUIApplicationInitEventArgs e) { - (handlers[EventType.Created] as Action)?.Invoke(); + var createHandler = Handlers[EventType.Created] as Action; + createHandler?.Invoke(); } /// @@ -160,7 +161,8 @@ namespace Tizen.NUI /// The event argument for Terminated. private void OnTerminated(object source, NUIApplicationTerminatingEventArgs e) { - (handlers[EventType.Terminated] as Action)?.Invoke(); + var handler = Handlers[EventType.Terminated] as Action; + handler?.Invoke(); } } diff --git a/src/Tizen.NUI/src/internal/Application/NUIWidgetCoreBackend.cs b/src/Tizen.NUI/src/internal/Application/NUIWidgetCoreBackend.cs index 5c79e29..73eacd8 100755 --- a/src/Tizen.NUI/src/internal/Application/NUIWidgetCoreBackend.cs +++ b/src/Tizen.NUI/src/internal/Application/NUIWidgetCoreBackend.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,14 +27,14 @@ namespace Tizen.NUI /// /// Application instance to connect event. /// - protected WidgetApplication application; - private string stylesheet = ""; - private Dictionary widgetInfo; + protected WidgetApplication _application; + private string _stylesheet = ""; + Dictionary _widgetInfo; /// /// Dictionary to contain each type of event callback. /// - protected IDictionary handlers = new Dictionary(); + protected IDictionary Handlers = new Dictionary(); /// /// The default Constructor. @@ -48,7 +48,7 @@ namespace Tizen.NUI /// public NUIWidgetCoreBackend(string stylesheet) { - this.stylesheet = stylesheet; + _stylesheet = stylesheet; } /// @@ -59,7 +59,7 @@ namespace Tizen.NUI /// Event callback public void AddEventHandler(EventType evType, Action handler) { - handlers.Add(evType, handler); + Handlers.Add(evType, handler); } /// @@ -71,7 +71,7 @@ namespace Tizen.NUI /// Event callback public void AddEventHandler(EventType evType, Action handler) where TEventArgs : EventArgs { - handlers.Add(evType, handler); + Handlers.Add(evType, handler); } @@ -80,7 +80,10 @@ namespace Tizen.NUI /// public void Dispose() { - application?.Dispose(); + if (_application != null) + { + _application.Dispose(); + } } /// @@ -88,17 +91,23 @@ namespace Tizen.NUI /// public void Exit() { - application?.Quit(); + if (_application != null) + { + _application.Quit(); + } } public void RegisterWidgetInfo(Dictionary widgetInfo) { - this.widgetInfo = widgetInfo; + _widgetInfo = widgetInfo; } public void AddWidgetInfo(Dictionary widgetInfo) { - application?.AddWidgetInfo(widgetInfo); + if (_application != null) + { + _application.AddWidgetInfo(widgetInfo); + } } /// @@ -110,17 +119,17 @@ namespace Tizen.NUI TizenSynchronizationContext.Initialize(); args[0] = Tizen.Applications.Application.Current.ApplicationInfo.ExecutablePath; - application = WidgetApplication.NewWidgetApplication(args, stylesheet); - application.RegisterWidgetInfo(widgetInfo); + _application = WidgetApplication.NewWidgetApplication(args, _stylesheet); + _application.RegisterWidgetInfo(_widgetInfo); - application.BatteryLow += OnBatteryLow; - application.LanguageChanged += OnLanguageChanged; - application.MemoryLow += OnMemoryLow; - application.RegionChanged += OnRegionChanged; ; - application.Initialized += OnInitialized; - application.Terminating += OnTerminated; + _application.BatteryLow += OnBatteryLow; + _application.LanguageChanged += OnLanguageChanged; + _application.MemoryLow += OnMemoryLow; + _application.RegionChanged += OnRegionChanged; ; + _application.Initialized += OnInitialized; + _application.Terminating += OnTerminated; - application.MainLoop(); + _application.MainLoop(); } /// @@ -130,12 +139,12 @@ namespace Tizen.NUI /// The event argument for Initialized. private void OnInitialized(object source, NUIApplicationInitEventArgs e) { - var preCreateHandler = handlers[EventType.PreCreated] as Action; + var preCreateHandler = Handlers[EventType.PreCreated] as Action; preCreateHandler?.Invoke(); - var createHandler = handlers[EventType.Created] as Action; + var createHandler = Handlers[EventType.Created] as Action; createHandler?.Invoke(); - application.RegisterWidgetCreatingFunction(); + _application.RegisterWidgetCreatingFunction(); } /// @@ -145,7 +154,7 @@ namespace Tizen.NUI /// The event argument for Terminated. private void OnTerminated(object source, NUIApplicationTerminatingEventArgs e) { - var handler = handlers[EventType.Terminated] as Action; + var handler = Handlers[EventType.Terminated] as Action; handler?.Invoke(); } @@ -156,7 +165,7 @@ namespace Tizen.NUI /// The event argument for RegionChanged. private void OnRegionChanged(object source, NUIApplicationRegionChangedEventArgs e) { - var handler = handlers[EventType.RegionFormatChanged] as Action; + var handler = Handlers[EventType.RegionFormatChanged] as Action; handler?.Invoke(new RegionFormatChangedEventArgs(e.Application.GetRegion())); } @@ -167,7 +176,7 @@ namespace Tizen.NUI /// The event argument for LanguageChanged. private void OnLanguageChanged(object source, NUIApplicationLanguageChangedEventArgs e) { - var handler = handlers[EventType.LocaleChanged] as Action; + var handler = Handlers[EventType.LocaleChanged] as Action; handler?.Invoke(new LocaleChangedEventArgs(e.Application.GetLanguage())); } @@ -178,7 +187,7 @@ namespace Tizen.NUI /// The event argument for MemoryLow. private void OnMemoryLow(object source, NUIApplicationMemoryLowEventArgs e) { - var handler = handlers[EventType.LowMemory] as Action; + var handler = Handlers[EventType.LowMemory] as Action; switch (e.MemoryStatus) { @@ -207,7 +216,7 @@ namespace Tizen.NUI /// The event argument for BatteryLow. private void OnBatteryLow(object source, NUIApplicationBatteryLowEventArgs e) { - var handler = handlers[EventType.LowBattery] as Action; + var handler = Handlers[EventType.LowBattery] as Action; switch (e.BatteryStatus) { case Application.BatteryStatus.Normal: @@ -232,7 +241,7 @@ namespace Tizen.NUI { get { - return application; + return _application; } } } diff --git a/src/Tizen.NUI/src/internal/Application/WatchApplication.cs b/src/Tizen.NUI/src/internal/Application/WatchApplication.cs index 4fa5fa3..aaf893d 100755 --- a/src/Tizen.NUI/src/internal/Application/WatchApplication.cs +++ b/src/Tizen.NUI/src/internal/Application/WatchApplication.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ namespace Tizen.NUI { internal class WatchApplication : Application { + internal WatchApplication(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -38,17 +39,17 @@ namespace Tizen.NUI private void DisConnectFromSignals() { - if (timeTickCallback != null) + if (_timeTickCallback != null) { - this.TimeTickSignal().Disconnect(timeTickCallback); + this.TimeTickSignal().Disconnect(_timeTickCallback); } - if (ambientTickCallback != null) + if (_ambientTickCallback != null) { - this.AmbientTickSignal().Disconnect(ambientTickCallback); + this.AmbientTickSignal().Disconnect(_ambientTickCallback); } - if (ambientChangedCallback != null) + if (_ambientChangedCallback != null) { - this.AmbientChangedSignal().Disconnect(ambientChangedCallback); + this.AmbientChangedSignal().Disconnect(_ambientChangedCallback); } } @@ -57,7 +58,7 @@ namespace Tizen.NUI WatchApplication ret = New(); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); // we've got an application now connect the signals - instance = ret; + _instance = ret; return ret; } @@ -65,7 +66,7 @@ namespace Tizen.NUI { WatchApplication ret = New(args); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - instance = ret; + _instance = ret; return ret; } @@ -73,7 +74,7 @@ namespace Tizen.NUI { WatchApplication ret = New(args, stylesheet); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - instance = ret; + _instance = ret; return ret; } @@ -135,8 +136,8 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void TimeTickCallbackType(IntPtr application, IntPtr watchTime); - private TimeTickCallbackType timeTickCallback; - private DaliEventHandler timeTickEventHandler; + private TimeTickCallbackType _timeTickCallback; + private DaliEventHandler _timeTickEventHandler; /// /// TimeTick event. @@ -145,22 +146,22 @@ namespace Tizen.NUI { add { - if (timeTickEventHandler == null) + if (_timeTickEventHandler == null) { - timeTickCallback = new TimeTickCallbackType(OnTimeTick); - TimeTickSignal().Connect(timeTickCallback); + _timeTickCallback = new TimeTickCallbackType(OnTimeTick); + TimeTickSignal().Connect(_timeTickCallback); } - timeTickEventHandler += value; + _timeTickEventHandler += value; } remove { - timeTickEventHandler -= value; + _timeTickEventHandler -= value; - if (timeTickEventHandler == null && TimeTickSignal().Empty() == false) + if (_timeTickEventHandler == null && TimeTickSignal().Empty() == false) { - TimeTickSignal().Disconnect(timeTickCallback); + TimeTickSignal().Disconnect(_timeTickCallback); } } } @@ -171,7 +172,8 @@ namespace Tizen.NUI e.Application = this; e.WatchTime = WatchTime.GetWatchTimeFromPtr(watchTime); - timeTickEventHandler?.Invoke(this, e); + _timeTickEventHandler?.Invoke(this, e); + } internal WatchTimeSignal TimeTickSignal() @@ -207,8 +209,8 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void AmbientTickCallbackType(IntPtr application, IntPtr watchTime); - private AmbientTickCallbackType ambientTickCallback; - private DaliEventHandler ambientTickEventHandler; + private AmbientTickCallbackType _ambientTickCallback; + private DaliEventHandler _ambientTickEventHandler; /// /// AmbientTick event. @@ -217,22 +219,22 @@ namespace Tizen.NUI { add { - if (ambientTickEventHandler == null) + if (_ambientTickEventHandler == null) { - ambientTickCallback = new AmbientTickCallbackType(OnAmbientTick); - AmbientTickSignal().Connect(ambientTickCallback); + _ambientTickCallback = new AmbientTickCallbackType(OnAmbientTick); + AmbientTickSignal().Connect(_ambientTickCallback); } - ambientTickEventHandler += value; + _ambientTickEventHandler += value; } remove { - ambientTickEventHandler -= value; + _ambientTickEventHandler -= value; - if (ambientTickEventHandler == null && AmbientTickSignal().Empty() == false) + if (_ambientTickEventHandler == null && AmbientTickSignal().Empty() == false) { - AmbientTickSignal().Disconnect(ambientTickCallback); + AmbientTickSignal().Disconnect(_ambientTickCallback); } } } @@ -243,7 +245,7 @@ namespace Tizen.NUI e.Application = this; e.WatchTime = WatchTime.GetWatchTimeFromPtr(watchTime); - ambientTickEventHandler?.Invoke(this, e); + _ambientTickEventHandler?.Invoke(this, e); } internal WatchTimeSignal AmbientTickSignal() @@ -279,8 +281,8 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void AmbientChangedCallbackType(IntPtr application, bool changed); - private AmbientChangedCallbackType ambientChangedCallback; - private DaliEventHandler ambientChangedEventHandler; + private AmbientChangedCallbackType _ambientChangedCallback; + private DaliEventHandler _ambientChangedEventHandler; /// /// AmbientChanged event. @@ -289,22 +291,22 @@ namespace Tizen.NUI { add { - if (ambientChangedEventHandler == null) + if (_ambientChangedEventHandler == null) { - ambientChangedCallback = new AmbientChangedCallbackType(OnAmbientChanged); - AmbientChangedSignal().Connect(ambientChangedCallback); + _ambientChangedCallback = new AmbientChangedCallbackType(OnAmbientChanged); + AmbientChangedSignal().Connect(_ambientChangedCallback); } - ambientChangedEventHandler += value; + _ambientChangedEventHandler += value; } remove { - ambientChangedEventHandler -= value; + _ambientChangedEventHandler -= value; - if (ambientChangedEventHandler == null && AmbientChangedSignal().Empty() == false) + if (_ambientChangedEventHandler == null && AmbientChangedSignal().Empty() == false) { - AmbientChangedSignal().Disconnect(ambientChangedCallback); + AmbientChangedSignal().Disconnect(_ambientChangedCallback); } } } @@ -314,7 +316,7 @@ namespace Tizen.NUI AmbientChangedEventArgs e = new AmbientChangedEventArgs(); e.Application = this; e.Changed = changed; - ambientChangedEventHandler?.Invoke(this, e); + _ambientChangedEventHandler?.Invoke(this, e); } internal WatchBoolSignal AmbientChangedSignal() diff --git a/src/Tizen.NUI/src/internal/Application/WatchBoolSignal.cs b/src/Tizen.NUI/src/internal/Application/WatchBoolSignal.cs index 940a273..90150d2 100755 --- a/src/Tizen.NUI/src/internal/Application/WatchBoolSignal.cs +++ b/src/Tizen.NUI/src/internal/Application/WatchBoolSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class WatchBoolSignal : Disposable { + internal WatchBoolSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Watch.DeleteWatchBoolSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Application/WatchTimeSignal.cs b/src/Tizen.NUI/src/internal/Application/WatchTimeSignal.cs index f60c2ab..80b3ed1 100755 --- a/src/Tizen.NUI/src/internal/Application/WatchTimeSignal.cs +++ b/src/Tizen.NUI/src/internal/Application/WatchTimeSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class WatchTimeSignal : Disposable { + internal WatchTimeSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Watch.DeleteWatchTimeSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ActivatedSignalType.cs b/src/Tizen.NUI/src/internal/Common/ActivatedSignalType.cs index 16a4fb0..e7c4b19 100755 --- a/src/Tizen.NUI/src/internal/Common/ActivatedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/ActivatedSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,11 +14,15 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; +using System.ComponentModel; namespace Tizen.NUI { internal class ActivatedSignalType : Disposable { + internal ActivatedSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/Alignment.cs b/src/Tizen.NUI/src/internal/Common/Alignment.cs index a761de1..89791c7 100755 --- a/src/Tizen.NUI/src/internal/Common/Alignment.cs +++ b/src/Tizen.NUI/src/internal/Common/Alignment.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,8 +19,10 @@ using Tizen.NUI.BaseComponents; namespace Tizen.NUI { + internal class Alignment : View { + internal Alignment(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/AngleAxis.cs b/src/Tizen.NUI/src/internal/Common/AngleAxis.cs index dab7833..c9dfbb0 100755 --- a/src/Tizen.NUI/src/internal/Common/AngleAxis.cs +++ b/src/Tizen.NUI/src/internal/Common/AngleAxis.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class AngleAxis : Disposable { + internal AngleAxis(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/AngleThresholdPair.cs b/src/Tizen.NUI/src/internal/Common/AngleThresholdPair.cs index 4c1d191..236f25d 100755 --- a/src/Tizen.NUI/src/internal/Common/AngleThresholdPair.cs +++ b/src/Tizen.NUI/src/internal/Common/AngleThresholdPair.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ namespace Tizen.NUI { + internal class AngleThresholdPair : Disposable { diff --git a/src/Tizen.NUI/src/internal/Common/Any.cs b/src/Tizen.NUI/src/internal/Common/Any.cs index 51f5f6d..9d36313 100755 --- a/src/Tizen.NUI/src/internal/Common/Any.cs +++ b/src/Tizen.NUI/src/internal/Common/Any.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class Any : Disposable { + internal Any(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -33,6 +34,7 @@ namespace Tizen.NUI Interop.Any.DeleteAny(swigCPtr); } + public Any() : this(Interop.Any.NewAny(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/src/Tizen.NUI/src/internal/Common/AsyncImageLoader.cs b/src/Tizen.NUI/src/internal/Common/AsyncImageLoader.cs index 4abb6f9..b521b59 100755 --- a/src/Tizen.NUI/src/internal/Common/AsyncImageLoader.cs +++ b/src/Tizen.NUI/src/internal/Common/AsyncImageLoader.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class AsyncImageLoader : BaseHandle { + internal AsyncImageLoader(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/AuthenticationSignalType.cs b/src/Tizen.NUI/src/internal/Common/AuthenticationSignalType.cs index dfc4351..9e02af5 100755 --- a/src/Tizen.NUI/src/internal/Common/AuthenticationSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/AuthenticationSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,16 +14,20 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; using System.ComponentModel; namespace Tizen.NUI { internal class AuthenticationSignalType : Disposable { + internal AuthenticationSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + /// /// Dispose /// diff --git a/src/Tizen.NUI/src/internal/Common/BaseObject.cs b/src/Tizen.NUI/src/internal/Common/BaseObject.cs index dd322fb..5970b56 100755 --- a/src/Tizen.NUI/src/internal/Common/BaseObject.cs +++ b/src/Tizen.NUI/src/internal/Common/BaseObject.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,12 +17,15 @@ namespace Tizen.NUI { + internal class BaseObject : RefObject { + internal BaseObject(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + //you can override it to clean-up your own resources. protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { diff --git a/src/Tizen.NUI/src/internal/Common/ButtonSignal.cs b/src/Tizen.NUI/src/internal/Common/ButtonSignal.cs index 870127f..3b98b5c 100755 --- a/src/Tizen.NUI/src/internal/Common/ButtonSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ButtonSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class ButtonSignal : Disposable { + internal ButtonSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ButtonSignal.DeleteButtonSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ChildPropertyRegistration.cs b/src/Tizen.NUI/src/internal/Common/ChildPropertyRegistration.cs index e07a5e8..a19dde1 100755 --- a/src/Tizen.NUI/src/internal/Common/ChildPropertyRegistration.cs +++ b/src/Tizen.NUI/src/internal/Common/ChildPropertyRegistration.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class ChildPropertyRegistration : Disposable { + internal ChildPropertyRegistration(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.NDalic.DeleteChildPropertyRegistration(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ContentReceivedSignalType.cs b/src/Tizen.NUI/src/internal/Common/ContentReceivedSignalType.cs index ef36d28..256b1d4 100755 --- a/src/Tizen.NUI/src/internal/Common/ContentReceivedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/ContentReceivedSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +14,9 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; +using System.ComponentModel; namespace Tizen.NUI { @@ -22,10 +25,12 @@ namespace Tizen.NUI /// /// ContentReceivedSignalType /// + internal ContentReceivedSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + /// /// Dispose /// diff --git a/src/Tizen.NUI/src/internal/Common/ControlKeySignal.cs b/src/Tizen.NUI/src/internal/Common/ControlKeySignal.cs index 3ab6e2a..9cffb31 100755 --- a/src/Tizen.NUI/src/internal/Common/ControlKeySignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ControlKeySignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,12 @@ namespace Tizen.NUI { internal class ControlKeySignal : Disposable { + internal ControlKeySignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ControlKeySignal.DeleteControlKeySignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/CustomActor.cs b/src/Tizen.NUI/src/internal/Common/CustomActor.cs index bc3e510..0c2e1bf 100755 --- a/src/Tizen.NUI/src/internal/Common/CustomActor.cs +++ b/src/Tizen.NUI/src/internal/Common/CustomActor.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class CustomActor : Animatable { + internal CustomActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/CustomAlgorithmInterface.cs b/src/Tizen.NUI/src/internal/Common/CustomAlgorithmInterface.cs index bfa0950..d032800 100755 --- a/src/Tizen.NUI/src/internal/Common/CustomAlgorithmInterface.cs +++ b/src/Tizen.NUI/src/internal/Common/CustomAlgorithmInterface.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ namespace Tizen.NUI { internal class CustomAlgorithmInterface : Disposable { + internal CustomAlgorithmInterface(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/DaliEnumConstants.cs b/src/Tizen.NUI/src/internal/Common/DaliEnumConstants.cs index 8c17cc6..285437d 100755 --- a/src/Tizen.NUI/src/internal/Common/DaliEnumConstants.cs +++ b/src/Tizen.NUI/src/internal/Common/DaliEnumConstants.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,6 +15,7 @@ * */ using System; +using System.Reflection; using System.Diagnostics; using System.Runtime.CompilerServices; diff --git a/src/Tizen.NUI/src/internal/Common/DaliException.cs b/src/Tizen.NUI/src/internal/Common/DaliException.cs index 58ebba0..66eade3 100755 --- a/src/Tizen.NUI/src/internal/Common/DaliException.cs +++ b/src/Tizen.NUI/src/internal/Common/DaliException.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class DaliException : Disposable { + internal DaliException(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.DaliException.DeleteDaliException(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/DefaultItemLayoutType.cs b/src/Tizen.NUI/src/internal/Common/DefaultItemLayoutType.cs index 07e45df..f58cad9 100755 --- a/src/Tizen.NUI/src/internal/Common/DefaultItemLayoutType.cs +++ b/src/Tizen.NUI/src/internal/Common/DefaultItemLayoutType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,4 +48,5 @@ namespace Tizen.NUI /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. SPIRAL } + } diff --git a/src/Tizen.NUI/src/internal/Common/DefaultRuler.cs b/src/Tizen.NUI/src/internal/Common/DefaultRuler.cs index ac586c1..430c8d2 100755 --- a/src/Tizen.NUI/src/internal/Common/DefaultRuler.cs +++ b/src/Tizen.NUI/src/internal/Common/DefaultRuler.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,10 +23,12 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public class DefaultRuler : Ruler { + internal DefaultRuler(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + /// This will be public opened. [EditorBrowsable(EditorBrowsableState.Never)] protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) diff --git a/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs b/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs index 8046906..6fecc1d 100755 --- a/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs +++ b/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs @@ -1,19 +1,11 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved +// PROPRIETARY/CONFIDENTIAL +// This software is the confidential and proprietary +// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall +// not disclose such Confidential Information and shall use it only in +// accordance with the terms of the license agreement you entered into with +// SAMSUNG ELECTRONICS. +// using System; using System.Collections.Generic; @@ -24,13 +16,11 @@ namespace Tizen.NUI [SuppressMessage("Microsoft.Design", "CA1001:Types that own disposable fields should be disposable", Justification = "This is a singleton class and is not disposed")] internal class DisposeQueue { - private static readonly DisposeQueue disposableQueue = new DisposeQueue(); - private List disposables = new List(); - private System.Object listLock = new object(); - private EventThreadCallback eventThreadCallback; - private EventThreadCallback.CallbackDelegate disposeQueueProcessDisposablesDelegate; - - private bool isCalled = false; + private static readonly DisposeQueue _disposableQueue = new DisposeQueue(); + private List _disposables = new List(); + private System.Object _listLock = new object(); + private EventThreadCallback _eventThreadCallback; + private EventThreadCallback.CallbackDelegate _disposeQueueProcessDisposablesDelegate; private DisposeQueue() { @@ -43,41 +33,42 @@ namespace Tizen.NUI public static DisposeQueue Instance { - get { return disposableQueue; } + get { return _disposableQueue; } } + private bool _isCalled = false; public void Initialize() { - if (isCalled == false) + if (_isCalled == false) { - disposeQueueProcessDisposablesDelegate = new EventThreadCallback.CallbackDelegate(ProcessDisposables); - eventThreadCallback = new EventThreadCallback(disposeQueueProcessDisposablesDelegate); - isCalled = true; + _disposeQueueProcessDisposablesDelegate = new EventThreadCallback.CallbackDelegate(ProcessDisposables); + _eventThreadCallback = new EventThreadCallback(_disposeQueueProcessDisposablesDelegate); + _isCalled = true; } } public void Add(IDisposable disposable) { - lock (listLock) + lock (_listLock) { - disposables.Add(disposable); + _disposables.Add(disposable); } - if (eventThreadCallback != null) + if (_eventThreadCallback != null) { - eventThreadCallback.Trigger(); + _eventThreadCallback.Trigger(); } } public void ProcessDisposables() { - lock (listLock) + lock (_listLock) { - foreach (IDisposable disposable in disposables) + foreach (IDisposable disposable in _disposables) { disposable.Dispose(); } - disposables.Clear(); + _disposables.Clear(); } } } diff --git a/src/Tizen.NUI/src/internal/Common/EventThreadCallback.cs b/src/Tizen.NUI/src/internal/Common/EventThreadCallback.cs index 9115d07..44cc775 100755 --- a/src/Tizen.NUI/src/internal/Common/EventThreadCallback.cs +++ b/src/Tizen.NUI/src/internal/Common/EventThreadCallback.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,6 @@ * limitations under the License. * */ - using System.ComponentModel; namespace Tizen.NUI @@ -27,6 +26,7 @@ namespace Tizen.NUI { } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) @@ -36,7 +36,8 @@ namespace Tizen.NUI public EventThreadCallback(CallbackDelegate func) : this(Interop.EventThreadCallback.NewEventThreadCallback(func), true) { - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + if (NDalicPINVOKE.SWIGPendingException.Pending) + throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } public void Trigger() @@ -46,7 +47,8 @@ namespace Tizen.NUI Interop.EventThreadCallback.Trigger(SwigCPtr); } - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + if (NDalicPINVOKE.SWIGPendingException.Pending) + throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } } } diff --git a/src/Tizen.NUI/src/internal/Common/FixedRuler.cs b/src/Tizen.NUI/src/internal/Common/FixedRuler.cs index 452ce08..eb9bd92 100755 --- a/src/Tizen.NUI/src/internal/Common/FixedRuler.cs +++ b/src/Tizen.NUI/src/internal/Common/FixedRuler.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ namespace Tizen.NUI { } + /// This will be public opened. [EditorBrowsable(EditorBrowsableState.Never)] protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) diff --git a/src/Tizen.NUI/src/internal/Common/FloatSignal.cs b/src/Tizen.NUI/src/internal/Common/FloatSignal.cs index c2f7f1a..cad0be2 100755 --- a/src/Tizen.NUI/src/internal/Common/FloatSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/FloatSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,18 @@ * limitations under the License. * */ - using System.ComponentModel; namespace Tizen.NUI { internal class FloatSignal : Disposable { + internal FloatSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) @@ -32,6 +33,7 @@ namespace Tizen.NUI Interop.FloatSignal.DeleteFloatSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.FloatSignal.Empty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/FocusChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/FocusChangedSignal.cs index ed70a93..ae339c9 100755 --- a/src/Tizen.NUI/src/internal/Common/FocusChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/FocusChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,18 @@ * limitations under the License. * */ - using Tizen.NUI.BaseComponents; namespace Tizen.NUI { internal class FocusChangedSignal : Disposable { + internal FocusChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.FocusChangedSignal.DeleteFocusChangedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/FocusGroupChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/FocusGroupChangedSignal.cs index 17d18de..298476e 100755 --- a/src/Tizen.NUI/src/internal/Common/FocusGroupChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/FocusGroupChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,18 @@ * limitations under the License. * */ - using Tizen.NUI.BaseComponents; namespace Tizen.NUI { internal class FocusGroupChangedSignal : Disposable { + internal FocusGroupChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.FocusGroupChangedSignal.DeleteFocusGroupChangedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/FontDescription.cs b/src/Tizen.NUI/src/internal/Common/FontDescription.cs index d2c45e4..d806bbe 100755 --- a/src/Tizen.NUI/src/internal/Common/FontDescription.cs +++ b/src/Tizen.NUI/src/internal/Common/FontDescription.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,6 @@ * limitations under the License. * */ - namespace Tizen.NUI { internal class FontDescription : Disposable diff --git a/src/Tizen.NUI/src/internal/Common/FontMetrics.cs b/src/Tizen.NUI/src/internal/Common/FontMetrics.cs index 1772dfc26..70c1cd8 100755 --- a/src/Tizen.NUI/src/internal/Common/FontMetrics.cs +++ b/src/Tizen.NUI/src/internal/Common/FontMetrics.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ namespace Tizen.NUI { internal class FontMetrics : Disposable { + internal FontMetrics(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/FriendAssembly.cs b/src/Tizen.NUI/src/internal/Common/FriendAssembly.cs index d507e71..7037dbe 100755 --- a/src/Tizen.NUI/src/internal/Common/FriendAssembly.cs +++ b/src/Tizen.NUI/src/internal/Common/FriendAssembly.cs @@ -1,24 +1,26 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - +// Copyright (c) 2017 Samsung Electronics Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts // Some have been manually changed + // friend assembly setting // compile with: /target:Tizen.NUI.ExtTEST /keyfile:FriendAssemblies.snk +using System; +using System.Collections.Generic; +using System.Text; using System.Runtime.CompilerServices; @@ -39,6 +41,7 @@ using System.Runtime.CompilerServices; namespace Tizen.NUI { + internal static class PublicKey { internal const string TizenFX = @@ -60,4 +63,5 @@ namespace Tizen.NUI "e6b2035e799be5ab69a41ede17cad2e2b7967fbf49b685452496be0"; } + } diff --git a/src/Tizen.NUI/src/internal/Common/GLWindowResizedSignal.cs b/src/Tizen.NUI/src/internal/Common/GLWindowResizedSignal.cs index 1338a70..b5b440d 100755 --- a/src/Tizen.NUI/src/internal/Common/GLWindowResizedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/GLWindowResizedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class GLWindowResizedSignal : Disposable { + internal GLWindowResizedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/GlyphInfo.cs b/src/Tizen.NUI/src/internal/Common/GlyphInfo.cs index 9bf1248..4384a8d 100755 --- a/src/Tizen.NUI/src/internal/Common/GlyphInfo.cs +++ b/src/Tizen.NUI/src/internal/Common/GlyphInfo.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ namespace Tizen.NUI { internal class GlyphInfo : Disposable { + internal GlyphInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/HoverSignal.cs b/src/Tizen.NUI/src/internal/Common/HoverSignal.cs index 01a4858..cea10a8 100755 --- a/src/Tizen.NUI/src/internal/Common/HoverSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/HoverSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,10 +20,12 @@ namespace Tizen.NUI { internal class HoverSignal : Disposable { + internal HoverSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ActorHoverSignal.DeleteActorHoverSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/InputMethodOptions.cs b/src/Tizen.NUI/src/internal/Common/InputMethodOptions.cs index 1dfa935..6d4ffd7 100755 --- a/src/Tizen.NUI/src/internal/Common/InputMethodOptions.cs +++ b/src/Tizen.NUI/src/internal/Common/InputMethodOptions.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class InputMethodOptions : Disposable { + internal InputMethodOptions(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/InterceptTouchSignal.cs b/src/Tizen.NUI/src/internal/Common/InterceptTouchSignal.cs index c8db9a9..2f6bb46 100755 --- a/src/Tizen.NUI/src/internal/Common/InterceptTouchSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/InterceptTouchSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class InterceptTouchSignal : Disposable { + internal InterceptTouchSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.TouchSignal.DeleteTouchSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.TouchSignal.Empty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/KeyEventSignal.cs b/src/Tizen.NUI/src/internal/Common/KeyEventSignal.cs index 9502107..91a9aa4 100755 --- a/src/Tizen.NUI/src/internal/Common/KeyEventSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/KeyEventSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class KeyEventSignal : Disposable { + internal KeyEventSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.KeyEventSignal.DeleteKeyEventSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/KeyInputFocusManager.cs b/src/Tizen.NUI/src/internal/Common/KeyInputFocusManager.cs index 3609769..11cad4a 100755 --- a/src/Tizen.NUI/src/internal/Common/KeyInputFocusManager.cs +++ b/src/Tizen.NUI/src/internal/Common/KeyInputFocusManager.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,12 @@ namespace Tizen.NUI { internal class KeyInputFocusManager : BaseHandle { + internal KeyInputFocusManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.KeyInputFocusManager.DeleteKeyInputFocusManager(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/KeyInputFocusSignal.cs b/src/Tizen.NUI/src/internal/Common/KeyInputFocusSignal.cs index 849d49f..60712a8 100755 --- a/src/Tizen.NUI/src/internal/Common/KeyInputFocusSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/KeyInputFocusSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,12 @@ namespace Tizen.NUI { internal class KeyInputFocusSignal : Disposable { + internal KeyInputFocusSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.KeyInputFocusManager.DeleteKeyInputFocusSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/KeyboardEventSignalType.cs b/src/Tizen.NUI/src/internal/Common/KeyboardEventSignalType.cs index 894a8e7..76f49c4 100755 --- a/src/Tizen.NUI/src/internal/Common/KeyboardEventSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/KeyboardEventSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +14,9 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; +using System.ComponentModel; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Common/KeyboardRepeatSettingsChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/KeyboardRepeatSettingsChangedSignal.cs index 56300a1..83ef543 100755 --- a/src/Tizen.NUI/src/internal/Common/KeyboardRepeatSettingsChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/KeyboardRepeatSettingsChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ namespace Tizen.NUI { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.KeyboardRepeatSettingsChangedSignal.DeleteSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/KeyboardResizedSignalType.cs b/src/Tizen.NUI/src/internal/Common/KeyboardResizedSignalType.cs index db394eb..98ae41f 100755 --- a/src/Tizen.NUI/src/internal/Common/KeyboardResizedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/KeyboardResizedSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,10 +22,12 @@ namespace Tizen.NUI { internal class KeyboardResizedSignalType : Disposable { + internal KeyboardResizedSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.KeyboardResizedSignalType.DeleteKeyboardResizedSignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/KeyboardTypeSignalType.cs b/src/Tizen.NUI/src/internal/Common/KeyboardTypeSignalType.cs index b0c848c..1a03e35 100755 --- a/src/Tizen.NUI/src/internal/Common/KeyboardTypeSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/KeyboardTypeSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,7 +24,8 @@ namespace Tizen.NUI /// KeyboardTypeSignalType /// /// 4 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use InputMethodContext.KeyboardTypeChanged event instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use InputMethodContext.KeyboardTypeChanged event instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class KeyboardTypeSignalType : Disposable { @@ -46,7 +47,8 @@ namespace Tizen.NUI /// /// True if there are any slots connected to the signal /// 4 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use InputMethodContext.KeyboardTypeChanged event instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use InputMethodContext.KeyboardTypeChanged event instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public bool Empty() { @@ -60,7 +62,8 @@ namespace Tizen.NUI /// /// The number of slots connected to this signal /// 4 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use InputMethodContext.KeyboardTypeChanged event instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use InputMethodContext.KeyboardTypeChanged event instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public uint GetConnectionCount() { @@ -74,7 +77,8 @@ namespace Tizen.NUI /// /// The function to connect /// 4 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use InputMethodContext.KeyboardTypeChanged event instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use InputMethodContext.KeyboardTypeChanged event instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public void Connect(System.Delegate func) { @@ -90,7 +94,8 @@ namespace Tizen.NUI /// /// The function to disconnect /// 4 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use InputMethodContext.KeyboardTypeChanged event instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use InputMethodContext.KeyboardTypeChanged event instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public void Disconnect(System.Delegate func) { @@ -106,7 +111,8 @@ namespace Tizen.NUI /// /// The member function to connect /// 5 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use InputMethodContext.KeyboardTypeChanged event instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use InputMethodContext.KeyboardTypeChanged event instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public void Emit(InputMethodContext.KeyboardType arg) { @@ -118,7 +124,8 @@ namespace Tizen.NUI /// The contructor. /// /// 4 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use InputMethodContext.KeyboardTypeChanged event instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use InputMethodContext.KeyboardTypeChanged event instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public KeyboardTypeSignalType() : this(Interop.KeyboardTypeSignalType.NewKeyboardTypeSignalType(), true) { diff --git a/src/Tizen.NUI/src/internal/Common/LanguageChangedSignalType.cs b/src/Tizen.NUI/src/internal/Common/LanguageChangedSignalType.cs index 16b7052..34567ec 100755 --- a/src/Tizen.NUI/src/internal/Common/LanguageChangedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/LanguageChangedSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,10 +22,12 @@ namespace Tizen.NUI { internal class LanguageChangedSignalType : Disposable { + internal LanguageChangedSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.LanguageChangedSignalType.DeleteLanguageChangedSignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/LinearConstrainer.cs b/src/Tizen.NUI/src/internal/Common/LinearConstrainer.cs index 35485e3..432dc5e 100755 --- a/src/Tizen.NUI/src/internal/Common/LinearConstrainer.cs +++ b/src/Tizen.NUI/src/internal/Common/LinearConstrainer.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class LinearConstrainer : BaseHandle { + internal LinearConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/ListEventSignalType.cs b/src/Tizen.NUI/src/internal/Common/ListEventSignalType.cs index c8fc4da..ed37461 100755 --- a/src/Tizen.NUI/src/internal/Common/ListEventSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/ListEventSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,16 +14,20 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; using System.ComponentModel; namespace Tizen.NUI { internal class ListEventSignalType : Disposable { + internal ListEventSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ListEventSignalType.DeleteListEventSignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/LongPressGestureDetectedSignal.cs b/src/Tizen.NUI/src/internal/Common/LongPressGestureDetectedSignal.cs index d6981e5..c2e43fb 100755 --- a/src/Tizen.NUI/src/internal/Common/LongPressGestureDetectedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/LongPressGestureDetectedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,10 +20,12 @@ namespace Tizen.NUI { internal class LongPressGestureDetectedSignal : Disposable { + internal LongPressGestureDetectedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.LongPressGestureDetectedSignal.DeleteLongPressGestureDetectedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/LowBatterySignalType.cs b/src/Tizen.NUI/src/internal/Common/LowBatterySignalType.cs index b65e6ca..f7ae897 100755 --- a/src/Tizen.NUI/src/internal/Common/LowBatterySignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/LowBatterySignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,10 +22,12 @@ namespace Tizen.NUI /// internal class LowBatterySignalType : Disposable { + internal LowBatterySignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.LowBatterySignal.DeleteLowBatterySignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/LowMemorySignalType.cs b/src/Tizen.NUI/src/internal/Common/LowMemorySignalType.cs index 9a410a5..bdd6b97 100755 --- a/src/Tizen.NUI/src/internal/Common/LowMemorySignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/LowMemorySignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class LowMemorySignalType : Disposable { + internal LowMemorySignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.LowMemorySignalType.DeleteLowMemorySignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/Matrix.cs b/src/Tizen.NUI/src/internal/Common/Matrix.cs index b031407..eaaf986 100755 --- a/src/Tizen.NUI/src/internal/Common/Matrix.cs +++ b/src/Tizen.NUI/src/internal/Common/Matrix.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class Matrix : Disposable { + internal Matrix(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/Matrix3.cs b/src/Tizen.NUI/src/internal/Common/Matrix3.cs index fd4385a..047111f 100755 --- a/src/Tizen.NUI/src/internal/Common/Matrix3.cs +++ b/src/Tizen.NUI/src/internal/Common/Matrix3.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class Matrix3 : Disposable { + internal Matrix3(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/Model3dView.cs b/src/Tizen.NUI/src/internal/Common/Model3dView.cs index bf63bd9..67ca06b 100755 --- a/src/Tizen.NUI/src/internal/Common/Model3dView.cs +++ b/src/Tizen.NUI/src/internal/Common/Model3dView.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ namespace Tizen.NUI { internal class Model3dView : View { + internal Model3dView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/NUIEventType.cs b/src/Tizen.NUI/src/internal/Common/NUIEventType.cs index 3204560..2ceeb43 100755 --- a/src/Tizen.NUI/src/internal/Common/NUIEventType.cs +++ b/src/Tizen.NUI/src/internal/Common/NUIEventType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/Tizen.NUI/src/internal/Common/NUIWindowInfo.cs b/src/Tizen.NUI/src/internal/Common/NUIWindowInfo.cs index ce15d23..0f4fbf0 100755 --- a/src/Tizen.NUI/src/internal/Common/NUIWindowInfo.cs +++ b/src/Tizen.NUI/src/internal/Common/NUIWindowInfo.cs @@ -1,21 +1,5 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; +using Tizen.NUI; using Tizen.Applications.ComponentBased.Common; namespace Tizen.NUI @@ -25,10 +9,10 @@ namespace Tizen.NUI /// internal class NUIWindowInfo : IWindowInfo { - private const string logTag = "Tizen.NUI"; - private Window window; - private int resourceId; - private bool disposed = false; + private const string LogTag = "Tizen.NUI"; + private Window _win; + private int _resId; + private bool _disposed = false; /// /// Initializes the NUI Window class. @@ -36,7 +20,7 @@ namespace Tizen.NUI /// The window object of component. internal NUIWindowInfo(Window win) { - window = win; + _win = win; } /// @@ -47,14 +31,14 @@ namespace Tizen.NUI { get { - if (resourceId == 0) + if (_resId == 0) { - resourceId = window.GetNativeId(); - if (resourceId != 0) - Log.Info(logTag, "Fail to get resource ID"); + _resId = _win.GetNativeId(); + if (_resId != 0) + Log.Info(LogTag, "Fail to get resource ID"); } - return resourceId; + return _resId; } } @@ -64,15 +48,15 @@ namespace Tizen.NUI /// If true, disposes any disposable objects. If false, does not dispose disposable objects. protected virtual void Dispose(bool disposing) { - if (disposed) + if (_disposed) return; if (disposing) { - window.Dispose(); - window = null; + _win.Dispose(); + _win = null; } - disposed = true; + _disposed = true; } /// @@ -85,5 +69,6 @@ namespace Tizen.NUI GC.SuppressFinalize(this); } } + } diff --git a/src/Tizen.NUI/src/internal/Common/NativeImageInterface.cs b/src/Tizen.NUI/src/internal/Common/NativeImageInterface.cs index 884b727..0cb11f8 100755 --- a/src/Tizen.NUI/src/internal/Common/NativeImageInterface.cs +++ b/src/Tizen.NUI/src/internal/Common/NativeImageInterface.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public class NativeImageInterface : RefObject { + internal NativeImageInterface(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/ObjectCreatedSignal.cs b/src/Tizen.NUI/src/internal/Common/ObjectCreatedSignal.cs index 0e92af4..a22300b 100755 --- a/src/Tizen.NUI/src/internal/Common/ObjectCreatedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ObjectCreatedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class ObjectCreatedSignal : Disposable { + internal ObjectCreatedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ObjectCreatedSignal.DeleteObjectCreatedSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.ObjectCreatedSignal.Empty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ObjectDestroyedSignal.cs b/src/Tizen.NUI/src/internal/Common/ObjectDestroyedSignal.cs index 1d80773..2c9f1dd 100755 --- a/src/Tizen.NUI/src/internal/Common/ObjectDestroyedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ObjectDestroyedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class ObjectDestroyedSignal : Disposable { + internal ObjectDestroyedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ObjectDestroyedSignal.DeleteObjectDestroyedSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.ObjectDestroyedSignal.Empty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ObjectRegistry.cs b/src/Tizen.NUI/src/internal/Common/ObjectRegistry.cs index e238546..d1dfcfb 100755 --- a/src/Tizen.NUI/src/internal/Common/ObjectRegistry.cs +++ b/src/Tizen.NUI/src/internal/Common/ObjectRegistry.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,6 @@ * limitations under the License. * */ - using System; using System.Runtime.InteropServices; @@ -22,6 +21,7 @@ namespace Tizen.NUI { internal class ObjectRegistry : BaseHandle { + internal ObjectRegistry(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -38,70 +38,70 @@ namespace Tizen.NUI public class ObjectCreatedEventArgs : EventArgs { - private BaseHandle baseHandle; + private BaseHandle _baseHandle; public BaseHandle BaseHandle { get { - return baseHandle; + return _baseHandle; } set { - baseHandle = value; + _baseHandle = value; } } } public class ObjectDestroyedEventArgs : EventArgs { - private RefObject refObject; + private RefObject _refObject; public RefObject RefObject { get { - return refObject; + return _refObject; } set { - refObject = value; + _refObject = value; } } } [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void ObjectCreatedEventCallbackDelegate(IntPtr baseHandle); - private DaliEventHandler objectRegistryObjectCreatedEventHandler; - private ObjectCreatedEventCallbackDelegate objectRegistryObjectCreatedEventCallbackDelegate; + private DaliEventHandler _objectRegistryObjectCreatedEventHandler; + private ObjectCreatedEventCallbackDelegate _objectRegistryObjectCreatedEventCallbackDelegate; [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void ObjectDestroyedEventCallbackDelegate(IntPtr fefObject); - private DaliEventHandler objectRegistryObjectDestroyedEventHandler; - private ObjectDestroyedEventCallbackDelegate objectRegistryObjectDestroyedEventCallbackDelegate; + private DaliEventHandler _objectRegistryObjectDestroyedEventHandler; + private ObjectDestroyedEventCallbackDelegate _objectRegistryObjectDestroyedEventCallbackDelegate; public event DaliEventHandler ObjectCreated { add { // Restricted to only one listener - if (objectRegistryObjectCreatedEventHandler == null) + if (_objectRegistryObjectCreatedEventHandler == null) { - objectRegistryObjectCreatedEventHandler += value; + _objectRegistryObjectCreatedEventHandler += value; - objectRegistryObjectCreatedEventCallbackDelegate = new ObjectCreatedEventCallbackDelegate(OnObjectCreated); - this.ObjectCreatedSignal().Connect(objectRegistryObjectCreatedEventCallbackDelegate); + _objectRegistryObjectCreatedEventCallbackDelegate = new ObjectCreatedEventCallbackDelegate(OnObjectCreated); + this.ObjectCreatedSignal().Connect(_objectRegistryObjectCreatedEventCallbackDelegate); } } remove { - if (objectRegistryObjectCreatedEventHandler != null) + if (_objectRegistryObjectCreatedEventHandler != null) { - this.ObjectCreatedSignal().Disconnect(objectRegistryObjectCreatedEventCallbackDelegate); + this.ObjectCreatedSignal().Disconnect(_objectRegistryObjectCreatedEventCallbackDelegate); } - objectRegistryObjectCreatedEventHandler -= value; + _objectRegistryObjectCreatedEventHandler -= value; } } @@ -113,10 +113,10 @@ namespace Tizen.NUI // Populate all members of "e" (ObjectCreatedEventArgs) with real data //e.BaseHandle = BaseHandle.GetBaseHandleFromPtr(baseHandle); //GetBaseHandleFromPtr() is not present in BaseHandle.cs. Not sure what is the reason? - if (objectRegistryObjectCreatedEventHandler != null) + if (_objectRegistryObjectCreatedEventHandler != null) { //here we send all data to user event handlers - objectRegistryObjectCreatedEventHandler(this, e); + _objectRegistryObjectCreatedEventHandler(this, e); } } @@ -125,23 +125,23 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (objectRegistryObjectDestroyedEventHandler == null) + if (_objectRegistryObjectDestroyedEventHandler == null) { - objectRegistryObjectDestroyedEventHandler += value; + _objectRegistryObjectDestroyedEventHandler += value; - objectRegistryObjectDestroyedEventCallbackDelegate = new ObjectDestroyedEventCallbackDelegate(OnObjectDestroyed); - this.ObjectDestroyedSignal().Connect(objectRegistryObjectDestroyedEventCallbackDelegate); + _objectRegistryObjectDestroyedEventCallbackDelegate = new ObjectDestroyedEventCallbackDelegate(OnObjectDestroyed); + this.ObjectDestroyedSignal().Connect(_objectRegistryObjectDestroyedEventCallbackDelegate); } } remove { - if (objectRegistryObjectDestroyedEventHandler != null) + if (_objectRegistryObjectDestroyedEventHandler != null) { - this.ObjectDestroyedSignal().Disconnect(objectRegistryObjectDestroyedEventCallbackDelegate); + this.ObjectDestroyedSignal().Disconnect(_objectRegistryObjectDestroyedEventCallbackDelegate); } - objectRegistryObjectDestroyedEventHandler -= value; + _objectRegistryObjectDestroyedEventHandler -= value; } } @@ -153,10 +153,10 @@ namespace Tizen.NUI // Populate all members of "e" (ObjectDestroyedEventArgs) with real data e.RefObject = RefObject.GetRefObjectFromPtr(refObject); - if (objectRegistryObjectDestroyedEventHandler != null) + if (_objectRegistryObjectDestroyedEventHandler != null) { //here we send all data to user event handlers - objectRegistryObjectDestroyedEventHandler(this, e); + _objectRegistryObjectDestroyedEventHandler(this, e); } } diff --git a/src/Tizen.NUI/src/internal/Common/PanGestureDetectedSignal.cs b/src/Tizen.NUI/src/internal/Common/PanGestureDetectedSignal.cs index b6eb2eb..3ce80dd 100755 --- a/src/Tizen.NUI/src/internal/Common/PanGestureDetectedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/PanGestureDetectedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,15 +20,18 @@ namespace Tizen.NUI { internal class PanGestureDetectedSignal : Disposable { + internal PanGestureDetectedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.PanGestureDetector.DeletePanGestureDetectedSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.PanGestureDetector.PanGestureDetectedSignalEmpty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/PathConstrainer.cs b/src/Tizen.NUI/src/internal/Common/PathConstrainer.cs index 316d643..8c82574 100755 --- a/src/Tizen.NUI/src/internal/Common/PathConstrainer.cs +++ b/src/Tizen.NUI/src/internal/Common/PathConstrainer.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class PathConstrainer : BaseHandle { + internal PathConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/PinchGestureDetectedSignal.cs b/src/Tizen.NUI/src/internal/Common/PinchGestureDetectedSignal.cs index 6999676..f8a717e 100755 --- a/src/Tizen.NUI/src/internal/Common/PinchGestureDetectedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/PinchGestureDetectedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,18 @@ * limitations under the License. * */ - using Tizen.NUI.BaseComponents; namespace Tizen.NUI { internal class PinchGestureDetectedSignal : Disposable { + internal PinchGestureDetectedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.PinchGesture.DeletePinchGestureDetectedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ProgressBarValueChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/ProgressBarValueChangedSignal.cs index 93a00f4..09fff3c 100755 --- a/src/Tizen.NUI/src/internal/Common/ProgressBarValueChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ProgressBarValueChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class ProgressBarValueChangedSignal : Disposable { + internal ProgressBarValueChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ProgressBar.DeleteProgressBarValueChangedSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.ProgressBar.ProgressBarValueChangedSignalEmpty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/PropertyHelper.cs b/src/Tizen.NUI/src/internal/Common/PropertyHelper.cs index 14b9c31..634b1d1 100755 --- a/src/Tizen.NUI/src/internal/Common/PropertyHelper.cs +++ b/src/Tizen.NUI/src/internal/Common/PropertyHelper.cs @@ -14,7 +14,6 @@ * limitations under the License. * */ - using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Tizen.NUI/src/internal/Common/PropertyRangeManager.cs b/src/Tizen.NUI/src/internal/Common/PropertyRangeManager.cs index 2d26357..d4cdd14 100755 --- a/src/Tizen.NUI/src/internal/Common/PropertyRangeManager.cs +++ b/src/Tizen.NUI/src/internal/Common/PropertyRangeManager.cs @@ -1,22 +1,8 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ + using System.Reflection; using System; +using System.Runtime.InteropServices; using System.Collections.Generic; using Tizen.NUI.BaseComponents; @@ -27,14 +13,14 @@ namespace Tizen.NUI /// internal class PropertyRangeManager { - private Dictionary propertyRange; + private Dictionary _propertyRange; /// /// Initializes a new instance of the class. /// public PropertyRangeManager() { - propertyRange = new Dictionary(); + _propertyRange = new Dictionary(); } /// @@ -44,7 +30,7 @@ namespace Tizen.NUI { PropertyRange range; - if (propertyRange.TryGetValue(viewName, out range)) + if (_propertyRange.TryGetValue(viewName, out range)) { // already registered return range; @@ -56,7 +42,7 @@ namespace Tizen.NUI GetPropertyStartRange(viewType, ref range); // add it to our dictionary - propertyRange.Add(viewName, range); + _propertyRange.Add(viewName, range); return range; @@ -75,7 +61,7 @@ namespace Tizen.NUI PropertyRange range; - if (!propertyRange.TryGetValue(viewName, out range)) + if (!_propertyRange.TryGetValue(viewName, out range)) { // view not found, register it now range = RegisterView(viewName, viewType); @@ -84,7 +70,7 @@ namespace Tizen.NUI int index = range.GetNextFreePropertyIndex(type); // update the dictionary - propertyRange[viewName] = range; + _propertyRange[viewName] = range; return index; diff --git a/src/Tizen.NUI/src/internal/Common/PropertyRegistration.cs b/src/Tizen.NUI/src/internal/Common/PropertyRegistration.cs index 37e052f..117a4a4 100755 --- a/src/Tizen.NUI/src/internal/Common/PropertyRegistration.cs +++ b/src/Tizen.NUI/src/internal/Common/PropertyRegistration.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class PropertyRegistration : Disposable { + internal PropertyRegistration(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/Registry.cs b/src/Tizen.NUI/src/internal/Common/Registry.cs index 25bc43b..b66f043 100755 --- a/src/Tizen.NUI/src/internal/Common/Registry.cs +++ b/src/Tizen.NUI/src/internal/Common/Registry.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,12 +17,15 @@ using System; using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Runtime.InteropServices; using System.Threading; namespace Tizen.NUI { /// /// This is used to store a mapping between C++ base handle objects and it's C# instances. + /// /// internal sealed class Registry { @@ -47,6 +50,7 @@ namespace Tizen.NUI _controlMap = new ConcurrentDictionary(); } + /// /// Stores the mapping between this instance of BaseHandle (C# base class) and native part. /// diff --git a/src/Tizen.NUI/src/internal/Common/RenderTask.cs b/src/Tizen.NUI/src/internal/Common/RenderTask.cs index 81fd318..a07109b 100755 --- a/src/Tizen.NUI/src/internal/Common/RenderTask.cs +++ b/src/Tizen.NUI/src/internal/Common/RenderTask.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public class RenderTask : Animatable { + internal RenderTask(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/RenderTaskList.cs b/src/Tizen.NUI/src/internal/Common/RenderTaskList.cs index efffc25..d485abb 100755 --- a/src/Tizen.NUI/src/internal/Common/RenderTaskList.cs +++ b/src/Tizen.NUI/src/internal/Common/RenderTaskList.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class RenderTaskList : BaseHandle { + internal RenderTaskList(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/RenderTaskSignal.cs b/src/Tizen.NUI/src/internal/Common/RenderTaskSignal.cs index 5e02c91..f917635 100755 --- a/src/Tizen.NUI/src/internal/Common/RenderTaskSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/RenderTaskSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class RenderTaskSignal : Disposable { + internal RenderTaskSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.RenderTask.DeleteRenderTaskSignal(swigCPtr); } + public RenderTaskSignal() : this(Interop.RenderTask.NewRenderTaskSignal(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/src/Tizen.NUI/src/internal/Common/ResizedSignal.cs b/src/Tizen.NUI/src/internal/Common/ResizedSignal.cs index 4f3dec4..2daee0c 100755 --- a/src/Tizen.NUI/src/internal/Common/ResizedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ResizedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,12 +17,15 @@ namespace Tizen.NUI { + internal class ResizeSignal : Disposable { + internal ResizeSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ResizeSignal.DeleteResizeSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/RotationGestureDetectedSignal.cs b/src/Tizen.NUI/src/internal/Common/RotationGestureDetectedSignal.cs index 743d378..57144b4 100755 --- a/src/Tizen.NUI/src/internal/Common/RotationGestureDetectedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/RotationGestureDetectedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,10 +20,12 @@ namespace Tizen.NUI using Tizen.NUI.BaseComponents; internal class RotationGestureDetectedSignal : Disposable { + internal RotationGestureDetectedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.RotationGesture.DeleteRotationGestureDetectedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/Ruler.cs b/src/Tizen.NUI/src/internal/Common/Ruler.cs index 992448d..2bb916b 100755 --- a/src/Tizen.NUI/src/internal/Common/Ruler.cs +++ b/src/Tizen.NUI/src/internal/Common/Ruler.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public class Ruler : RefObject { + internal Ruler(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -226,6 +227,7 @@ namespace Tizen.NUI { /// A Fixed ruler. /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + Fixed, /// A Free ruler. diff --git a/src/Tizen.NUI/src/internal/Common/RulerDomain.cs b/src/Tizen.NUI/src/internal/Common/RulerDomain.cs index 17d9fdc..ed3d497 100755 --- a/src/Tizen.NUI/src/internal/Common/RulerDomain.cs +++ b/src/Tizen.NUI/src/internal/Common/RulerDomain.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public class RulerDomain : Disposable { + internal RulerDomain(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/RulerPtr.cs b/src/Tizen.NUI/src/internal/Common/RulerPtr.cs index 9381132..20a4fff 100755 --- a/src/Tizen.NUI/src/internal/Common/RulerPtr.cs +++ b/src/Tizen.NUI/src/internal/Common/RulerPtr.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public class RulerPtr : Disposable { + internal RulerPtr(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/ScrollStateChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/ScrollStateChangedSignal.cs index 4ac25ad..71d7d1a 100755 --- a/src/Tizen.NUI/src/internal/Common/ScrollStateChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ScrollStateChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ using Tizen.NUI.BaseComponents; namespace Tizen.NUI { + internal class ScrollStateChangedSignal : Disposable { @@ -26,6 +27,7 @@ namespace Tizen.NUI { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ScrollStateChangedSignal.DeleteScrollStateChangedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ScrollViewSnapStartedSignal.cs b/src/Tizen.NUI/src/internal/Common/ScrollViewSnapStartedSignal.cs index f33a4af..9a6a7ef 100755 --- a/src/Tizen.NUI/src/internal/Common/ScrollViewSnapStartedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ScrollViewSnapStartedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class ScrollViewSnapStartedSignal : Disposable { + internal ScrollViewSnapStartedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ScrollView.DeleteScrollViewSnapStartedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ScrollableSignal.cs b/src/Tizen.NUI/src/internal/Common/ScrollableSignal.cs index 92bbf50..13c31b1 100755 --- a/src/Tizen.NUI/src/internal/Common/ScrollableSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ScrollableSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class ScrollableSignal : Disposable { + internal ScrollableSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ScrollableSignal.DeleteScrollableSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/SignalConnectorType.cs b/src/Tizen.NUI/src/internal/Common/SignalConnectorType.cs index 8124509..397b428 100755 --- a/src/Tizen.NUI/src/internal/Common/SignalConnectorType.cs +++ b/src/Tizen.NUI/src/internal/Common/SignalConnectorType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class SignalConnectorType : Disposable { + internal SignalConnectorType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.NDalic.DeleteSignalConnectorType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/SignalObserver.cs b/src/Tizen.NUI/src/internal/Common/SignalObserver.cs index 6c9e528..a1f3411 100755 --- a/src/Tizen.NUI/src/internal/Common/SignalObserver.cs +++ b/src/Tizen.NUI/src/internal/Common/SignalObserver.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,15 +14,20 @@ * limitations under the License. * */ +using System; +using System.Runtime.InteropServices; +using System.ComponentModel; namespace Tizen.NUI { internal class SignalObserver : Disposable { + internal SignalObserver(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.SignalObserver.DeleteSignalObserver(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/SliderMarkReachedSignal.cs b/src/Tizen.NUI/src/internal/Common/SliderMarkReachedSignal.cs index cbc1bfc..6d3047c 100755 --- a/src/Tizen.NUI/src/internal/Common/SliderMarkReachedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/SliderMarkReachedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class SliderMarkReachedSignal : Disposable { + internal SliderMarkReachedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Slider.DeleteSliderMarkReachedSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.Slider.SliderMarkReachedSignalEmpty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/SliderValueChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/SliderValueChangedSignal.cs index 8c0aaac..9aab514 100755 --- a/src/Tizen.NUI/src/internal/Common/SliderValueChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/SliderValueChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class SliderValueChangedSignal : Disposable { + internal SliderValueChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Slider.DeleteSliderValueChangedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/SlotObserver.cs b/src/Tizen.NUI/src/internal/Common/SlotObserver.cs index 768e5dc..9de7ab7 100755 --- a/src/Tizen.NUI/src/internal/Common/SlotObserver.cs +++ b/src/Tizen.NUI/src/internal/Common/SlotObserver.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ namespace Tizen.NUI { internal class SlotObserver : Disposable { + internal SlotObserver(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/StageWheelSignal.cs b/src/Tizen.NUI/src/internal/Common/StageWheelSignal.cs index d7090dc..654a234 100755 --- a/src/Tizen.NUI/src/internal/Common/StageWheelSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/StageWheelSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class StageWheelSignal : Disposable { + internal StageWheelSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Wheel.DeleteStageWheelSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.Wheel.StageWheelSignalEmpty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/StateChangedSignalType.cs b/src/Tizen.NUI/src/internal/Common/StateChangedSignalType.cs index 1b4109b..4bd96c2 100755 --- a/src/Tizen.NUI/src/internal/Common/StateChangedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/StateChangedSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class StateChangedSignalType : Disposable { + internal StateChangedSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.StateChangeSignalType.DeleteStateChangedSignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/StatusSignalType.cs b/src/Tizen.NUI/src/internal/Common/StatusSignalType.cs index 76b4025..efbcd04 100755 --- a/src/Tizen.NUI/src/internal/Common/StatusSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/StatusSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,10 +22,12 @@ namespace Tizen.NUI { internal class StatusSignalType : Disposable { + internal StatusSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.StatusSignalType.DeleteStatusSignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/StringValuePair.cs b/src/Tizen.NUI/src/internal/Common/StringValuePair.cs index bb15ac2..ed741bf 100755 --- a/src/Tizen.NUI/src/internal/Common/StringValuePair.cs +++ b/src/Tizen.NUI/src/internal/Common/StringValuePair.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class StringValuePair : Disposable { + internal StringValuePair(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/StyleChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/StyleChangedSignal.cs index d8a8e3a..e62e308 100755 --- a/src/Tizen.NUI/src/internal/Common/StyleChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/StyleChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class StyleChangedSignal : Disposable { + internal StyleChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.StyleChangedSignal.DeleteStyleChangedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/TapGestureDetectedSignal.cs b/src/Tizen.NUI/src/internal/Common/TapGestureDetectedSignal.cs index d8ca032..aa4c5e6 100755 --- a/src/Tizen.NUI/src/internal/Common/TapGestureDetectedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/TapGestureDetectedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,10 +20,12 @@ namespace Tizen.NUI using Tizen.NUI.BaseComponents; internal class TapGestureDetectedSignal : Disposable { + internal TapGestureDetectedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.TapGestureDetectedSignal.DeleteTapGestureDetectedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/TextEditorSignal.cs b/src/Tizen.NUI/src/internal/Common/TextEditorSignal.cs index b7e6d09..c57192f 100755 --- a/src/Tizen.NUI/src/internal/Common/TextEditorSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/TextEditorSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,17 +19,21 @@ using Tizen.NUI.BaseComponents; namespace Tizen.NUI { + internal class TextEditorSignal : Disposable { + internal TextEditorSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.TextEditor.DeleteTextEditorSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.TextEditor.TextEditorSignalEmpty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/TextFieldSignal.cs b/src/Tizen.NUI/src/internal/Common/TextFieldSignal.cs index 9893e74..67feef1 100755 --- a/src/Tizen.NUI/src/internal/Common/TextFieldSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/TextFieldSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,15 +21,18 @@ namespace Tizen.NUI { internal class TextFieldSignal : Disposable { + internal TextFieldSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.TextField.DeleteTextFieldSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.TextField.TextFieldSignalEmpty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/TimePeriod.cs b/src/Tizen.NUI/src/internal/Common/TimePeriod.cs index 8204ce1..cdecb00 100755 --- a/src/Tizen.NUI/src/internal/Common/TimePeriod.cs +++ b/src/Tizen.NUI/src/internal/Common/TimePeriod.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class TimePeriod : Disposable { + internal TimePeriod(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -33,6 +34,7 @@ namespace Tizen.NUI Interop.TimePeriod.DeleteTimePeriod(swigCPtr); } + public TimePeriod(float durationSeconds) : this(Interop.TimePeriod.NewTimePeriod(durationSeconds), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/src/Tizen.NUI/src/internal/Common/TimerSignalType.cs b/src/Tizen.NUI/src/internal/Common/TimerSignalType.cs index 64d41f4..084ce2e 100755 --- a/src/Tizen.NUI/src/internal/Common/TimerSignalType.cs +++ b/src/Tizen.NUI/src/internal/Common/TimerSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class TimerSignalType : Disposable { + internal TimerSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Timer.DeleteTimerSignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/TouchDataSignal.cs b/src/Tizen.NUI/src/internal/Common/TouchDataSignal.cs index 8d14542..c310917 100755 --- a/src/Tizen.NUI/src/internal/Common/TouchDataSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/TouchDataSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,15 +20,18 @@ namespace Tizen.NUI { internal class TouchDataSignal : Disposable { + internal TouchDataSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ActorTouchDataSignal.DeleteActorTouchDataSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.ActorTouchDataSignal.Empty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/TouchPoint.cs b/src/Tizen.NUI/src/internal/Common/TouchPoint.cs index df2da38..a00b40a 100755 --- a/src/Tizen.NUI/src/internal/Common/TouchPoint.cs +++ b/src/Tizen.NUI/src/internal/Common/TouchPoint.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ namespace Tizen.NUI { internal class TouchPoint : Disposable { + internal TouchPoint(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -34,6 +35,7 @@ namespace Tizen.NUI Interop.TouchPoint.DeleteTouchPoint(swigCPtr); } + public TouchPoint(int id, TouchPoint.StateType state, float screenX, float screenY) : this(Interop.TouchPoint.NewTouchPoint(id, (int)state, screenX, screenY), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/src/Tizen.NUI/src/internal/Common/TouchPointContainer.cs b/src/Tizen.NUI/src/internal/Common/TouchPointContainer.cs index 71d4988..5c61a3b 100755 --- a/src/Tizen.NUI/src/internal/Common/TouchPointContainer.cs +++ b/src/Tizen.NUI/src/internal/Common/TouchPointContainer.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,29 +15,27 @@ * */ -using System.Collections; -using System.Collections.Generic; -using System.Runtime.InteropServices; - namespace Tizen.NUI { - internal class TouchPointContainer : Disposable, IEnumerable, IEnumerable + internal class TouchPointContainer : Disposable, global::System.Collections.IEnumerable, + global::System.Collections.Generic.IEnumerable { + internal TouchPointContainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } - internal static HandleRef getCPtr(TouchPointContainer obj) + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TouchPointContainer obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr; } - protected override void ReleaseSwigCPtr(HandleRef swigCPtr) + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.TouchPointContainer.DeleteTouchPointContainer(swigCPtr); } - public TouchPointContainer(ICollection c) : this() + public TouchPointContainer(global::System.Collections.ICollection c) : this() { if (c == null) throw new global::System.ArgumentNullException(nameof(c)); @@ -133,12 +131,12 @@ namespace Tizen.NUI array.SetValue(getitemcopy(index + i), arrayIndex + i); } - IEnumerator IEnumerable.GetEnumerator() + global::System.Collections.Generic.IEnumerator global::System.Collections.Generic.IEnumerable.GetEnumerator() { return new TouchPointContainerEnumerator(this); } - IEnumerator IEnumerable.GetEnumerator() + global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() { return new TouchPointContainerEnumerator(this); } @@ -153,7 +151,8 @@ namespace Tizen.NUI /// whenever the collection is modified. This has been done for changes in the size of the /// collection, but not when one of the elements of the collection is modified as it is a bit /// tricky to detect unmanaged code that modifies the collection under our feet. - public sealed class TouchPointContainerEnumerator : IEnumerator, IEnumerator + public sealed class TouchPointContainerEnumerator : global::System.Collections.IEnumerator + , global::System.Collections.Generic.IEnumerator { private TouchPointContainer collectionRef; private int currentIndex; diff --git a/src/Tizen.NUI/src/internal/Common/TouchSignal.cs b/src/Tizen.NUI/src/internal/Common/TouchSignal.cs index 57350aa..03958f9 100755 --- a/src/Tizen.NUI/src/internal/Common/TouchSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/TouchSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class TouchSignal : Disposable { + internal TouchSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.TouchSignal.DeleteTouchSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.TouchSignal.Empty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/TypeAction.cs b/src/Tizen.NUI/src/internal/Common/TypeAction.cs index 1a5cb8c..0adf818 100755 --- a/src/Tizen.NUI/src/internal/Common/TypeAction.cs +++ b/src/Tizen.NUI/src/internal/Common/TypeAction.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class TypeAction : Disposable { + internal TypeAction(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.NDalic.DeleteTypeAction(swigCPtr); } + internal TypeAction(TypeRegistration registered, string name, SWIGTYPE_p_f_p_Dali__BaseObject_r_q_const__std__string_r_q_const__Dali__Property__Map__bool f) : this(Interop.NDalic.NewTypeAction(TypeRegistration.getCPtr(registered), name, SWIGTYPE_p_f_p_Dali__BaseObject_r_q_const__std__string_r_q_const__Dali__Property__Map__bool.getCPtr(f)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/src/Tizen.NUI/src/internal/Common/TypeRegistration.cs b/src/Tizen.NUI/src/internal/Common/TypeRegistration.cs index bf1508e..9c9dd9e 100755 --- a/src/Tizen.NUI/src/internal/Common/TypeRegistration.cs +++ b/src/Tizen.NUI/src/internal/Common/TypeRegistration.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class TypeRegistration : Disposable { + internal TypeRegistration(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/Uint16Pair.cs b/src/Tizen.NUI/src/internal/Common/Uint16Pair.cs index d7973e2..3b5b1e0 100755 --- a/src/Tizen.NUI/src/internal/Common/Uint16Pair.cs +++ b/src/Tizen.NUI/src/internal/Common/Uint16Pair.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ using System.ComponentModel; namespace Tizen.NUI { + + //"Please do not use! this will be deprecated" /// /// Simple class for passing around pairs of small unsigned integers.
/// Use this for integer dimensions and points with limited range such as image diff --git a/src/Tizen.NUI/src/internal/Common/VectorBase.cs b/src/Tizen.NUI/src/internal/Common/VectorBase.cs index fe65c17..a1a1e63 100755 --- a/src/Tizen.NUI/src/internal/Common/VectorBase.cs +++ b/src/Tizen.NUI/src/internal/Common/VectorBase.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class VectorBase : Disposable { + internal VectorBase(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { throw new global::System.MethodAccessException("C++ destructor does not have public access"); } + public uint Count() { uint ret = Interop.VectorBase.Count(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/VectorBlob.cs b/src/Tizen.NUI/src/internal/Common/VectorBlob.cs index 813c66c..43d3c93 100755 --- a/src/Tizen.NUI/src/internal/Common/VectorBlob.cs +++ b/src/Tizen.NUI/src/internal/Common/VectorBlob.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,10 +18,12 @@ namespace Tizen.NUI { internal class VectorBlob : Disposable { + internal VectorBlob(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.VectorBlob.DeleteVectorBlob(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/VectorUint16Pair.cs b/src/Tizen.NUI/src/internal/Common/VectorUint16Pair.cs index 573547b..23c6d3c 100755 --- a/src/Tizen.NUI/src/internal/Common/VectorUint16Pair.cs +++ b/src/Tizen.NUI/src/internal/Common/VectorUint16Pair.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class VectorUint16Pair : Disposable { + internal VectorUint16Pair(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/VectorUnsignedChar.cs b/src/Tizen.NUI/src/internal/Common/VectorUnsignedChar.cs index f178e4d..489f479 100755 --- a/src/Tizen.NUI/src/internal/Common/VectorUnsignedChar.cs +++ b/src/Tizen.NUI/src/internal/Common/VectorUnsignedChar.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class VectorUnsignedChar : Disposable { + internal VectorUnsignedChar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Common/VideoViewSignal.cs b/src/Tizen.NUI/src/internal/Common/VideoViewSignal.cs index c6a713e..f47c643 100755 --- a/src/Tizen.NUI/src/internal/Common/VideoViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/VideoViewSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,17 +19,21 @@ using Tizen.NUI.BaseComponents; namespace Tizen.NUI { + internal class VideoViewSignal : Disposable { + internal VideoViewSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.VideoView.DeleteVideoViewSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.VideoView.VideoViewSignalEmpty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ViewImpl.cs b/src/Tizen.NUI/src/internal/Common/ViewImpl.cs index 666e7a1..f83a52f 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewImpl.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewImpl.cs @@ -24,6 +24,7 @@ namespace Tizen.NUI { internal class ViewImpl : CustomActorImpl { + internal ViewImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -85,7 +86,6 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } - public void SetBackground(PropertyMap map) { Interop.ViewImpl.SetBackground(SwigCPtr, PropertyMap.getCPtr(map)); diff --git a/src/Tizen.NUI/src/internal/Common/ViewLayoutDirectionChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/ViewLayoutDirectionChangedSignal.cs index 490379f..5ce0db9 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewLayoutDirectionChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewLayoutDirectionChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,12 @@ namespace Tizen.NUI { internal class ViewLayoutDirectionChangedSignal : Disposable { + internal ViewLayoutDirectionChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.Layout.DeleteViewLayoutDirectionChangedSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ViewResourceReadySignal.cs b/src/Tizen.NUI/src/internal/Common/ViewResourceReadySignal.cs index 568c970..796d341 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewResourceReadySignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewResourceReadySignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,12 +19,15 @@ using Tizen.NUI.BaseComponents; namespace Tizen.NUI { + internal class ViewResourceReadySignal : Disposable { + internal ViewResourceReadySignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ViewResourceReadySignal.DeleteViewResourceReadySignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ViewSignal.cs b/src/Tizen.NUI/src/internal/Common/ViewSignal.cs index d10d43e..ffb1c07 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,10 +22,12 @@ namespace Tizen.NUI { internal class ViewSignal : Disposable { + internal ViewSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ActorSignal.DeleteActorSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/ViewVisibilityChangedSignal.cs b/src/Tizen.NUI/src/internal/Common/ViewVisibilityChangedSignal.cs index cb7b346..406fdc6 100755 --- a/src/Tizen.NUI/src/internal/Common/ViewVisibilityChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/ViewVisibilityChangedSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,17 +18,21 @@ using Tizen.NUI.BaseComponents; namespace Tizen.NUI { + internal class ViewVisibilityChangedSignal : Disposable { + internal ViewVisibilityChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ViewVisibilityChangedSignal.DeleteViewVisibilityChangedSignal(swigCPtr); } + public bool Empty() { bool ret = Interop.ViewVisibilityChangedSignal.Empty(SwigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/VoidSignal.cs b/src/Tizen.NUI/src/internal/Common/VoidSignal.cs index ec288d8..2c3052c 100755 --- a/src/Tizen.NUI/src/internal/Common/VoidSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/VoidSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ namespace Tizen.NUI { internal class VoidSignal : Disposable { + internal VoidSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.VoidSignal.DeleteVoidSignal(swigCPtr); } + public VoidSignal() : this(Interop.VoidSignal.NewVoidSignal(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); diff --git a/src/Tizen.NUI/src/internal/Common/WeakEventHandler.cs b/src/Tizen.NUI/src/internal/Common/WeakEventHandler.cs index 016b8fd..d05b11f 100755 --- a/src/Tizen.NUI/src/internal/Common/WeakEventHandler.cs +++ b/src/Tizen.NUI/src/internal/Common/WeakEventHandler.cs @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Reflection; @@ -22,21 +5,21 @@ namespace Tizen.NUI { internal sealed class WeakEventHandler where TEventArgs : EventArgs { - private readonly WeakReference targetReference; - private readonly MethodInfo method; + private readonly WeakReference _targetReference; + private readonly MethodInfo _method; public WeakEventHandler(EventHandler callback) { - method = callback.GetMethodInfo(); - targetReference = new WeakReference(callback.Target, true); + _method = callback.GetMethodInfo(); + _targetReference = new WeakReference(callback.Target, true); } public void Handler(object sender, TEventArgs e) { - var target = targetReference.Target; + var target = _targetReference.Target; if (target != null) { - var callback = (Action)method.CreateDelegate(typeof(Action), target); + var callback = (Action)_method.CreateDelegate(typeof(Action), target); if (callback != null) { callback(sender, e); diff --git a/src/Tizen.NUI/src/internal/Common/WheelSignal.cs b/src/Tizen.NUI/src/internal/Common/WheelSignal.cs index d95fea3..96e6402 100755 --- a/src/Tizen.NUI/src/internal/Common/WheelSignal.cs +++ b/src/Tizen.NUI/src/internal/Common/WheelSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,10 +20,12 @@ namespace Tizen.NUI { internal class WheelSignal : Disposable { + internal WheelSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.ActorWheelSignal.DeleteActorWheelSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Common/floatp.cs b/src/Tizen.NUI/src/internal/Common/floatp.cs index d4fb2e2..488fd3b 100755 --- a/src/Tizen.NUI/src/internal/Common/floatp.cs +++ b/src/Tizen.NUI/src/internal/Common/floatp.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class floatp : Disposable { + internal floatp(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.floatp.DeleteFloatp(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/FrameBroker/DefaultFrameBroker.cs b/src/Tizen.NUI/src/internal/FrameBroker/DefaultFrameBroker.cs index 69716cd..9c682be 100755 --- a/src/Tizen.NUI/src/internal/FrameBroker/DefaultFrameBroker.cs +++ b/src/Tizen.NUI/src/internal/FrameBroker/DefaultFrameBroker.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,6 +15,9 @@ */ using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Text; using Tizen.NUI.BaseComponents; namespace Tizen.NUI diff --git a/src/Tizen.NUI/src/internal/FrameBroker/FrameData.cs b/src/Tizen.NUI/src/internal/FrameBroker/FrameData.cs index 384611d..b7b1ee3 100755 --- a/src/Tizen.NUI/src/internal/FrameBroker/FrameData.cs +++ b/src/Tizen.NUI/src/internal/FrameBroker/FrameData.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,7 +15,10 @@ */ using System; +using Tizen.NUI.BaseComponents; using Tizen.Applications; +using System.ComponentModel; +using System.Runtime.InteropServices; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/FrameBroker/SafeFrameBrokerHandle.cs b/src/Tizen.NUI/src/internal/FrameBroker/SafeFrameBrokerHandle.cs index a0bbf37..3b2f6e3 100755 --- a/src/Tizen.NUI/src/internal/FrameBroker/SafeFrameBrokerHandle.cs +++ b/src/Tizen.NUI/src/internal/FrameBroker/SafeFrameBrokerHandle.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ namespace Tizen.NUI { } + [EditorBrowsable(EditorBrowsableState.Never)] public SafeFrameBrokerHandle(IntPtr existingHandleValue, bool ownsHandle) : base(IntPtr.Zero, ownsHandle) { @@ -50,5 +51,6 @@ namespace Tizen.NUI this.SetHandle(IntPtr.Zero); return true; } + } } diff --git a/src/Tizen.NUI/src/internal/FrameProvider/FrameProvider.cs b/src/Tizen.NUI/src/internal/FrameProvider/FrameProvider.cs index 4ebcde6..83c350c 100755 --- a/src/Tizen.NUI/src/internal/FrameProvider/FrameProvider.cs +++ b/src/Tizen.NUI/src/internal/FrameProvider/FrameProvider.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ namespace Tizen.NUI private Interop.FrameProvider.FrameProviderEventCallbacks callbacks; private bool disposed = false; + /// /// Initializes the FrameProvider class. /// diff --git a/src/Tizen.NUI/src/internal/Interop/Inerop.KeyboardEventSignal.cs b/src/Tizen.NUI/src/internal/Interop/Inerop.KeyboardEventSignal.cs index b6cefba..6d1db4f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Inerop.KeyboardEventSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Inerop.KeyboardEventSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs index 676d13e..7deba36 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AccessibilityManager.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActivatedSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActivatedSignalType.cs index c24eacc..4a98c5f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActivatedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActivatedSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Actor.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Actor.cs index 64c13c0..30adbe4 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Actor.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Actor.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActorContainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActorContainer.cs index 7127c78..e8a0abc 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActorContainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActorContainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActorHoverSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActorHoverSignal.cs index 9d9d36b..f1cb925 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActorHoverSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActorHoverSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActorInternal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActorInternal.cs index abd81fe..b0765de 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActorInternal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActorInternal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActorProperty.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActorProperty.cs index a85431d..01b890c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActorProperty.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActorProperty.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActorSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActorSignal.cs index 0f944ea..2161f49 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActorSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActorSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActorTouchDataSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActorTouchDataSignal.cs index 78afb6b..19d462b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActorTouchDataSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActorTouchDataSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ActorWheelSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ActorWheelSignal.cs index 23ede20..dd79f73 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ActorWheelSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ActorWheelSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Adaptor.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Adaptor.cs index 798963d..4b6a8c8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Adaptor.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Adaptor.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Alignment.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Alignment.cs index eb617c5..aaa5d6d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Alignment.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Alignment.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AlphaFunction.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AlphaFunction.cs index 0265f03..efa3735 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AlphaFunction.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AlphaFunction.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Angle.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Angle.cs index 980d04e..bd13f8f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Angle.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Angle.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AngleAxis.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AngleAxis.cs index 5a2caca..19031c8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AngleAxis.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AngleAxis.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AngleThresholdPair.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AngleThresholdPair.cs index a51d50c..88808b8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AngleThresholdPair.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AngleThresholdPair.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Animation.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Animation.cs index 742dd5c..8064bfe 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Animation.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Animation.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Any.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Any.cs index 0ffe860..a64caf3 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Any.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Any.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Application.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Application.cs index 2cf4f32..6e69a14 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Application.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Application.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationControlSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationControlSignal.cs index 8dcc6f7..61197f0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationControlSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationControlSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationSignal.cs index a4daffa..6d8fe82 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ApplicationSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AsyncImageLoader.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AsyncImageLoader.cs index 5a237c2..daacf8f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AsyncImageLoader.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AsyncImageLoader.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AuthenticationSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AuthenticationSignalType.cs index 20b1c1a..1a15f00 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AuthenticationSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AuthenticationSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.AutofillContainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.AutofillContainer.cs index 217fdb9..13b361b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.AutofillContainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.AutofillContainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.BaseHandle.cs b/src/Tizen.NUI/src/internal/Interop/Interop.BaseHandle.cs index 65c0941..5507e13 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.BaseHandle.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.BaseHandle.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { @@ -21,6 +8,9 @@ namespace Tizen.NUI { internal static partial class BaseHandle { + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_BaseHandle__SWIG_1")] public static extern global::System.IntPtr NewBaseHandle(); diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.BaseObject.cs b/src/Tizen.NUI/src/internal/Interop/Interop.BaseObject.cs index d86a941..4680c51 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.BaseObject.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.BaseObject.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.BorderVisual.cs b/src/Tizen.NUI/src/internal/Interop/Interop.BorderVisual.cs index 22d25bb..cc1618a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.BorderVisual.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.BorderVisual.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Builder.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Builder.cs index 110064e..f4ad962 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Builder.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Builder.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Button.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Button.cs index 850438f..b78ab8b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Button.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Button.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ButtonSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ButtonSignal.cs index 7ce6e64..b0a0b81 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ButtonSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ButtonSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.CameraActor.cs b/src/Tizen.NUI/src/internal/Interop/Interop.CameraActor.cs index 080b9c1..39aefca 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.CameraActor.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.CameraActor.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Capture.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Capture.cs index a9cd2e7..a5de041 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Capture.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Capture.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - + namespace Tizen.NUI { using global::System; diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.CheckBoxButton.cs b/src/Tizen.NUI/src/internal/Interop/Interop.CheckBoxButton.cs index 4e8c6d5..08d2b26 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.CheckBoxButton.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.CheckBoxButton.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ClampState2D.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ClampState2D.cs index aa7b54a..ab3d36c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ClampState2D.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ClampState2D.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ColorVisual.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ColorVisual.cs index 887fc92..31a02e2 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ColorVisual.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ColorVisual.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ConnectionTracker.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ConnectionTracker.cs index dc84c39..171affe 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ConnectionTracker.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ConnectionTracker.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ContentReceivedSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ContentReceivedSignalType.cs index 19665b1..9e82c51 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ContentReceivedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ContentReceivedSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ControlKeySignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ControlKeySignal.cs index bf0c50d..535873c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ControlKeySignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ControlKeySignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.CustomActorImpl.cs b/src/Tizen.NUI/src/internal/Interop/Interop.CustomActorImpl.cs index 0118e57..c525f2c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.CustomActorImpl.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.CustomActorImpl.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.CustomAlgorithmInterface.cs b/src/Tizen.NUI/src/internal/Interop/Interop.CustomAlgorithmInterface.cs index 9319dd2..4afd419 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.CustomAlgorithmInterface.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.CustomAlgorithmInterface.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.DaliException.cs b/src/Tizen.NUI/src/internal/Interop/Interop.DaliException.cs index 7f48ace..aa52101 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.DaliException.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.DaliException.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Degree.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Degree.cs index ca9f9f2..ba1bc94 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Degree.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Degree.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.EventThreadCallback.cs b/src/Tizen.NUI/src/internal/Interop/Interop.EventThreadCallback.cs index e509198..3c95373 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.EventThreadCallback.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.EventThreadCallback.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Extents.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Extents.cs index 4425844..ddd0848 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Extents.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Extents.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FlexContainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FlexContainer.cs index ff59107..9b36ced 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FlexContainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FlexContainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FloatSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FloatSignal.cs index c62acd0..c4d7fcc 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FloatSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FloatSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FocusChangedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FocusChangedSignal.cs index 68529cf..95ca429 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FocusChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FocusChangedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FocusGroupChangedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FocusGroupChangedSignal.cs index f1916a7..0499477 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FocusGroupChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FocusGroupChangedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FocusManager.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FocusManager.cs index c912111..ca325a7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FocusManager.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FocusManager.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FontClient.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FontClient.cs index 2faddd3..6438efc 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FontClient.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FontClient.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FrameBuffer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FrameBuffer.cs index adf3f74..ddb40a6 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FrameBuffer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FrameBuffer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FrameUpdateCallbackInterface.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FrameUpdateCallbackInterface.cs index 334c1d6..48eb7bb 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.FrameUpdateCallbackInterface.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FrameUpdateCallbackInterface.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GLWindow.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GLWindow.cs index eec4fd9..fef5a56 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GLWindow.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GLWindow.cs @@ -1,21 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Runtime.InteropServices; +using System; +using System.Collections.Generic; +using System.Text; +using global::System.Runtime.InteropServices; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowFocusChangeSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowFocusChangeSignal.cs index 5013877..f005df6 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowFocusChangeSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowFocusChangeSignal.cs @@ -1,21 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Runtime.InteropServices; +using System; +using System.Collections.Generic; +using System.Text; +using global::System.Runtime.InteropServices; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowResizedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowResizedSignal.cs index 7915abb..111745b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowResizedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GLWindowResizedSignal.cs @@ -1,21 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Runtime.InteropServices; +using System; +using System.Collections.Generic; +using System.Text; +using global::System.Runtime.InteropServices; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurView.cs index 2ecc66a..650eec6 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurViewSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurViewSignal.cs index 942063f..279c408 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GaussianBlurViewSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Geometry.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Geometry.cs index 3cac506..2f5958d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Geometry.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Geometry.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Gesture.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Gesture.cs index ca1a2da..2d17ea2 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Gesture.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Gesture.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GestureDetector.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GestureDetector.cs index f82a0c6..d904647 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GestureDetector.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GestureDetector.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GlyphInfo.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GlyphInfo.cs index d0c0ab4..c368ee7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GlyphInfo.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GlyphInfo.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GradientVisual.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GradientVisual.cs index 5bddf63..d8f055d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GradientVisual.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GradientVisual.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.GraphicsCapabilities.cs b/src/Tizen.NUI/src/internal/Interop/Interop.GraphicsCapabilities.cs index 81973ed..f1c4da2 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.GraphicsCapabilities.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.GraphicsCapabilities.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Handle.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Handle.cs index a193d67..0460363 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Handle.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Handle.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.HandleInternal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.HandleInternal.cs index 6456bd3..9671f83 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.HandleInternal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.HandleInternal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Hover.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Hover.cs index 851d110..48fdb70 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Hover.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Hover.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ImageLoading.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ImageLoading.cs index ea1ef69..99a6ac7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ImageLoading.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ImageLoading.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ImageView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ImageView.cs index 7455fd4..e40c344 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ImageView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ImageView.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop @@ -89,45 +77,60 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_ImageView_IMAGE_VISUAL_ACTION_STOP_get")] public static extern int ImageVisualActionStopGet(); + + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.New(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_New__SWIG_0")] public static extern global::System.IntPtr ImageView_New__SWIG_0(); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.New(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_New__SWIG_2")] public static extern global::System.IntPtr ImageView_New__SWIG_2(string jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.New(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_New__SWIG_3")] public static extern global::System.IntPtr ImageView_New__SWIG_3(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.Upcast(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_SWIGUpcast")] public static extern global::System.IntPtr ImageView_SWIGUpcast(global::System.IntPtr jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.SetImage(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_SetImage__SWIG_1")] public static extern void ImageView_SetImage__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.SetImage(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_SetImage__SWIG_2")] public static extern void ImageView_SetImage__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.DeleteImageView(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_ImageView")] public static extern void delete_ImageView(global::System.Runtime.InteropServices.HandleRef jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.ImageGet(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_Property_IMAGE_get")] public static extern int ImageView_Property_IMAGE_get(); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.PreMultipliedAlphaGet(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_Property_PRE_MULTIPLIED_ALPHA_get")] public static extern int ImageView_Property_PRE_MULTIPLIED_ALPHA_get(); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.PixelAreaGet(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_ImageView_Property_PIXEL_AREA_get")] public static extern int ImageView_Property_PIXEL_AREA_get(); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.ImageVisualActionReloadGet(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_ImageView_IMAGE_VISUAL_ACTION_RELOAD_get")] public static extern int ImageView_IMAGE_VISUAL_ACTION_RELOAD_get(); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.ImageVisualActionPlayGet(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_ImageView_IMAGE_VISUAL_ACTION_PLAY_get")] public static extern int ImageView_IMAGE_VISUAL_ACTION_PLAY_get(); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.ImageVisualActionPauseGet(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_ImageView_IMAGE_VISUAL_ACTION_PAUSE_get")] public static extern int ImageView_IMAGE_VISUAL_ACTION_PAUSE_get(); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use ImageView.ImageVisualActionStopGet(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_ImageView_IMAGE_VISUAL_ACTION_STOP_get")] public static extern int ImageView_IMAGE_VISUAL_ACTION_STOP_get(); } diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ImageVisual.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ImageVisual.cs index 5aed7f1..031a3d0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ImageVisual.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ImageVisual.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodContext.cs b/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodContext.cs index 39f1591..f37bb3e 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodContext.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodContext.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodOptions.cs b/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodOptions.cs index d03580e..2996199 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodOptions.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.InputMethodOptions.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Item.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Item.cs index 649864e..7c0aa8c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Item.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Item.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ItemContainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ItemContainer.cs index c74b15d..1b8e1cb 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ItemContainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ItemContainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ItemFactory.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ItemFactory.cs index b4eee0e..3571384 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ItemFactory.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ItemFactory.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ItemIdContainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ItemIdContainer.cs index 8f63793..c333102 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ItemIdContainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ItemIdContainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ItemLayout.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ItemLayout.cs index 8700e64..2c277f0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ItemLayout.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ItemLayout.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ItemRange.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ItemRange.cs index 0a23147..985ebca 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ItemRange.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ItemRange.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ItemView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ItemView.cs index fff6727..73f257f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ItemView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ItemView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Key.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Key.cs index a09dcd3..d28abe4 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Key.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Key.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.KeyEventSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.KeyEventSignal.cs index c9f7ba6..0464f6f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.KeyEventSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.KeyEventSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.KeyFrames.cs b/src/Tizen.NUI/src/internal/Interop/Interop.KeyFrames.cs index 4047db6..ba4f844 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.KeyFrames.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.KeyFrames.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.KeyInputFocusManager.cs b/src/Tizen.NUI/src/internal/Interop/Interop.KeyInputFocusManager.cs index 008b069..e201d15 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.KeyInputFocusManager.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.KeyInputFocusManager.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardRepeatSettingsChangedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardRepeatSettingsChangedSignal.cs index 4d31a33..4e67aa0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardRepeatSettingsChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardRepeatSettingsChangedSignal.cs @@ -1,21 +1,5 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Runtime.InteropServices; +using global::System; +using global::System.Runtime.InteropServices; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardResizedSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardResizedSignalType.cs index 2dc551f..eb0f696 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardResizedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardResizedSignalType.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardTypeSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardTypeSignalType.cs index f666e98..ac68807 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardTypeSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.KeyboardTypeSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.LanguageChangedSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.LanguageChangedSignalType.cs index 48fd9f2..4e152f0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.LanguageChangedSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.LanguageChangedSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Layer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Layer.cs index 04544e3..63e527b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Layer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Layer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.LinearConstrainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.LinearConstrainer.cs index 1c74e5b..edecfab 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.LinearConstrainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.LinearConstrainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ListEventSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ListEventSignalType.cs index 2ead621..9fb5167 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ListEventSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ListEventSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGesture.cs b/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGesture.cs index 60a97b3..fd9d377 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGesture.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGesture.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetectedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetectedSignal.cs index b7273be..6c78a07 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetectedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetectedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetector.cs b/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetector.cs index 95730ef..ab1fc23 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetector.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.LongPressGestureDetector.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.LowBatterySignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.LowBatterySignal.cs index 4c72de2..551334b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.LowBatterySignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.LowBatterySignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.LowMemorySignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.LowMemorySignal.cs index 6834ddb..c4292de 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.LowMemorySignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.LowMemorySignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Matrix.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Matrix.cs index b905974..bdc9099 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Matrix.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Matrix.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Model3DView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Model3DView.cs index 38e4dc8..5beb31e 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Model3DView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Model3DView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalic.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalic.cs index 50ce996..7f6af46 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalic.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalic.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicAnchorPoint.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicAnchorPoint.cs index f9db748..a0cd36a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicAnchorPoint.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicAnchorPoint.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicColor.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicColor.cs index 0334655..2221ec8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicColor.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicColor.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMachine.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMachine.cs index 859a97d..c99c143 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMachine.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMachine.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMeshVisual.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMeshVisual.cs index 6f64e07..c252dec 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMeshVisual.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicMeshVisual.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicParentOrigin.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicParentOrigin.cs index 47e49fe..0d6c12d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicParentOrigin.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicParentOrigin.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicPrimitive.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicPrimitive.cs index ba088b5..6c4d2c6 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicPrimitive.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicPrimitive.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicText.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicText.cs index 28e5f3f..20b56ef 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicText.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicText.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicToolTip.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicToolTip.cs index 906b51f..69013d9 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicToolTip.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicToolTip.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicVisual.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicVisual.cs index 371d2ef..371a037 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicVisual.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicVisual.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicXYZ.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicXYZ.cs index e614df710..91efaa0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NDalicXYZ.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NDalicXYZ.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageInterface.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageInterface.cs index bdde50a..f3d2159 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageInterface.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageInterface.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageSource.cs b/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageSource.cs index 6e09f5f..d107bbf 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageSource.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.NativeImageSource.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System.Runtime.InteropServices; +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ObjectDestroyedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ObjectDestroyedSignal.cs index 7853a21..253d041 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ObjectDestroyedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ObjectDestroyedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ObjectRegistry.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ObjectRegistry.cs index b0e5340..c19854c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ObjectRegistry.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ObjectRegistry.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PaddingType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PaddingType.cs index 05a7ca1..b5599c0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PaddingType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PaddingType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PageFactory.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PageFactory.cs index cf73cba..916fc75 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PageFactory.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PageFactory.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PagePanSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PagePanSignal.cs index 3d8fc1f..6553ed2 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PagePanSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PagePanSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnLandscapeView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnLandscapeView.cs index 15195cc..d4d5d60 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnLandscapeView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnLandscapeView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnPortraitView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnPortraitView.cs index 5542b64..f4285b7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnPortraitView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnPortraitView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnSignal.cs index bbed4ef..90a6f84 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnView.cs index 49e73e8..9e2064d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PageTurnView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PanGestureDetector.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PanGestureDetector.cs index 6827af8..7e82d8b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PanGestureDetector.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PanGestureDetector.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Path.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Path.cs index b641e89..cc726f7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Path.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Path.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PathConstrainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PathConstrainer.cs index f64df96..a9ebc88 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PathConstrainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PathConstrainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PinchGesture.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PinchGesture.cs index 6905e94..0037152 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PinchGesture.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PinchGesture.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PixelBuffer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PixelBuffer.cs index 82b7bdd..87f3e3b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PixelBuffer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PixelBuffer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PixelData.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PixelData.cs index 8a50aee..dc1c166 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PixelData.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PixelData.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { @@ -49,7 +36,7 @@ namespace Tizen.NUI public static extern int GetPixelFormat(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_PixelData_GenerateUrl")] - public static extern string GenerateUrl(global::System.IntPtr handle); + public static extern string GenerateUrl(IntPtr handle); } } } diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Popup.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Popup.cs index 8efde29..4d78332 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Popup.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Popup.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PreFocusSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PreFocusSignal.cs index 19e7209..edc0262 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PreFocusSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PreFocusSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ProgressBar.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ProgressBar.cs index b0264a1..038c2cf 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ProgressBar.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ProgressBar.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Property.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Property.cs index 4b6d481..c9b5c8a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Property.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Property.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyBuffer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyBuffer.cs index 1ea67c8..58cb912 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyBuffer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyBuffer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyCondition.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyCondition.cs index 5dcba83..52e14b4 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyCondition.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyCondition.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyMap.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyMap.cs index 0bb3836..65b7877 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyMap.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyMap.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotification.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotification.cs index 99de261..5df3a41 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotification.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotification.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotifySignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotifySignal.cs index a5e8346..3992f9d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotifySignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyNotifySignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyValue.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyValue.cs index 1a5b855..4270e64 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PropertyValue.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PropertyValue.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.PushButton.cs b/src/Tizen.NUI/src/internal/Interop/Interop.PushButton.cs index 46b4df4..54307f3 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.PushButton.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.PushButton.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Radian.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Radian.cs index ab955ee..2a7ebf6 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Radian.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Radian.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.RadioButton.cs b/src/Tizen.NUI/src/internal/Interop/Interop.RadioButton.cs index d229d86..39f992e 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.RadioButton.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.RadioButton.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Rectangle.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Rectangle.cs index 49dd0c3..7de7372 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Rectangle.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Rectangle.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.RefObject.cs b/src/Tizen.NUI/src/internal/Interop/Interop.RefObject.cs index 7e2de61..f6e645e 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.RefObject.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.RefObject.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.RenderTask.cs b/src/Tizen.NUI/src/internal/Interop/Interop.RenderTask.cs index 93060db..b1e48bb 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.RenderTask.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.RenderTask.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Renderer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Renderer.cs index fd312e0..49fb3df 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Renderer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Renderer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ResizedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ResizedSignal.cs index d15c4c6..b0c0fb2 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ResizedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ResizedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Rotation.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Rotation.cs index 9938fb6..c7bacd3 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Rotation.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Rotation.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.RotationGesture.cs b/src/Tizen.NUI/src/internal/Interop/Interop.RotationGesture.cs index ec343ee..5d6b259 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.RotationGesture.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.RotationGesture.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Ruler.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Ruler.cs index 02c9882..ccaaf47 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Ruler.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Ruler.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Sampler.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Sampler.cs index 5ee6ff7..6b1f41c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Sampler.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Sampler.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollBar.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollBar.cs index c81809a..c5088fb 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollBar.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollBar.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollStateChangeSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollStateChangeSignal.cs index 768cb9d..fbe834f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollStateChangeSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollStateChangeSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollView.cs index e01577b..9569a40 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Scrollable.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Scrollable.cs index 9b3a7d9..d69d377 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Scrollable.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Scrollable.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollableSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollableSignal.cs index 30b595b..a67e785 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ScrollableSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ScrollableSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Shader.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Shader.cs index f91317f..ebb188c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Shader.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Shader.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.SingalObserver.cs b/src/Tizen.NUI/src/internal/Interop/Interop.SingalObserver.cs index b2d1d0e..c17035a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.SingalObserver.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.SingalObserver.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Slider.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Slider.cs index b63c389..c9bf75f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Slider.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Slider.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Stage.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Stage.cs index c16aaef..8515fc8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Stage.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Stage.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.StageSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.StageSignal.cs index b7cdbad..db12ca6 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.StageSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.StageSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.StateChangeSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.StateChangeSignalType.cs index 8f4ccf8..3153ce3 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.StateChangeSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.StateChangeSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.StatusSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.StatusSignalType.cs index ecaf907..b57cfc7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.StatusSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.StatusSignalType.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.StringValuePair.cs b/src/Tizen.NUI/src/internal/Interop/Interop.StringValuePair.cs index f45206b..a34da1b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.StringValuePair.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.StringValuePair.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.StyleChangedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.StyleChangedSignal.cs index 706c29c..df5affa 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.StyleChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.StyleChangedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.StyleManager.cs b/src/Tizen.NUI/src/internal/Interop/Interop.StyleManager.cs index 751c009..1781927 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.StyleManager.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.StyleManager.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TableView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TableView.cs index a621754..845fff9 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TableView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TableView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TapGesture.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TapGesture.cs index ddac5db..583b0cb 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TapGesture.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TapGesture.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetectedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetectedSignal.cs index 5512df1..76bc69f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetectedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetectedSignal.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetector.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetector.cs index 22b7510..b3b9988 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetector.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TapGestureDetector.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs index d7330ca..cc6b0c8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs index 1b7854d..f8545d0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs index fc10f77..115df2c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextUtils.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextUtils.cs index 003fe56..49f7070 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextUtils.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextUtils.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Texture.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Texture.cs index 6f0e276..76532eb 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Texture.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Texture.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { @@ -61,7 +48,7 @@ namespace Tizen.NUI public static extern uint GetHeight(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Texture_TbmSurface")] - public static extern global::System.IntPtr NewTbmSurface(System.IntPtr jarg1); + public static extern global::System.IntPtr NewTbmSurface(IntPtr jarg1); } } } diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextureSet.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextureSet.cs index df74327..3ddca18 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextureSet.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextureSet.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TimePeriod.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TimePeriod.cs index fe2ea65..859b7ab 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TimePeriod.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TimePeriod.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Timer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Timer.cs index 51da0e5..7abfa83 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Timer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Timer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ToggleButton.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ToggleButton.cs index e5d48ec..40a347e 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ToggleButton.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ToggleButton.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Touch.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Touch.cs index 0472201..472bb0a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Touch.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Touch.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TouchPoint.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TouchPoint.cs index db2dca6..b2ec071 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TouchPoint.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TouchPoint.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TouchPointContainer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TouchPointContainer.cs index 3a1be84..d3c52fc 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TouchPointContainer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TouchPointContainer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TouchSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TouchSignal.cs index 243582c..65ddda8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TouchSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TouchSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TransitionData.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TransitionData.cs index ba0b974..f55568a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TransitionData.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TransitionData.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TtsPlayer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TtsPlayer.cs index b8016a6..80ccf0c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TtsPlayer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TtsPlayer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TypeInfo.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TypeInfo.cs index 36dab34..b65ba2b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TypeInfo.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TypeInfo.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistration.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistration.cs index 907a427..c3c8510 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistration.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistration.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistry.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistry.cs index 4553945..57c4b6c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistry.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TypeRegistry.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Uint16Pair.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Uint16Pair.cs index daee15f..9bf766c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Uint16Pair.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Uint16Pair.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Vector2.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Vector2.cs index 9e54443..1ab768a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Vector2.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Vector2.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Vector3.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Vector3.cs index bebe4d8..26736dc 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Vector3.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Vector3.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Vector4.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Vector4.cs index ce0b475..91a818b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Vector4.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Vector4.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VectorBase.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VectorBase.cs index 3dfeaff..ac37c2b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VectorBase.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VectorBase.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VectorBlob.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VectorBlob.cs index 6df4e9a..0289ff7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VectorBlob.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VectorBlob.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VectorFloat.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VectorFloat.cs index 83d7e7c..835e2c8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VectorFloat.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VectorFloat.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VectorInteger.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VectorInteger.cs index b579993..be96699 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VectorInteger.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VectorInteger.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VectorUint16Pair.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VectorUint16Pair.cs index 2d0d7d2..a21bca5 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VectorUint16Pair.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VectorUint16Pair.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VectorUnsignedChar.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VectorUnsignedChar.cs index bb1f94e..8998d4c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VectorUnsignedChar.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VectorUnsignedChar.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VertexBuffer.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VertexBuffer.cs index 281c796..4c4cf44 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VertexBuffer.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VertexBuffer.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VideoView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VideoView.cs index c3b8267..6a2a73b 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VideoView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VideoView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.View.cs b/src/Tizen.NUI/src/internal/Interop/Interop.View.cs index ed58cf2..56a07a3 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.View.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.View.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { @@ -76,6 +63,7 @@ namespace Tizen.NUI public static extern global::System.IntPtr ResourceReadySignal(global::System.Runtime.InteropServices.HandleRef jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use View.GetVisualResourceStatus(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_GetVisualResourceStatus")] public static extern int View_GetVisualResourceStatus(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); } diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs index 7bbee31..724d12a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewImpl.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewImplSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewImplSignal.cs index 8215d72..4b32f25 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewImplSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewImplSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewInternal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewInternal.cs index cd3f553..dfb4dc7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewInternal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewInternal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewProperty.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewProperty.cs index fb48f1b..27a7aa9 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewProperty.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewProperty.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewResourceReadySignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewResourceReadySignal.cs index 3308228..9bc4890 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewResourceReadySignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewResourceReadySignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewSignal.cs index aefcf9e..06b2f5a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewVisibilityChangedSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewVisibilityChangedSignal.cs index 1f321a7..481b507 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewVisibilityChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewVisibilityChangedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapper.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapper.cs index 3bde6bc..7b74240 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapper.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapper.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapperImpl.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapperImpl.cs index 56bd8fc..2f26967 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapperImpl.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ViewWrapperImpl.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Visual.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Visual.cs index 89dcc19..807da1d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Visual.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Visual.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VisualBase.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VisualBase.cs index d9440f9..7fa5ce8 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VisualBase.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VisualBase.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VisualEventSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VisualEventSignal.cs index 1ee9250..465886a 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VisualEventSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VisualEventSignal.cs @@ -1,21 +1,5 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System; + +using global::System; using System.Runtime.InteropServices; namespace Tizen.NUI diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VisualFactory.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VisualFactory.cs index b7262ad..c872f02 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VisualFactory.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VisualFactory.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignal.cs index 2af7984..dd00864 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignalType.cs index 15d7e88..bcb14c5 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.VoidSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Watch.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Watch.cs index 8cbae8e..be08a4d 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Watch.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Watch.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WatchView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WatchView.cs index e92f134..f1ddc10 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WatchView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WatchView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebBackForwardList.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebBackForwardList.cs index 83aac7e..b52e380 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WebBackForwardList.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebBackForwardList.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebContext.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebContext.cs index 5741207..00724a9 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WebContext.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebContext.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebCookieManager.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebCookieManager.cs index d634f14..561ee1f 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WebCookieManager.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebCookieManager.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebSettings.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebSettings.cs index d797e56..1346440 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WebSettings.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebSettings.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs index 4531819..075db2c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WebView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Wheel.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Wheel.cs index f902a9a..a8b13b2 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Wheel.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Wheel.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Widget.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Widget.cs index d619b08..ab370da 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Widget.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Widget.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetApplication.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetApplication.cs index 95198b7..0a4bdfb 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetApplication.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetApplication.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetImpl.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetImpl.cs index a6c2cd6..6b18cb4 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetImpl.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetImpl.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetView.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetView.cs index ab588e2..f93c8f4 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetView.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetView.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { @@ -136,24 +123,32 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetView_SWIGUpcast")] public static extern global::System.IntPtr Upcast(global::System.IntPtr jarg1); + + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetView.PauseWidget(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetView_PauseWidget")] public static extern bool WidgetView_PauseWidget(global::System.Runtime.InteropServices.HandleRef jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetView.ResumeWidget(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetView_ResumeWidget")] public static extern bool WidgetView_ResumeWidget(global::System.Runtime.InteropServices.HandleRef jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetView.TerminateWidget(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetView_TerminateWidget")] public static extern bool WidgetView_TerminateWidget(global::System.Runtime.InteropServices.HandleRef jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetView.DeleteWidgetView(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WidgetView")] public static extern void delete_WidgetView(global::System.Runtime.InteropServices.HandleRef jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetView.Upcast(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetView_SWIGUpcast")] public static extern global::System.IntPtr WidgetView_SWIGUpcast(global::System.IntPtr jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetView.WidgetAddedSignal(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetView_WidgetAddedSignal")] public static extern global::System.IntPtr WidgetView_WidgetAddedSignal(global::System.Runtime.InteropServices.HandleRef jarg1); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetView.WidgetDeletedSignal(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetView_WidgetDeletedSignal")] public static extern global::System.IntPtr WidgetView_WidgetDeletedSignal(global::System.Runtime.InteropServices.HandleRef jarg1); } diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetViewManager.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetViewManager.cs index 8ce91ed..b841154 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WidgetViewManager.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WidgetViewManager.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { @@ -49,9 +36,12 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetViewManager_SWIGUpcast")] public static extern global::System.IntPtr Upcast(global::System.IntPtr jarg1); + + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetViewManager.New(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetViewManager_New")] public static extern global::System.IntPtr WidgetViewManager_New(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [Obsolete("Please do not use this! Deprecated in API9, will be removed in API11! Please use WidgetViewManager.AddWidget(...) instead!")] [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetViewManager_AddWidget")] public static extern global::System.IntPtr WidgetViewManager_AddWidget(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5, float jarg6); } diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs b/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs index f5caf91..59bc770 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.Window.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WindowEffectEventSignal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WindowEffectEventSignal.cs index 452d644..1aa13e0 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WindowEffectEventSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WindowEffectEventSignal.cs @@ -1,19 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WindowFocusSignalType.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WindowFocusSignalType.cs index d0079e1..abf5de7 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WindowFocusSignalType.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WindowFocusSignalType.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.WindowInternal.cs b/src/Tizen.NUI/src/internal/Interop/Interop.WindowInternal.cs index 414588c..ae13716 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.WindowInternal.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.WindowInternal.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - + namespace Tizen.NUI { using global::System; diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.doublep.cs b/src/Tizen.NUI/src/internal/Interop/Interop.doublep.cs index e2a3a8c..a8702d1 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.doublep.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.doublep.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.floatp.cs b/src/Tizen.NUI/src/internal/Interop/Interop.floatp.cs index 1b16e2b..5d6a092 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.floatp.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.floatp.cs @@ -1,19 +1,7 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; + namespace Tizen.NUI { internal static partial class Interop diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.intp.cs b/src/Tizen.NUI/src/internal/Interop/Interop.intp.cs index 2db382f..7de7a35 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.intp.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.intp.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.uintp.cs b/src/Tizen.NUI/src/internal/Interop/Interop.uintp.cs index 7a4bb92..2c44518 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.uintp.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.uintp.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.ushortp.cs b/src/Tizen.NUI/src/internal/Interop/Interop.ushortp.cs index a90f56d..b27727c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.ushortp.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.ushortp.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/InteropObjectCreatedSignal.cs b/src/Tizen.NUI/src/internal/Interop/InteropObjectCreatedSignal.cs index 1a9cf51..b6b7592 100755 --- a/src/Tizen.NUI/src/internal/Interop/InteropObjectCreatedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/InteropObjectCreatedSignal.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs b/src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs index c15ccc2..e21ba06 100755 --- a/src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs +++ b/src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ using System.ComponentModel; namespace Tizen.NUI { + class NDalicPINVOKE { public const string Lib = "libdali2-csharp-binder.so"; diff --git a/src/Tizen.NUI/src/internal/Interop/interop.GLWindowVisibilityChangedSignal.cs b/src/Tizen.NUI/src/internal/Interop/interop.GLWindowVisibilityChangedSignal.cs index f2aeba3..29a4672 100755 --- a/src/Tizen.NUI/src/internal/Interop/interop.GLWindowVisibilityChangedSignal.cs +++ b/src/Tizen.NUI/src/internal/Interop/interop.GLWindowVisibilityChangedSignal.cs @@ -1,21 +1,5 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Runtime.InteropServices; +using System; +using global::System.Runtime.InteropServices; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.FlexLayout.cs b/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.FlexLayout.cs index 5a50fa3..7d4252f 100755 --- a/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.FlexLayout.cs +++ b/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.FlexLayout.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.Layout.cs b/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.Layout.cs index 315dd2b..da47c79 100755 --- a/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.Layout.cs +++ b/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.Layout.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.LayoutController.cs b/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.LayoutController.cs index 886a3ef..c519d9e 100755 --- a/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.LayoutController.cs +++ b/src/Tizen.NUI/src/internal/Layouting/Interop/Interop.LayoutController.cs @@ -1,19 +1,6 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ +using System; +using System.Collections.Generic; +using System.Text; namespace Tizen.NUI { diff --git a/src/Tizen.NUI/src/internal/Layouting/LayoutController.cs b/src/Tizen.NUI/src/internal/Layouting/LayoutController.cs index ed80ca8..03a75bb 100755 --- a/src/Tizen.NUI/src/internal/Layouting/LayoutController.cs +++ b/src/Tizen.NUI/src/internal/Layouting/LayoutController.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,15 +35,15 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.StdCall)] internal delegate void Callback(int id); - event Callback instance; + event Callback _instance; - private Window window; + private Window _window; - Animation coreAnimation; + Animation _coreAnimation; - private List layoutTransitionDataQueue; + private List _layoutTransitionDataQueue; - private List itemRemovalQueue; + private List _itemRemovalQueue; /// /// Constructs a LayoutController which controls the measuring and layouting.
@@ -51,8 +51,8 @@ namespace Tizen.NUI ///
public LayoutController(Window window) : this(Interop.LayoutController.New(), true) { - this.window = window; - layoutTransitionDataQueue = new List(); + _window = window; + _layoutTransitionDataQueue = new List(); } internal LayoutController(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) @@ -93,7 +93,7 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public Animation GetCoreAnimation() { - return coreAnimation; + return _coreAnimation; } /// @@ -109,10 +109,10 @@ namespace Tizen.NUI /// internal void CreateProcessCallback() { - if (instance == null) + if (_instance == null) { - instance = new Callback(Process); - Interop.LayoutController.SetCallback(SwigCPtr, instance); + _instance = new Callback(Process); + Interop.LayoutController.SetCallback(SwigCPtr, _instance); } } @@ -122,7 +122,7 @@ namespace Tizen.NUI /// Transition data for a LayoutItem. internal void AddTransitionDataEntry(LayoutData transitionDataEntry) { - layoutTransitionDataQueue.Add(transitionDataEntry); + _layoutTransitionDataQueue.Add(transitionDataEntry); } /// @@ -131,11 +131,11 @@ namespace Tizen.NUI /// LayoutItem to remove. internal void AddToRemovalStack(LayoutItem itemToRemove) { - if (itemRemovalQueue == null) + if (_itemRemovalQueue == null) { - itemRemovalQueue = new List(); + _itemRemovalQueue = new List(); } - itemRemovalQueue.Add(itemToRemove); + _itemRemovalQueue.Add(itemToRemove); } /// @@ -201,7 +201,7 @@ namespace Tizen.NUI else { // Parent not a View so assume it's a Layer which is the size of the window. - rootSize = new Size2D(window.Size.Width, window.Size.Height); + rootSize = new Size2D(_window.Size.Width, _window.Size.Height); } // Determine measure specification for root. @@ -268,10 +268,10 @@ namespace Tizen.NUI private void Process(int id) { // First layer in the Window should be the default layer (index 0 ) - uint numberOfLayers = window.LayerCount; + uint numberOfLayers = _window.LayerCount; for (uint layerIndex = 0; layerIndex < numberOfLayers; layerIndex++) { - Layer layer = window.GetLayer(layerIndex); + Layer layer = _window.GetLayer(layerIndex); if (layer != null) { for (uint i = 0; i < layer.ChildCount; i++) @@ -317,17 +317,17 @@ namespace Tizen.NUI /// private void PlayAnimation() { - Debug.WriteLineIf(LayoutDebugController, "LayoutController Playing, Core Duration:" + coreAnimation.Duration); - coreAnimation.Play(); + Debug.WriteLineIf(LayoutDebugController, "LayoutController Playing, Core Duration:" + _coreAnimation.Duration); + _coreAnimation.Play(); } private void AnimationFinished(object sender, EventArgs e) { // Iterate list of LayoutItem that were set for removal. // Now the core animation has finished their Views can be removed. - if (itemRemovalQueue != null) + if (_itemRemovalQueue != null) { - foreach (LayoutItem item in itemRemovalQueue) + foreach (LayoutItem item in _itemRemovalQueue) { // Check incase the parent was already removed and the Owner was // removed already. @@ -343,7 +343,7 @@ namespace Tizen.NUI } } - itemRemovalQueue.Clear(); + _itemRemovalQueue.Clear(); // If LayoutItems added to stack whilst the core animation is playing // they would have been cleared here. // Could have another stack to be added to whilst the animation is running. @@ -352,7 +352,7 @@ namespace Tizen.NUI // occurs again. } Debug.WriteLineIf(LayoutDebugController, "LayoutController AnimationFinished"); - coreAnimation?.Clear(); + _coreAnimation?.Clear(); } /// @@ -365,19 +365,19 @@ namespace Tizen.NUI bool animationPending = false; Debug.WriteLineIf(LayoutDebugController, - "LayoutController SetupCoreAnimation for:" + layoutTransitionDataQueue.Count); + "LayoutController SetupCoreAnimation for:" + _layoutTransitionDataQueue.Count); - if (layoutTransitionDataQueue.Count > 0) // Something to animate + if (_layoutTransitionDataQueue.Count > 0) // Something to animate { - if (!coreAnimation) + if (!_coreAnimation) { - coreAnimation = new Animation(); + _coreAnimation = new Animation(); } - coreAnimation.EndAction = Animation.EndActions.StopFinal; - coreAnimation.Finished += AnimationFinished; + _coreAnimation.EndAction = Animation.EndActions.StopFinal; + _coreAnimation.Finished += AnimationFinished; // Iterate all items that have been queued for repositioning. - foreach (LayoutData layoutPositionData in layoutTransitionDataQueue) + foreach (LayoutData layoutPositionData in _layoutTransitionDataQueue) { AddAnimatorsToAnimation(layoutPositionData); } @@ -386,7 +386,7 @@ namespace Tizen.NUI // transitions have now been applied, clear stack, ready for new transitions on // next layout traversal. - layoutTransitionDataQueue.Clear(); + _layoutTransitionDataQueue.Clear(); } return animationPending; } @@ -396,7 +396,7 @@ namespace Tizen.NUI // A removed item does not have a valid target position within the layout so don't try to position. if (layoutPositionData.ConditionForAnimation != TransitionCondition.Remove) { - coreAnimation.AnimateTo(layoutPositionData.Item.Owner, "Position", + _coreAnimation.AnimateTo(layoutPositionData.Item.Owner, "Position", new Vector3(layoutPositionData.Left, layoutPositionData.Top, layoutPositionData.Item.Owner.Position.Z), @@ -426,7 +426,7 @@ namespace Tizen.NUI } else { - coreAnimation.AnimateTo(layoutPositionData.Item.Owner, "Size", + _coreAnimation.AnimateTo(layoutPositionData.Item.Owner, "Size", new Vector3(layoutPositionData.Right - layoutPositionData.Left, layoutPositionData.Bottom - layoutPositionData.Top, layoutPositionData.Item.Owner.Position.Z), @@ -452,7 +452,7 @@ namespace Tizen.NUI if (transition.AnimatableProperty != AnimatableProperties.Position && transition.AnimatableProperty != AnimatableProperties.Size) { - coreAnimation.AnimateTo(view, + _coreAnimation.AnimateTo(view, transition.AnimatableProperty.ToString(), transition.TargetValue, transition.Animator.Delay, diff --git a/src/Tizen.NUI/src/internal/NativeBinding/SWIGTYPE_p_bundle.cs b/src/Tizen.NUI/src/internal/NativeBinding/SWIGTYPE_p_bundle.cs index 1f5051a..9e73384 100755 --- a/src/Tizen.NUI/src/internal/NativeBinding/SWIGTYPE_p_bundle.cs +++ b/src/Tizen.NUI/src/internal/NativeBinding/SWIGTYPE_p_bundle.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,7 +24,9 @@ namespace Tizen.NUI /// This should be internal, please do not use. /// /// 4 - [Obsolete("Deprecated in API6, Will be removed in API9, Please do not use! IntPtr(native integer pointer) is supposed to be not used in Application!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please do not use!" + + "IntPtr(native integer pointer) is supposed to be not used in Application!")] [EditorBrowsable(EditorBrowsableState.Never)] public class SWIGTYPE_p_bundle { diff --git a/src/Tizen.NUI/src/internal/Utility/Builder.cs b/src/Tizen.NUI/src/internal/Utility/Builder.cs index 7407eb7..d5f01fa 100755 --- a/src/Tizen.NUI/src/internal/Utility/Builder.cs +++ b/src/Tizen.NUI/src/internal/Utility/Builder.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ namespace Tizen.NUI { internal class Builder : BaseHandle { + internal Builder(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } @@ -39,8 +40,8 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void QuitEventCallbackDelegate(); - private DaliEventHandler builderQuitEventHandler; - private QuitEventCallbackDelegate builderQuitEventCallbackDelegate; + private DaliEventHandler _builderQuitEventHandler; + private QuitEventCallbackDelegate _builderQuitEventCallbackDelegate; private VoidSignal quitSignal; public event DaliEventHandler Quit @@ -48,24 +49,24 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (builderQuitEventHandler == null) + if (_builderQuitEventHandler == null) { - builderQuitEventHandler += value; + _builderQuitEventHandler += value; - builderQuitEventCallbackDelegate = new QuitEventCallbackDelegate(OnQuit); + _builderQuitEventCallbackDelegate = new QuitEventCallbackDelegate(OnQuit); quitSignal = this.QuitSignal(); - quitSignal?.Connect(builderQuitEventCallbackDelegate); + quitSignal?.Connect(_builderQuitEventCallbackDelegate); } } remove { - if (builderQuitEventHandler != null) + if (_builderQuitEventHandler != null) { - quitSignal?.Disconnect(builderQuitEventCallbackDelegate); + quitSignal?.Disconnect(_builderQuitEventCallbackDelegate); } - builderQuitEventHandler -= value; + _builderQuitEventHandler -= value; } } @@ -74,10 +75,10 @@ namespace Tizen.NUI { QuitEventArgs e = new QuitEventArgs(); - if (builderQuitEventHandler != null) + if (_builderQuitEventHandler != null) { //here we send all data to user event handlers - builderQuitEventHandler(this, e); + _builderQuitEventHandler(this, e); } } diff --git a/src/Tizen.NUI/src/internal/Utility/ConnectionTrackerInterface.cs b/src/Tizen.NUI/src/internal/Utility/ConnectionTrackerInterface.cs index 675faf6..c9d78d9 100755 --- a/src/Tizen.NUI/src/internal/Utility/ConnectionTrackerInterface.cs +++ b/src/Tizen.NUI/src/internal/Utility/ConnectionTrackerInterface.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ namespace Tizen.NUI { internal class ConnectionTrackerInterface : SignalObserver { + internal ConnectionTrackerInterface(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Utility/GaussianBlurView.cs b/src/Tizen.NUI/src/internal/Utility/GaussianBlurView.cs index ae4d298..4698521 100755 --- a/src/Tizen.NUI/src/internal/Utility/GaussianBlurView.cs +++ b/src/Tizen.NUI/src/internal/Utility/GaussianBlurView.cs @@ -79,9 +79,9 @@ namespace Tizen.NUI //Release your own unmanaged resources here. //You should not access any managed member here except static instance. //because the execution order of Finalizes is non-deterministic. - if (finishedCallback != null) + if (_finishedCallback != null) { - FinishedSignal().Disconnect(finishedCallback); + FinishedSignal().Disconnect(_finishedCallback); } base.Dispose(type); @@ -89,8 +89,8 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void FinishedCallbackType(IntPtr application); - private DaliEventHandler finishedEventHandler; - private FinishedCallbackType finishedCallback; + private DaliEventHandler _finishedEventHandler; + private FinishedCallbackType _finishedCallback; /// /// If ActivateOnce has been called, then connect to this signal to be notified when the target actor has been rendered. @@ -102,21 +102,21 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (finishedEventHandler == null) + if (_finishedEventHandler == null) { - finishedCallback = new FinishedCallbackType(OnFinished); - FinishedSignal().Connect(finishedCallback); + _finishedCallback = new FinishedCallbackType(OnFinished); + FinishedSignal().Connect(_finishedCallback); } - finishedEventHandler += value; + _finishedEventHandler += value; } remove { - finishedEventHandler -= value; + _finishedEventHandler -= value; - if (finishedEventHandler == null && FinishedSignal().Empty() == false) + if (_finishedEventHandler == null && FinishedSignal().Empty() == false) { - FinishedSignal().Disconnect(finishedCallback); + FinishedSignal().Disconnect(_finishedCallback); } } } @@ -126,10 +126,10 @@ namespace Tizen.NUI { EventArgs e = new EventArgs(); - if (finishedEventHandler != null) + if (_finishedEventHandler != null) { //here we send all data to user event handlers - finishedEventHandler(this, e); + _finishedEventHandler(this, e); } } diff --git a/src/Tizen.NUI/src/internal/Utility/GaussianBlurViewSignal.cs b/src/Tizen.NUI/src/internal/Utility/GaussianBlurViewSignal.cs index beb9046..7b9a723 100755 --- a/src/Tizen.NUI/src/internal/Utility/GaussianBlurViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Utility/GaussianBlurViewSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class GaussianBlurViewSignal : Disposable { + internal GaussianBlurViewSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.GaussianBlurViewSignal.DeleteGaussianBlurViewSignal(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Utility/ItemFactory.cs b/src/Tizen.NUI/src/internal/Utility/ItemFactory.cs index b2a678a..70b9a8d 100755 --- a/src/Tizen.NUI/src/internal/Utility/ItemFactory.cs +++ b/src/Tizen.NUI/src/internal/Utility/ItemFactory.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ namespace Tizen.NUI [EditorBrowsable(EditorBrowsableState.Never)] public class ItemFactory : Disposable { + internal ItemFactory(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Utility/PageTurnView.cs b/src/Tizen.NUI/src/internal/Utility/PageTurnView.cs index 92fc3bf..719ce08 100755 --- a/src/Tizen.NUI/src/internal/Utility/PageTurnView.cs +++ b/src/Tizen.NUI/src/internal/Utility/PageTurnView.cs @@ -39,53 +39,53 @@ namespace Tizen.NUI public class PagePanStartedEventArgs : EventArgs { - private PageTurnView pageTurnView; + private PageTurnView _pageTurnView; public PageTurnView PageTurnView { get { - return pageTurnView; + return _pageTurnView; } set { - pageTurnView = value; + _pageTurnView = value; } } } public class PagePanFinishedEventArgs : EventArgs { - private PageTurnView pageTurnView; + private PageTurnView _pageTurnView; public PageTurnView PageTurnView { get { - return pageTurnView; + return _pageTurnView; } set { - pageTurnView = value; + _pageTurnView = value; } } } public class PageTurnStartedEventArgs : EventArgs { - private PageTurnView pageTurnView; - private uint pageIndex; - private bool isTurningForward; + private PageTurnView _pageTurnView; + private uint _pageIndex; + private bool _isTurningForward; public PageTurnView PageTurnView { get { - return pageTurnView; + return _pageTurnView; } set { - pageTurnView = value; + _pageTurnView = value; } } @@ -93,11 +93,11 @@ namespace Tizen.NUI { get { - return pageIndex; + return _pageIndex; } set { - pageIndex = value; + _pageIndex = value; } } @@ -105,11 +105,11 @@ namespace Tizen.NUI { get { - return isTurningForward; + return _isTurningForward; } set { - isTurningForward = value; + _isTurningForward = value; } } @@ -117,19 +117,19 @@ namespace Tizen.NUI public class PageTurnFinishedEventArgs : EventArgs { - private PageTurnView pageTurnView; - private uint pageIndex; - private bool isTurningForward; + private PageTurnView _pageTurnView; + private uint _pageIndex; + private bool _isTurningForward; public PageTurnView PageTurnView { get { - return pageTurnView; + return _pageTurnView; } set { - pageTurnView = value; + _pageTurnView = value; } } @@ -137,11 +137,11 @@ namespace Tizen.NUI { get { - return pageIndex; + return _pageIndex; } set { - pageIndex = value; + _pageIndex = value; } } @@ -149,11 +149,11 @@ namespace Tizen.NUI { get { - return isTurningForward; + return _isTurningForward; } set { - isTurningForward = value; + _isTurningForward = value; } } @@ -161,46 +161,46 @@ namespace Tizen.NUI [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void PagePanStartedCallbackDelegate(IntPtr page); - private DaliEventHandler pageTurnViewPagePanStartedEventHandler; - private PagePanStartedCallbackDelegate pageTurnViewPagePanStartedCallbackDelegate; + private DaliEventHandler _pageTurnViewPagePanStartedEventHandler; + private PagePanStartedCallbackDelegate _pageTurnViewPagePanStartedCallbackDelegate; [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void PagePanFinishedCallbackDelegate(IntPtr page); - private DaliEventHandler pageTurnViewPagePanFinishedEventHandler; - private PagePanFinishedCallbackDelegate pageTurnViewPagePanFinishedCallbackDelegate; + private DaliEventHandler _pageTurnViewPagePanFinishedEventHandler; + private PagePanFinishedCallbackDelegate _pageTurnViewPagePanFinishedCallbackDelegate; [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void PageTurnStartedCallbackDelegate(IntPtr page, uint pageIndex, bool isTurningForward); - private DaliEventHandler pageTurnViewPageTurnStartedEventHandler; - private PageTurnStartedCallbackDelegate pageTurnViewPageTurnStartedCallbackDelegate; + private DaliEventHandler _pageTurnViewPageTurnStartedEventHandler; + private PageTurnStartedCallbackDelegate _pageTurnViewPageTurnStartedCallbackDelegate; [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void PageTurnFinishedCallbackDelegate(IntPtr page, uint pageIndex, bool isTurningForward); - private DaliEventHandler pageTurnViewPageTurnFinishedEventHandler; - private PageTurnFinishedCallbackDelegate pageTurnViewPageTurnFinishedCallbackDelegate; + private DaliEventHandler _pageTurnViewPageTurnFinishedEventHandler; + private PageTurnFinishedCallbackDelegate _pageTurnViewPageTurnFinishedCallbackDelegate; public event DaliEventHandler PagePanStarted { add { // Restricted to only one listener - if (pageTurnViewPagePanStartedEventHandler == null) + if (_pageTurnViewPagePanStartedEventHandler == null) { - pageTurnViewPagePanStartedEventHandler += value; + _pageTurnViewPagePanStartedEventHandler += value; - pageTurnViewPagePanStartedCallbackDelegate = new PagePanStartedCallbackDelegate(OnPagePanStarted); - this.PagePanStartedSignal().Connect(pageTurnViewPagePanStartedCallbackDelegate); + _pageTurnViewPagePanStartedCallbackDelegate = new PagePanStartedCallbackDelegate(OnPagePanStarted); + this.PagePanStartedSignal().Connect(_pageTurnViewPagePanStartedCallbackDelegate); } } remove { - if (pageTurnViewPagePanStartedEventHandler != null) + if (_pageTurnViewPagePanStartedEventHandler != null) { - this.PagePanStartedSignal().Disconnect(pageTurnViewPagePanStartedCallbackDelegate); + this.PagePanStartedSignal().Disconnect(_pageTurnViewPagePanStartedCallbackDelegate); } - pageTurnViewPagePanStartedEventHandler -= value; + _pageTurnViewPagePanStartedEventHandler -= value; } } @@ -212,10 +212,10 @@ namespace Tizen.NUI // Populate all members of "e" (PagePanStartedEventArgs) with real page e.PageTurnView = PageTurnView.GetPageTurnViewFromPtr(page); - if (pageTurnViewPagePanStartedEventHandler != null) + if (_pageTurnViewPagePanStartedEventHandler != null) { //here we send all page to user event handlers - pageTurnViewPagePanStartedEventHandler(this, e); + _pageTurnViewPagePanStartedEventHandler(this, e); } } @@ -224,23 +224,23 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (pageTurnViewPagePanFinishedEventHandler == null) + if (_pageTurnViewPagePanFinishedEventHandler == null) { - pageTurnViewPagePanFinishedEventHandler += value; + _pageTurnViewPagePanFinishedEventHandler += value; - pageTurnViewPagePanFinishedCallbackDelegate = new PagePanFinishedCallbackDelegate(OnPagePanFinished); - this.PagePanFinishedSignal().Connect(pageTurnViewPagePanFinishedCallbackDelegate); + _pageTurnViewPagePanFinishedCallbackDelegate = new PagePanFinishedCallbackDelegate(OnPagePanFinished); + this.PagePanFinishedSignal().Connect(_pageTurnViewPagePanFinishedCallbackDelegate); } } remove { - if (pageTurnViewPagePanFinishedEventHandler != null) + if (_pageTurnViewPagePanFinishedEventHandler != null) { - this.PagePanFinishedSignal().Disconnect(pageTurnViewPagePanFinishedCallbackDelegate); + this.PagePanFinishedSignal().Disconnect(_pageTurnViewPagePanFinishedCallbackDelegate); } - pageTurnViewPagePanFinishedEventHandler -= value; + _pageTurnViewPagePanFinishedEventHandler -= value; } } @@ -252,10 +252,10 @@ namespace Tizen.NUI // Populate all members of "e" (PagePanFinishedEventArgs) with real page e.PageTurnView = PageTurnView.GetPageTurnViewFromPtr(page); - if (pageTurnViewPagePanFinishedEventHandler != null) + if (_pageTurnViewPagePanFinishedEventHandler != null) { //here we send all page to user event handlers - pageTurnViewPagePanFinishedEventHandler(this, e); + _pageTurnViewPagePanFinishedEventHandler(this, e); } } @@ -265,23 +265,23 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (pageTurnViewPageTurnStartedEventHandler == null) + if (_pageTurnViewPageTurnStartedEventHandler == null) { - pageTurnViewPageTurnStartedEventHandler += value; + _pageTurnViewPageTurnStartedEventHandler += value; - pageTurnViewPageTurnStartedCallbackDelegate = new PageTurnStartedCallbackDelegate(OnPageTurnStarted); - this.PageTurnStartedSignal().Connect(pageTurnViewPageTurnStartedCallbackDelegate); + _pageTurnViewPageTurnStartedCallbackDelegate = new PageTurnStartedCallbackDelegate(OnPageTurnStarted); + this.PageTurnStartedSignal().Connect(_pageTurnViewPageTurnStartedCallbackDelegate); } } remove { - if (pageTurnViewPageTurnStartedEventHandler != null) + if (_pageTurnViewPageTurnStartedEventHandler != null) { - this.PageTurnStartedSignal().Disconnect(pageTurnViewPageTurnStartedCallbackDelegate); + this.PageTurnStartedSignal().Disconnect(_pageTurnViewPageTurnStartedCallbackDelegate); } - pageTurnViewPageTurnStartedEventHandler -= value; + _pageTurnViewPageTurnStartedEventHandler -= value; } } @@ -296,10 +296,10 @@ namespace Tizen.NUI e.IsTurningForward = isTurningForward; - if (pageTurnViewPageTurnStartedEventHandler != null) + if (_pageTurnViewPageTurnStartedEventHandler != null) { //here we send all page to user event handlers - pageTurnViewPageTurnStartedEventHandler(this, e); + _pageTurnViewPageTurnStartedEventHandler(this, e); } } @@ -309,23 +309,23 @@ namespace Tizen.NUI add { // Restricted to only one listener - if (pageTurnViewPageTurnFinishedEventHandler == null) + if (_pageTurnViewPageTurnFinishedEventHandler == null) { - pageTurnViewPageTurnFinishedEventHandler += value; + _pageTurnViewPageTurnFinishedEventHandler += value; - pageTurnViewPageTurnFinishedCallbackDelegate = new PageTurnFinishedCallbackDelegate(OnPageTurnFinished); - this.PageTurnFinishedSignal().Connect(pageTurnViewPageTurnFinishedCallbackDelegate); + _pageTurnViewPageTurnFinishedCallbackDelegate = new PageTurnFinishedCallbackDelegate(OnPageTurnFinished); + this.PageTurnFinishedSignal().Connect(_pageTurnViewPageTurnFinishedCallbackDelegate); } } remove { - if (pageTurnViewPageTurnFinishedEventHandler != null) + if (_pageTurnViewPageTurnFinishedEventHandler != null) { - this.PageTurnFinishedSignal().Disconnect(pageTurnViewPageTurnFinishedCallbackDelegate); + this.PageTurnFinishedSignal().Disconnect(_pageTurnViewPageTurnFinishedCallbackDelegate); } - pageTurnViewPageTurnFinishedEventHandler -= value; + _pageTurnViewPageTurnFinishedEventHandler -= value; } } @@ -340,10 +340,10 @@ namespace Tizen.NUI e.IsTurningForward = isTurningForward; - if (pageTurnViewPageTurnFinishedEventHandler != null) + if (_pageTurnViewPageTurnFinishedEventHandler != null) { //here we send all page to user event handlers - pageTurnViewPageTurnFinishedEventHandler(this, e); + _pageTurnViewPageTurnFinishedEventHandler(this, e); } } diff --git a/src/Tizen.NUI/src/internal/Widget/WidgetApplication.cs b/src/Tizen.NUI/src/internal/Widget/WidgetApplication.cs index f080fe5..bddeaa6 100755 --- a/src/Tizen.NUI/src/internal/Widget/WidgetApplication.cs +++ b/src/Tizen.NUI/src/internal/Widget/WidgetApplication.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ namespace Tizen.NUI { internal class WidgetApplication : Application { - private Dictionary widgetInfo; - private List widgetList = new List(); + private Dictionary _widgetInfo; + private List _widgetList = new List(); private delegate System.IntPtr CreateWidgetFunctionDelegate(ref string widgetName); - private List createWidgetFunctionDelegateList = new List(); + private List _createWidgetFunctionDelegateList = new List(); internal WidgetApplication(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { @@ -44,7 +44,7 @@ namespace Tizen.NUI { WidgetApplication ret = New(args, stylesheet); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - instance = ret; + _instance = ret; return ret; } @@ -76,7 +76,7 @@ namespace Tizen.NUI public void RegisterWidgetCreatingFunction() { - foreach (KeyValuePair widgetInfo in widgetInfo) + foreach (KeyValuePair widgetInfo in _widgetInfo) { string widgetName = widgetInfo.Value; RegisterWidgetCreatingFunction(ref widgetName); @@ -88,7 +88,7 @@ namespace Tizen.NUI CreateWidgetFunctionDelegate newDelegate = new CreateWidgetFunctionDelegate(WidgetCreateFunction); // Keep this delegate until WidgetApplication is terminated - createWidgetFunctionDelegateList.Add(newDelegate); + _createWidgetFunctionDelegateList.Add(newDelegate); System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(newDelegate); CreateWidgetFunction createWidgetFunction = new CreateWidgetFunction(ip); @@ -99,21 +99,21 @@ namespace Tizen.NUI public void AddWidgetInstance(Widget widget) { - widgetList.Add(widget); + _widgetList.Add(widget); } public void RegisterWidgetInfo(Dictionary widgetInfo) { - this.widgetInfo = widgetInfo; + _widgetInfo = widgetInfo; } public void AddWidgetInfo(Dictionary newWidgetInfo) { foreach (KeyValuePair widgetInfo in newWidgetInfo) { - if (this.widgetInfo.ContainsKey(widgetInfo.Key) == false) + if (_widgetInfo.ContainsKey(widgetInfo.Key) == false) { - this.widgetInfo.Add(widgetInfo.Key, widgetInfo.Value); + _widgetInfo.Add(widgetInfo.Key, widgetInfo.Value); string widgetName = widgetInfo.Value; RegisterWidgetCreatingFunction(ref widgetName); } @@ -148,7 +148,7 @@ namespace Tizen.NUI { get { - return widgetInfo; + return _widgetInfo; } } } diff --git a/src/Tizen.NUI/src/internal/Widget/WidgetImpl.cs b/src/Tizen.NUI/src/internal/Widget/WidgetImpl.cs index b42f731..8476cad 100755 --- a/src/Tizen.NUI/src/internal/Widget/WidgetImpl.cs +++ b/src/Tizen.NUI/src/internal/Widget/WidgetImpl.cs @@ -15,6 +15,8 @@ * */ using System; +using System.ComponentModel; +using System.Runtime.InteropServices; namespace Tizen.NUI { @@ -42,18 +44,18 @@ namespace Tizen.NUI public class WIdgetInstanceOnCreateArgs : EventArgs { - private string contentInfo; - private Window window; + private string _contentInfo; + private Window _window; public string ContentInfo { get { - return contentInfo; + return _contentInfo; } set { - contentInfo = value; + _contentInfo = value; } } @@ -61,42 +63,42 @@ namespace Tizen.NUI { get { - return window; + return _window; } set { - window = value; + _window = value; } } } - private EventHandler widgetInstanceOnCreateEventHandler; + private EventHandler _widgetInstanceOnCreateEventHandler; public event EventHandler WidgetInstanceCreated { add { - widgetInstanceOnCreateEventHandler += value; + _widgetInstanceOnCreateEventHandler += value; } remove { - widgetInstanceOnCreateEventHandler -= value; + _widgetInstanceOnCreateEventHandler -= value; } } public class WIdgetInstanceOnDestroyArgs : EventArgs { - private string contentInfo; - private Widget.TerminationType terminateType; + private string _contentInfo; + private Widget.TerminationType _terminateType; public string ContentInfo { get { - return contentInfo; + return _contentInfo; } set { - contentInfo = value; + _contentInfo = value; } } @@ -104,98 +106,98 @@ namespace Tizen.NUI { get { - return terminateType; + return _terminateType; } set { - terminateType = value; + _terminateType = value; } } } - private EventHandler widgetInstanceOnDestroyEventHandler; + private EventHandler _widgetInstanceOnDestroyEventHandler; public event EventHandler WidgetInstanceDestroyed { add { - widgetInstanceOnDestroyEventHandler += value; + _widgetInstanceOnDestroyEventHandler += value; } remove { - widgetInstanceOnDestroyEventHandler -= value; + _widgetInstanceOnDestroyEventHandler -= value; } } public class WidgetInstanceOnResizeArgs : EventArgs { - private Window window; + private Window _window; public Window Window { get { - return window; + return _window; } set { - window = value; + _window = value; } } } - private EventHandler widgetInstanceOnResizeEventHandler; + private EventHandler _widgetInstanceOnResizeEventHandler; public event EventHandler WidgetInstanceResized { add { - widgetInstanceOnResizeEventHandler += value; + _widgetInstanceOnResizeEventHandler += value; } remove { - widgetInstanceOnResizeEventHandler -= value; + _widgetInstanceOnResizeEventHandler -= value; } } - private EventHandler widgetInstanceOnPauseEventHandler; + private EventHandler _widgetInstanceOnPauseEventHandler; public event EventHandler WidgetInstancePaused { add { - widgetInstanceOnPauseEventHandler += value; + _widgetInstanceOnPauseEventHandler += value; } remove { - widgetInstanceOnPauseEventHandler -= value; + _widgetInstanceOnPauseEventHandler -= value; } } - private EventHandler widgetInstanceOnResumeEventHandler; + private EventHandler _widgetInstanceOnResumeEventHandler; public event EventHandler WidgetInstanceResumed { add { - widgetInstanceOnResumeEventHandler += value; + _widgetInstanceOnResumeEventHandler += value; } remove { - widgetInstanceOnResumeEventHandler -= value; + _widgetInstanceOnResumeEventHandler -= value; } } public class WidgetInstanceOnUpdateArgs : EventArgs { - private string contentInfo; - private int force; + private string _contentInfo; + private int _force; public string ContentInfo { get { - return contentInfo; + return _contentInfo; } set { - contentInfo = value; + _contentInfo = value; } } @@ -203,25 +205,25 @@ namespace Tizen.NUI { get { - return force; + return _force; } set { - force = value; + _force = value; } } } - private EventHandler widgetInstanceOnUpdateEventHandler; + private EventHandler _widgetInstanceOnUpdateEventHandler; public event EventHandler WidgetInstanceUpdated { add { - widgetInstanceOnUpdateEventHandler += value; + _widgetInstanceOnUpdateEventHandler += value; } remove { - widgetInstanceOnUpdateEventHandler -= value; + _widgetInstanceOnUpdateEventHandler -= value; } } @@ -230,7 +232,7 @@ namespace Tizen.NUI WIdgetInstanceOnCreateArgs args = new WIdgetInstanceOnCreateArgs(); args.ContentInfo = contentInfo; args.Window = window; - widgetInstanceOnCreateEventHandler?.Invoke(this, args); + _widgetInstanceOnCreateEventHandler?.Invoke(this, args); } public virtual void OnTerminate(string contentInfo, Widget.TerminationType type) @@ -238,24 +240,24 @@ namespace Tizen.NUI WIdgetInstanceOnDestroyArgs args = new WIdgetInstanceOnDestroyArgs(); args.ContentInfo = contentInfo; args.TerminateType = type; - widgetInstanceOnDestroyEventHandler?.Invoke(this, args); + _widgetInstanceOnDestroyEventHandler?.Invoke(this, args); } public virtual void OnPause() { - widgetInstanceOnPauseEventHandler?.Invoke(this, new EventArgs()); + _widgetInstanceOnPauseEventHandler?.Invoke(this, new EventArgs()); } public virtual void OnResume() { - widgetInstanceOnResumeEventHandler?.Invoke(this, new EventArgs()); + _widgetInstanceOnResumeEventHandler?.Invoke(this, new EventArgs()); } public virtual void OnResize(Window window) { WidgetInstanceOnResizeArgs args = new WidgetInstanceOnResizeArgs(); args.Window = window; - widgetInstanceOnResizeEventHandler?.Invoke(this, args); + _widgetInstanceOnResizeEventHandler?.Invoke(this, args); } public virtual void OnUpdate(string contentInfo, int force) @@ -263,7 +265,7 @@ namespace Tizen.NUI WidgetInstanceOnUpdateArgs args = new WidgetInstanceOnUpdateArgs(); args.ContentInfo = contentInfo; args.Force = force; - widgetInstanceOnUpdateEventHandler?.Invoke(this, args); + _widgetInstanceOnUpdateEventHandler?.Invoke(this, args); } internal virtual void SignalConnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback) diff --git a/src/Tizen.NUI/src/internal/Widget/WidgetViewSignal.cs b/src/Tizen.NUI/src/internal/Widget/WidgetViewSignal.cs index 9b9eee7..d88b85f 100755 --- a/src/Tizen.NUI/src/internal/Widget/WidgetViewSignal.cs +++ b/src/Tizen.NUI/src/internal/Widget/WidgetViewSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,7 +24,8 @@ namespace Tizen.NUI /// WidgetViewSignal /// /// 3 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public class WidgetViewSignal : Disposable { @@ -46,7 +47,8 @@ namespace Tizen.NUI /// /// True if there are any slots connected to the signal /// 3 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public bool Empty() { @@ -60,7 +62,8 @@ namespace Tizen.NUI ///
/// The number of slots connected to this signal /// 3 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public uint GetConnectionCount() { @@ -74,7 +77,8 @@ namespace Tizen.NUI ///
/// The function to connect /// 3 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public void Connect(System.Delegate func) { @@ -90,7 +94,8 @@ namespace Tizen.NUI ///
/// The function to disconnect /// 3 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public void Disconnect(System.Delegate func) { @@ -106,7 +111,8 @@ namespace Tizen.NUI ///
/// The member function to connect /// 3 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public void Emit(WidgetView arg) { @@ -118,7 +124,8 @@ namespace Tizen.NUI /// The contructor. ///
/// 3 - [Obsolete("Deprecated in API6, Will be removed in API9, Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] + [Obsolete("Deprecated in API6, Will be removed in API9, " + + "Please use WidgetView.WidgetAdded, WidgetDeleted events instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public WidgetViewSignal() : this(Interop.WidgetView.NewWidgetViewSignal(), true) { diff --git a/src/Tizen.NUI/src/internal/Window/WindowEffectSignal.cs b/src/Tizen.NUI/src/internal/Window/WindowEffectSignal.cs index 5a49440..14c6f3a 100755 --- a/src/Tizen.NUI/src/internal/Window/WindowEffectSignal.cs +++ b/src/Tizen.NUI/src/internal/Window/WindowEffectSignal.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ namespace Tizen.NUI { internal class WindowTransitionEffectSignal : Disposable { + internal WindowTransitionEffectSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } diff --git a/src/Tizen.NUI/src/internal/Window/WindowFocusSignalType.cs b/src/Tizen.NUI/src/internal/Window/WindowFocusSignalType.cs index af26c7e..c421cb3 100755 --- a/src/Tizen.NUI/src/internal/Window/WindowFocusSignalType.cs +++ b/src/Tizen.NUI/src/internal/Window/WindowFocusSignalType.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,12 @@ namespace Tizen.NUI { internal class WindowFocusSignalType : Disposable { + internal WindowFocusSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { } + protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr) { Interop.WindowFocusSignalType.DeleteWindowFocusSignalType(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Window/WindowVisibilityChangedEvent.cs b/src/Tizen.NUI/src/internal/Window/WindowVisibilityChangedEvent.cs index 3e30a76..4ce9e6d 100755 --- a/src/Tizen.NUI/src/internal/Window/WindowVisibilityChangedEvent.cs +++ b/src/Tizen.NUI/src/internal/Window/WindowVisibilityChangedEvent.cs @@ -1,5 +1,5 @@ /* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. + * Copyright(c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/Tizen.NUI/src/internal/Xaml/ApplyPropertiesVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/ApplyPropertiesVisitor.cs index 2d4bc90..4081993 100755 --- a/src/Tizen.NUI/src/internal/Xaml/ApplyPropertiesVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/ApplyPropertiesVisitor.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/src/Tizen.NUI/src/internal/Xaml/CreateValuesVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/CreateValuesVisitor.cs index 772ed8b..c85c2e5 100755 --- a/src/Tizen.NUI/src/internal/Xaml/CreateValuesVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/CreateValuesVisitor.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; using System.Globalization; diff --git a/src/Tizen.NUI/src/internal/Xaml/DesignMode.cs b/src/Tizen.NUI/src/internal/Xaml/DesignMode.cs index b028d7c..fee3ac3 100755 --- a/src/Tizen.NUI/src/internal/Xaml/DesignMode.cs +++ b/src/Tizen.NUI/src/internal/Xaml/DesignMode.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -namespace Tizen.NUI.Xaml +namespace Tizen.NUI.Xaml { internal static class DesignMode { diff --git a/src/Tizen.NUI/src/internal/Xaml/ExpandMarkupsVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/ExpandMarkupsVisitor.cs index d08cf08..0761f92 100755 --- a/src/Tizen.NUI/src/internal/Xaml/ExpandMarkupsVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/ExpandMarkupsVisitor.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; using System.Xml; diff --git a/src/Tizen.NUI/src/internal/Xaml/FillResourceDictionariesVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/FillResourceDictionariesVisitor.cs index 2b8abe8..0edf79a 100755 --- a/src/Tizen.NUI/src/internal/Xaml/FillResourceDictionariesVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/FillResourceDictionariesVisitor.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/src/Tizen.NUI/src/internal/Xaml/HydrationContext.cs b/src/Tizen.NUI/src/internal/Xaml/HydrationContext.cs index bce9bf7..0285f07 100755 --- a/src/Tizen.NUI/src/internal/Xaml/HydrationContext.cs +++ b/src/Tizen.NUI/src/internal/Xaml/HydrationContext.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; diff --git a/src/Tizen.NUI/src/internal/Xaml/IConverterOptions.cs b/src/Tizen.NUI/src/internal/Xaml/IConverterOptions.cs index 9f617b2..431a872 100755 --- a/src/Tizen.NUI/src/internal/Xaml/IConverterOptions.cs +++ b/src/Tizen.NUI/src/internal/Xaml/IConverterOptions.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -namespace Tizen.NUI.Xaml +namespace Tizen.NUI.Xaml { internal interface IConverterOptions { diff --git a/src/Tizen.NUI/src/internal/Xaml/IDictionaryExtensions.cs b/src/Tizen.NUI/src/internal/Xaml/IDictionaryExtensions.cs index 3156347..9aced85 100755 --- a/src/Tizen.NUI/src/internal/Xaml/IDictionaryExtensions.cs +++ b/src/Tizen.NUI/src/internal/Xaml/IDictionaryExtensions.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Collections.Generic; +using System.Collections.Generic; namespace Tizen.NUI.Xaml { diff --git a/src/Tizen.NUI/src/internal/Xaml/IExpressionParser.cs b/src/Tizen.NUI/src/internal/Xaml/IExpressionParser.cs index 40e34c8..2d901bf 100755 --- a/src/Tizen.NUI/src/internal/Xaml/IExpressionParser.cs +++ b/src/Tizen.NUI/src/internal/Xaml/IExpressionParser.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; namespace Tizen.NUI.Xaml diff --git a/src/Tizen.NUI/src/internal/Xaml/IProvideParentValues.cs b/src/Tizen.NUI/src/internal/Xaml/IProvideParentValues.cs index f4d7cf1..47e6196 100755 --- a/src/Tizen.NUI/src/internal/Xaml/IProvideParentValues.cs +++ b/src/Tizen.NUI/src/internal/Xaml/IProvideParentValues.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System.Collections.Generic; namespace Tizen.NUI.Xaml diff --git a/src/Tizen.NUI/src/internal/Xaml/IResourcesLoader.cs b/src/Tizen.NUI/src/internal/Xaml/IResourcesLoader.cs index 8ea6349..4e070f7 100755 --- a/src/Tizen.NUI/src/internal/Xaml/IResourcesLoader.cs +++ b/src/Tizen.NUI/src/internal/Xaml/IResourcesLoader.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System; +using System; using System.Reflection; using System.Xml; using System.IO; diff --git a/src/Tizen.NUI/src/internal/Xaml/IValueConverterProvider.cs b/src/Tizen.NUI/src/internal/Xaml/IValueConverterProvider.cs index ab6e039..e2fbee0 100755 --- a/src/Tizen.NUI/src/internal/Xaml/IValueConverterProvider.cs +++ b/src/Tizen.NUI/src/internal/Xaml/IValueConverterProvider.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Reflection; diff --git a/src/Tizen.NUI/src/internal/Xaml/MarkupExpressionParser.cs b/src/Tizen.NUI/src/internal/Xaml/MarkupExpressionParser.cs index 553f3f8..060dc0e 100755 --- a/src/Tizen.NUI/src/internal/Xaml/MarkupExpressionParser.cs +++ b/src/Tizen.NUI/src/internal/Xaml/MarkupExpressionParser.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - // // MarkupExpressionParser.cs // diff --git a/src/Tizen.NUI/src/internal/Xaml/MarkupExtensionParser.cs b/src/Tizen.NUI/src/internal/Xaml/MarkupExtensionParser.cs index f817d20..0b523b6 100755 --- a/src/Tizen.NUI/src/internal/Xaml/MarkupExtensionParser.cs +++ b/src/Tizen.NUI/src/internal/Xaml/MarkupExtensionParser.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Reflection; using Tizen.NUI.Binding; diff --git a/src/Tizen.NUI/src/internal/Xaml/NamescopingVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/NamescopingVisitor.cs index dc57346..efeccad 100755 --- a/src/Tizen.NUI/src/internal/Xaml/NamescopingVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/NamescopingVisitor.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System.Collections.Generic; using Tizen.NUI.Binding.Internals; diff --git a/src/Tizen.NUI/src/internal/Xaml/PruneIgnoredNodesVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/PruneIgnoredNodesVisitor.cs index 7486b35..436281a 100755 --- a/src/Tizen.NUI/src/internal/Xaml/PruneIgnoredNodesVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/PruneIgnoredNodesVisitor.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace Tizen.NUI.Xaml diff --git a/src/Tizen.NUI/src/internal/Xaml/ReflectionExtensions.cs b/src/Tizen.NUI/src/internal/Xaml/ReflectionExtensions.cs index 9177168..baef31d 100755 --- a/src/Tizen.NUI/src/internal/Xaml/ReflectionExtensions.cs +++ b/src/Tizen.NUI/src/internal/Xaml/ReflectionExtensions.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; diff --git a/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs index ca9ec13..0388856 100755 --- a/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/RegisterXNamesVisitor.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Collections.Generic; using Tizen.NUI.Binding; diff --git a/src/Tizen.NUI/src/internal/Xaml/ResourcesLoader.cs b/src/Tizen.NUI/src/internal/Xaml/ResourcesLoader.cs index 14cd470..ad16a86 100755 --- a/src/Tizen.NUI/src/internal/Xaml/ResourcesLoader.cs +++ b/src/Tizen.NUI/src/internal/Xaml/ResourcesLoader.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.IO; using System.Reflection; using Tizen.NUI; diff --git a/src/Tizen.NUI/src/internal/Xaml/RuntimeNamePropertyAttribute.cs b/src/Tizen.NUI/src/internal/Xaml/RuntimeNamePropertyAttribute.cs index 5b93899..3f6a33d 100755 --- a/src/Tizen.NUI/src/internal/Xaml/RuntimeNamePropertyAttribute.cs +++ b/src/Tizen.NUI/src/internal/Xaml/RuntimeNamePropertyAttribute.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; namespace Tizen.NUI.Xaml { diff --git a/src/Tizen.NUI/src/internal/Xaml/TypeArgumentsParser.cs b/src/Tizen.NUI/src/internal/Xaml/TypeArgumentsParser.cs index 295bd3d..c514fb7 100755 --- a/src/Tizen.NUI/src/internal/Xaml/TypeArgumentsParser.cs +++ b/src/Tizen.NUI/src/internal/Xaml/TypeArgumentsParser.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.Collections.Generic; using System.Xml; diff --git a/src/Tizen.NUI/src/internal/Xaml/TypeConversionExtensions.cs b/src/Tizen.NUI/src/internal/Xaml/TypeConversionExtensions.cs index fa6ff61..b010311 100755 --- a/src/Tizen.NUI/src/internal/Xaml/TypeConversionExtensions.cs +++ b/src/Tizen.NUI/src/internal/Xaml/TypeConversionExtensions.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ // // TypeConversionExtensions.cs // diff --git a/src/Tizen.NUI/src/internal/Xaml/ValueConverterProvider.cs b/src/Tizen.NUI/src/internal/Xaml/ValueConverterProvider.cs index 4714bec..1b8a56c 100755 --- a/src/Tizen.NUI/src/internal/Xaml/ValueConverterProvider.cs +++ b/src/Tizen.NUI/src/internal/Xaml/ValueConverterProvider.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Reflection; diff --git a/src/Tizen.NUI/src/internal/Xaml/VisualStateManager.cs b/src/Tizen.NUI/src/internal/Xaml/VisualStateManager.cs index e13521e..f731f9c 100755 --- a/src/Tizen.NUI/src/internal/Xaml/VisualStateManager.cs +++ b/src/Tizen.NUI/src/internal/Xaml/VisualStateManager.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Tizen.NUI/src/internal/Xaml/XamlLoader.cs b/src/Tizen.NUI/src/internal/Xaml/XamlLoader.cs index 37078b6..68e9421 100755 --- a/src/Tizen.NUI/src/internal/Xaml/XamlLoader.cs +++ b/src/Tizen.NUI/src/internal/Xaml/XamlLoader.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ // // XamlLoader.cs // diff --git a/src/Tizen.NUI/src/internal/Xaml/XamlNode.cs b/src/Tizen.NUI/src/internal/Xaml/XamlNode.cs index ef695b2..21b45ac 100755 --- a/src/Tizen.NUI/src/internal/Xaml/XamlNode.cs +++ b/src/Tizen.NUI/src/internal/Xaml/XamlNode.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/src/Tizen.NUI/src/internal/Xaml/XamlNodeVisitor.cs b/src/Tizen.NUI/src/internal/Xaml/XamlNodeVisitor.cs index 036973a..afd5bc1 100755 --- a/src/Tizen.NUI/src/internal/Xaml/XamlNodeVisitor.cs +++ b/src/Tizen.NUI/src/internal/Xaml/XamlNodeVisitor.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; namespace Tizen.NUI.Xaml { diff --git a/src/Tizen.NUI/src/internal/Xaml/XamlParser.cs b/src/Tizen.NUI/src/internal/Xaml/XamlParser.cs index 03d92ee..c70d268 100755 --- a/src/Tizen.NUI/src/internal/Xaml/XamlParser.cs +++ b/src/Tizen.NUI/src/internal/Xaml/XamlParser.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ // // XamlParser.cs // diff --git a/src/Tizen.NUI/src/internal/Xaml/XmlName.cs b/src/Tizen.NUI/src/internal/Xaml/XmlName.cs index 0d117cc..056189d 100755 --- a/src/Tizen.NUI/src/internal/Xaml/XmlName.cs +++ b/src/Tizen.NUI/src/internal/Xaml/XmlName.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Diagnostics; diff --git a/src/Tizen.NUI/src/internal/Xaml/XmlnsHelper.cs b/src/Tizen.NUI/src/internal/Xaml/XmlnsHelper.cs index b5f7db0..ece85ad 100755 --- a/src/Tizen.NUI/src/internal/Xaml/XmlnsHelper.cs +++ b/src/Tizen.NUI/src/internal/Xaml/XmlnsHelper.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; namespace Tizen.NUI.Xaml diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ActionSheetArguments.cs b/src/Tizen.NUI/src/internal/XamlBinding/ActionSheetArguments.cs index 9b0f8c4..6c57471 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ActionSheetArguments.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ActionSheetArguments.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.Collections.Generic; using System.ComponentModel; using System.Threading.Tasks; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/AlertArguments.cs b/src/Tizen.NUI/src/internal/XamlBinding/AlertArguments.cs index 9e40d08..eaa794d 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/AlertArguments.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/AlertArguments.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.ComponentModel; using System.Threading.Tasks; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/BindingBaseExtensions.cs b/src/Tizen.NUI/src/internal/XamlBinding/BindingBaseExtensions.cs index 28409de..e0cc021 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/BindingBaseExtensions.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/BindingBaseExtensions.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; namespace Tizen.NUI.Binding { diff --git a/src/Tizen.NUI/src/internal/XamlBinding/BindingExpression.cs b/src/Tizen.NUI/src/internal/XamlBinding/BindingExpression.cs index d39fb39..f1a7642 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/BindingExpression.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/BindingExpression.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/CollectionSynchronizationContext.cs b/src/Tizen.NUI/src/internal/XamlBinding/CollectionSynchronizationContext.cs index f083623..fd1206c 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/CollectionSynchronizationContext.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/CollectionSynchronizationContext.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ContentPropertyAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/ContentPropertyAttribute.cs index f85de38..77faaa8 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ContentPropertyAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ContentPropertyAttribute.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ // // ContentPropertyAttribute.cs // diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ControlTemplate.cs b/src/Tizen.NUI/src/internal/XamlBinding/ControlTemplate.cs index 3e225c5..ae9c3a1 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ControlTemplate.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ControlTemplate.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/DependencyAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/DependencyAttribute.cs index 7e7ffc7..a0201e4 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/DependencyAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/DependencyAttribute.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/DependencyFetchTarget.cs b/src/Tizen.NUI/src/internal/XamlBinding/DependencyFetchTarget.cs index 0acd10a..fc1aac1 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/DependencyFetchTarget.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/DependencyFetchTarget.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ namespace Tizen.NUI.Binding { internal enum DependencyFetchTarget diff --git a/src/Tizen.NUI/src/internal/XamlBinding/DependencyResolver.cs b/src/Tizen.NUI/src/internal/XamlBinding/DependencyResolver.cs index 5dcea57..9975433 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/DependencyResolver.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/DependencyResolver.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Linq; using System.Reflection; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/DependencyService.cs b/src/Tizen.NUI/src/internal/XamlBinding/DependencyService.cs index a354a75..63c9c99 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/DependencyService.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/DependencyService.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Device.cs b/src/Tizen.NUI/src/internal/XamlBinding/Device.cs index e452a70..ff77077 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Device.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Device.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/DeviceInfo.cs b/src/Tizen.NUI/src/internal/XamlBinding/DeviceInfo.cs index 429dc45..8fad818 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/DeviceInfo.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/DeviceInfo.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.ComponentModel; using System.Runtime.CompilerServices; @@ -23,17 +7,17 @@ namespace Tizen.NUI.Binding [EditorBrowsable(EditorBrowsableState.Never)] internal abstract class DeviceInfo : INotifyPropertyChanged, IDisposable { - DeviceOrientation currentOrientation; - bool disposed; + DeviceOrientation _currentOrientation; + bool _disposed; public DeviceOrientation CurrentOrientation { - get { return currentOrientation; } + get { return _currentOrientation; } set { - if (Equals(currentOrientation, value)) + if (Equals(_currentOrientation, value)) return; - currentOrientation = value; + _currentOrientation = value; OnPropertyChanged(); } } @@ -56,9 +40,9 @@ namespace Tizen.NUI.Binding protected virtual void Dispose(bool disposing) { - if (disposed) + if (_disposed) return; - disposed = true; + _disposed = true; } protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) diff --git a/src/Tizen.NUI/src/internal/XamlBinding/DeviceOrientation.cs b/src/Tizen.NUI/src/internal/XamlBinding/DeviceOrientation.cs index 6cf2b09..8453e20 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/DeviceOrientation.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/DeviceOrientation.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System.ComponentModel; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/EnumerableExtensions.cs b/src/Tizen.NUI/src/internal/XamlBinding/EnumerableExtensions.cs index 552ea94..998c1e6 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/EnumerableExtensions.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/EnumerableExtensions.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/EventArg.cs b/src/Tizen.NUI/src/internal/XamlBinding/EventArg.cs index 2a62047..0ac4c87 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/EventArg.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/EventArg.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ExportEffectAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/ExportEffectAttribute.cs index 3ab625b..8ae2a70 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ExportEffectAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ExportEffectAttribute.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ExtentsTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/ExtentsTypeConverter.cs index 85fb48b..1fd0c61 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ExtentsTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ExtentsTypeConverter.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Globalization; using System.Linq; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/FlowDirection.cs b/src/Tizen.NUI/src/internal/XamlBinding/FlowDirection.cs index 6c861f8..6f54188 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/FlowDirection.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/FlowDirection.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/GestureRecognizer.cs b/src/Tizen.NUI/src/internal/XamlBinding/GestureRecognizer.cs index 6dee10a..0a058b8 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/GestureRecognizer.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/GestureRecognizer.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ namespace Tizen.NUI.Binding { internal class GestureRecognizer : Element, IGestureRecognizer diff --git a/src/Tizen.NUI/src/internal/XamlBinding/HandlerAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/HandlerAttribute.cs index 28dc6cd..a0db2c5 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/HandlerAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/HandlerAttribute.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IConfigElement.cs b/src/Tizen.NUI/src/internal/XamlBinding/IConfigElement.cs index 0bbaa66..f9261d7 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IConfigElement.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IConfigElement.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.ComponentModel; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IConfigPlatform.cs b/src/Tizen.NUI/src/internal/XamlBinding/IConfigPlatform.cs index e92f617..a344ca9 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IConfigPlatform.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IConfigPlatform.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.ComponentModel; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IControlTemplated.cs b/src/Tizen.NUI/src/internal/XamlBinding/IControlTemplated.cs index cfddb64..403ccfc 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IControlTemplated.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IControlTemplated.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.Collections.Generic; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IElement.cs b/src/Tizen.NUI/src/internal/XamlBinding/IElement.cs index 5995b25..01eebcb 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IElement.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IElement.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using Tizen.NUI.Binding.Internals; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IElementConfiguration.cs b/src/Tizen.NUI/src/internal/XamlBinding/IElementConfiguration.cs index c32445a..0414a61 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IElementConfiguration.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IElementConfiguration.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ namespace Tizen.NUI.Binding { diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IElementController.cs b/src/Tizen.NUI/src/internal/XamlBinding/IElementController.cs index 3e0b935..f652069 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IElementController.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IElementController.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IExtendedTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/IExtendedTypeConverter.cs index 371d750..5a4beb6 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IExtendedTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IExtendedTypeConverter.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Globalization; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IGestureRecognizer.cs b/src/Tizen.NUI/src/internal/XamlBinding/IGestureRecognizer.cs index 0b05b37..2140741 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IGestureRecognizer.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IGestureRecognizer.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.ComponentModel; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IIsolatedStorageFile.cs b/src/Tizen.NUI/src/internal/XamlBinding/IIsolatedStorageFile.cs index e5d119e..1c258ac 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IIsolatedStorageFile.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IIsolatedStorageFile.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.ComponentModel; using System.IO; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/INativeBindingService.cs b/src/Tizen.NUI/src/internal/XamlBinding/INativeBindingService.cs index 88afe1d..305ae80 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/INativeBindingService.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/INativeBindingService.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ namespace Tizen.NUI.Binding { diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IPlatformServices.cs b/src/Tizen.NUI/src/internal/XamlBinding/IPlatformServices.cs index 6cf2511..0f2e260d 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IPlatformServices.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IPlatformServices.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.ComponentModel; using System.IO; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/IResourceDictionary.cs b/src/Tizen.NUI/src/internal/XamlBinding/IResourceDictionary.cs index a9d1f52..37d7adf 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/IResourceDictionary.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/IResourceDictionary.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ISystemResourcesProvider.cs b/src/Tizen.NUI/src/internal/XamlBinding/ISystemResourcesProvider.cs index 44d4014..3ae0231 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ISystemResourcesProvider.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ISystemResourcesProvider.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System.ComponentModel; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/AttachedCollection.cs b/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/AttachedCollection.cs index 4866b88..6fe8409 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/AttachedCollection.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/AttachedCollection.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/IAttachedObject.cs b/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/IAttachedObject.cs index 1f6047d..f8f0c5c 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/IAttachedObject.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/IAttachedObject.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ namespace Tizen.NUI.Binding { internal interface IAttachedObject diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/MultiCondition.cs b/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/MultiCondition.cs index b271cb4..5e57d42 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/MultiCondition.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Interactivity/MultiCondition.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.Collections.Generic; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Internals/IDeserializer.cs b/src/Tizen.NUI/src/internal/XamlBinding/Internals/IDeserializer.cs index a9384a6..ff4189f 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Internals/IDeserializer.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Internals/IDeserializer.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System.Collections.Generic; using System.ComponentModel; using System.Threading.Tasks; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Internals/INamescopeProvider.cs b/src/Tizen.NUI/src/internal/XamlBinding/Internals/INamescopeProvider.cs index c18f9a9..e196d48 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Internals/INamescopeProvider.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Internals/INamescopeProvider.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; namespace Tizen.NUI.Binding.Internals { diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Internals/InvalidationTrigger.cs b/src/Tizen.NUI/src/internal/XamlBinding/Internals/InvalidationTrigger.cs index 23dc4fe..e1c1c8a 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Internals/InvalidationTrigger.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Internals/InvalidationTrigger.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Internals/NumericExtensions.cs b/src/Tizen.NUI/src/internal/XamlBinding/Internals/NumericExtensions.cs index f909c3a..65d36da 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Internals/NumericExtensions.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Internals/NumericExtensions.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Internals/PreserveAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/Internals/PreserveAttribute.cs index 9ebbace..4d9b64a 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Internals/PreserveAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Internals/PreserveAttribute.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.ComponentModel; namespace Tizen.NUI.Binding.Internals diff --git a/src/Tizen.NUI/src/internal/XamlBinding/Internals/ResourceLoader.cs b/src/Tizen.NUI/src/internal/XamlBinding/Internals/ResourceLoader.cs index 7c20e06..da4be24 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/Internals/ResourceLoader.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/Internals/ResourceLoader.cs @@ -1,20 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -using System; +using System; using System.IO; using System.Reflection; using Tizen.NUI.Xaml; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/InvalidationEventArgs.cs b/src/Tizen.NUI/src/internal/XamlBinding/InvalidationEventArgs.cs index de97c75..1d253d8 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/InvalidationEventArgs.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/InvalidationEventArgs.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using Tizen.NUI.Binding.Internals; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ListStringTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/ListStringTypeConverter.cs index 1f5eabf..37d1055 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ListStringTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ListStringTypeConverter.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/MessagingCenter.cs b/src/Tizen.NUI/src/internal/XamlBinding/MessagingCenter.cs index c8af695..ae16b6a 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/MessagingCenter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/MessagingCenter.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; using System.Linq; @@ -55,7 +38,7 @@ namespace Tizen.NUI.Binding WeakReference DelegateWeakReference { get; } object DelegateStrongReference { get; } - readonly bool isStrongReference; + readonly bool _isStrongReference; public MaybeWeakReference(object subscriber, object delegateSource) { @@ -63,17 +46,17 @@ namespace Tizen.NUI.Binding { // The target is the subscriber; we can use a weakreference DelegateWeakReference = new WeakReference(delegateSource); - isStrongReference = false; + _isStrongReference = false; } else { DelegateStrongReference = delegateSource; - isStrongReference = true; + _isStrongReference = true; } } - public object Target => isStrongReference ? DelegateStrongReference : DelegateWeakReference.Target; - public bool IsAlive => isStrongReference || DelegateWeakReference.IsAlive; + public object Target => _isStrongReference ? DelegateStrongReference : DelegateWeakReference.Target; + public bool IsAlive => _isStrongReference || DelegateWeakReference.IsAlive; } class Subscription : Tuple @@ -117,7 +100,8 @@ namespace Tizen.NUI.Binding } } - readonly Dictionary> subscriptions = new Dictionary>(); + readonly Dictionary> _subscriptions = + new Dictionary>(); public static void Send(TSender sender, string message, TArgs args) where TSender : class { @@ -214,9 +198,9 @@ namespace Tizen.NUI.Binding if (message == null) throw new ArgumentNullException(nameof(message)); var key = new Sender(message, senderType, argType); - if (!subscriptions.ContainsKey(key)) + if (!_subscriptions.ContainsKey(key)) return; - List subcriptions = subscriptions[key]; + List subcriptions = _subscriptions[key]; if (subcriptions == null || !subcriptions.Any()) return; // should not be reachable @@ -241,14 +225,14 @@ namespace Tizen.NUI.Binding throw new ArgumentNullException(nameof(message)); var key = new Sender(message, senderType, argType); var value = new Subscription(subscriber, target, methodInfo, filter); - if (subscriptions.ContainsKey(key)) + if (_subscriptions.ContainsKey(key)) { - subscriptions[key].Add(value); + _subscriptions[key].Add(value); } else { var list = new List { value }; - subscriptions[key] = list; + _subscriptions[key] = list; } } @@ -260,11 +244,11 @@ namespace Tizen.NUI.Binding throw new ArgumentNullException(nameof(message)); var key = new Sender(message, senderType, argType); - if (!subscriptions.ContainsKey(key)) + if (!_subscriptions.ContainsKey(key)) return; - subscriptions[key].RemoveAll(sub => sub.CanBeRemoved() || sub.Subscriber.Target == subscriber); - if (!subscriptions[key].Any()) - subscriptions.Remove(key); + _subscriptions[key].RemoveAll(sub => sub.CanBeRemoved() || sub.Subscriber.Target == subscriber); + if (!_subscriptions[key].Any()) + _subscriptions.Remove(key); } // This is a bit gross; it only exists to support the unit tests in PageTests @@ -272,7 +256,7 @@ namespace Tizen.NUI.Binding // tightly coupled to the MessagingCenter singleton internal static void ClearSubscribers() { - (Instance as MessagingCenter)?.subscriptions.Clear(); + (Instance as MessagingCenter)?._subscriptions.Clear(); } } } diff --git a/src/Tizen.NUI/src/internal/XamlBinding/NUIConstantExtension.cs b/src/Tizen.NUI/src/internal/XamlBinding/NUIConstantExtension.cs index e91c9fd..daaab4c 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/NUIConstantExtension.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/NUIConstantExtension.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using Tizen.NUI; using Tizen.NUI.Binding; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/OnIdiom.cs b/src/Tizen.NUI/src/internal/XamlBinding/OnIdiom.cs index 7d6f4dd..fc70b8c 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/OnIdiom.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/OnIdiom.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using Tizen.NUI.Binding.Internals; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/OnPlatform.cs b/src/Tizen.NUI/src/internal/XamlBinding/OnPlatform.cs index 3d5c9ca..97c67a2 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/OnPlatform.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/OnPlatform.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; using Tizen.NUI.Xaml; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ParameterAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/ParameterAttribute.cs index 8cbba73..ff826df 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ParameterAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ParameterAttribute.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/PositionTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/PositionTypeConverter.cs index bb10bed..da2266f 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/PositionTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/PositionTypeConverter.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Linq; using System.Reflection; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/RectangleTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/RectangleTypeConverter.cs index b2b0aa8..b85ee2c 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/RectangleTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/RectangleTypeConverter.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Globalization; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/RenderWithAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/RenderWithAttribute.cs index 1bb8c9f..a4d2261 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/RenderWithAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/RenderWithAttribute.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System; +using System; namespace Tizen.NUI.Binding { diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ResolutionGroupNameAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/ResolutionGroupNameAttribute.cs index 54e86b5..905762c 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ResolutionGroupNameAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ResolutionGroupNameAttribute.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ResourcesChangedEventArgs.cs b/src/Tizen.NUI/src/internal/XamlBinding/ResourcesChangedEventArgs.cs index ba54500..467aaaf 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ResourcesChangedEventArgs.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ResourcesChangedEventArgs.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ResourcesExtensions.cs b/src/Tizen.NUI/src/internal/XamlBinding/ResourcesExtensions.cs index b0ccc27..4739051 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ResourcesExtensions.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ResourcesExtensions.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/RotationTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/RotationTypeConverter.cs index 03a97a1..0ddfa2c 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/RotationTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/RotationTypeConverter.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Globalization; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/SynchronizedList.cs b/src/Tizen.NUI/src/internal/XamlBinding/SynchronizedList.cs index d48f6fa..b001795 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/SynchronizedList.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/SynchronizedList.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System.Collections; +using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; @@ -24,45 +7,45 @@ namespace Tizen.NUI.Binding { internal class SynchronizedList : IList, IReadOnlyList { - readonly List list = new List(); - ReadOnlyCollection snapshot; + readonly List _list = new List(); + ReadOnlyCollection _snapshot; public void Add(T item) { - lock (list) + lock (_list) { - list.Add(item); - snapshot = null; + _list.Add(item); + _snapshot = null; } } public void Clear() { - lock (list) + lock (_list) { - list.Clear(); - snapshot = null; + _list.Clear(); + _snapshot = null; } } public bool Contains(T item) { - lock (list) - return list.Contains(item); + lock (_list) + return _list.Contains(item); } public void CopyTo(T[] array, int arrayIndex) { - lock (list) - list.CopyTo(array, arrayIndex); + lock (_list) + _list.CopyTo(array, arrayIndex); } public int Count { get { - lock (list) - return list.Count; + lock (_list) + return _list.Count; } } @@ -73,11 +56,11 @@ namespace Tizen.NUI.Binding public bool Remove(T item) { - lock (list) + lock (_list) { - if (list.Remove(item)) + if (_list.Remove(item)) { - snapshot = null; + _snapshot = null; return true; } @@ -92,28 +75,28 @@ namespace Tizen.NUI.Binding public IEnumerator GetEnumerator() { - lock (list) + lock (_list) { - if (snapshot == null) + if (_snapshot == null) { - snapshot = new ReadOnlyCollection(list.ToList()); + _snapshot = new ReadOnlyCollection(_list.ToList()); } - return snapshot.GetEnumerator(); + return _snapshot.GetEnumerator(); } } public int IndexOf(T item) { - lock (list) - return list.IndexOf(item); + lock (_list) + return _list.IndexOf(item); } public void Insert(int index, T item) { - lock (list) + lock (_list) { - list.Insert(index, item); - snapshot = null; + _list.Insert(index, item); + _snapshot = null; } } @@ -121,32 +104,32 @@ namespace Tizen.NUI.Binding { get { - lock (list) + lock (_list) { - ReadOnlyCollection snap = snapshot; + ReadOnlyCollection snap = _snapshot; if (snap != null) return snap[index]; - return list[index]; + return _list[index]; } } set { - lock (list) + lock (_list) { - list[index] = value; - snapshot = null; + _list[index] = value; + _snapshot = null; } } } public void RemoveAt(int index) { - lock (list) + lock (_list) { - list.RemoveAt(index); - snapshot = null; + _list.RemoveAt(index); + _snapshot = null; } } } diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TargetIdiom.cs b/src/Tizen.NUI/src/internal/XamlBinding/TargetIdiom.cs index ac27dd3..b1ad03b 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TargetIdiom.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TargetIdiom.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ namespace Tizen.NUI.Binding { internal enum TargetIdiom diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TargetPlatform.cs b/src/Tizen.NUI/src/internal/XamlBinding/TargetPlatform.cs index b9ff49c..d6ffbaf 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TargetPlatform.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TargetPlatform.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; namespace Tizen.NUI.Binding diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TemplateBinding.cs b/src/Tizen.NUI/src/internal/XamlBinding/TemplateBinding.cs index 57792cc..551ae0b 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TemplateBinding.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TemplateBinding.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Globalization; @@ -22,11 +6,11 @@ namespace Tizen.NUI.Binding internal class TemplateBinding : BindingBase { internal const string SelfPath = "."; - private IValueConverter converter; - private object converterParameter; + IValueConverter _converter; + object _converterParameter; - private BindingExpression expression; - private string path; + BindingExpression _expression; + string _path; public TemplateBinding() { @@ -49,35 +33,35 @@ namespace Tizen.NUI.Binding public IValueConverter Converter { - get { return converter; } + get { return _converter; } set { ThrowIfApplied(); - converter = value; + _converter = value; } } public object ConverterParameter { - get { return converterParameter; } + get { return _converterParameter; } set { ThrowIfApplied(); - converterParameter = value; + _converterParameter = value; } } public string Path { - get { return path; } + get { return _path; } set { ThrowIfApplied(); - path = value; - expression = GetBindingExpression(value); + _path = value; + _expression = GetBindingExpression(value); } } @@ -85,10 +69,10 @@ namespace Tizen.NUI.Binding { base.Apply(fromTarget); - if (expression == null) - expression = new BindingExpression(this, SelfPath); + if (_expression == null) + _expression = new BindingExpression(this, SelfPath); - expression.Apply(fromTarget); + _expression.Apply(fromTarget); } internal override async void Apply(object newContext, BindableObject bindObj, BindableProperty targetProperty, bool fromBindingContextChanged = false) @@ -128,16 +112,16 @@ namespace Tizen.NUI.Binding { base.Unapply(fromBindingContextChanged: fromBindingContextChanged); - if (expression != null) - expression.Unapply(); + if (_expression != null) + _expression.Unapply(); } void ApplyInner(Element templatedParent, BindableObject bindableObject, BindableProperty targetProperty) { - if (expression == null && templatedParent != null) - expression = new BindingExpression(this, SelfPath); + if (_expression == null && templatedParent != null) + _expression = new BindingExpression(this, SelfPath); - expression?.Apply(templatedParent, bindableObject, targetProperty); + _expression?.Apply(templatedParent, bindableObject, targetProperty); } BindingExpression GetBindingExpression(string path) diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TemplateUtilities.cs b/src/Tizen.NUI/src/internal/XamlBinding/TemplateUtilities.cs index a7e74fd..f26c497 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TemplateUtilities.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TemplateUtilities.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TizenPlatformServices.cs b/src/Tizen.NUI/src/internal/XamlBinding/TizenPlatformServices.cs index f61cccd..7ccf802 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TizenPlatformServices.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TizenPlatformServices.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - // using ElmSharp; using System; using System.Collections.Generic; @@ -127,7 +110,7 @@ namespace Tizen.NUI.Binding { public static AppDomain CurrentDomain { get; private set; } - List assemblies; + List _assemblies; public static bool IsTizenSpecificAvailable { get; private set; } @@ -138,18 +121,18 @@ namespace Tizen.NUI.Binding AppDomain() { - assemblies = new List(); + _assemblies = new List(); // Add this renderer assembly to the list - assemblies.Add(GetType().GetTypeInfo().Assembly); + _assemblies.Add(GetType().GetTypeInfo().Assembly); } internal void RegisterAssemblyRecursively(Assembly asm) { - if (assemblies.Contains(asm)) + if (_assemblies.Contains(asm)) return; - assemblies.Add(asm); + _assemblies.Add(asm); foreach (var refName in asm.GetReferencedAssemblies()) { @@ -180,7 +163,7 @@ namespace Tizen.NUI.Binding public Assembly[] GetAssemblies() { - return assemblies.ToArray(); + return _assemblies.ToArray(); } } } diff --git a/src/Tizen.NUI/src/internal/XamlBinding/ToolbarItemOrder.cs b/src/Tizen.NUI/src/internal/XamlBinding/ToolbarItemOrder.cs index 7a5ec0e..0b994e6 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/ToolbarItemOrder.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/ToolbarItemOrder.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - namespace Tizen.NUI.Binding { internal enum ToolbarItemOrder diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TrackableCollection.cs b/src/Tizen.NUI/src/internal/XamlBinding/TrackableCollection.cs index 90913f1..603a447 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TrackableCollection.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TrackableCollection.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Collections.ObjectModel; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TypeConverterAttribute.cs b/src/Tizen.NUI/src/internal/XamlBinding/TypeConverterAttribute.cs index 8bcbd7a..21b51b7 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TypeConverterAttribute.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TypeConverterAttribute.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -// +// // System.ComponentModel.TypeConverterAttribute // // Authors: diff --git a/src/Tizen.NUI/src/internal/XamlBinding/TypeTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/TypeTypeConverter.cs index 450bc2f..94b17d4 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/TypeTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/TypeTypeConverter.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Globalization; using Tizen.NUI.Xaml; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/UriTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/UriTypeConverter.cs index d95c633..67928a3 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/UriTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/UriTypeConverter.cs @@ -1,21 +1,4 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -using System; +using System; namespace Tizen.NUI.Binding { diff --git a/src/Tizen.NUI/src/internal/XamlBinding/VectorTypeConverter.cs b/src/Tizen.NUI/src/internal/XamlBinding/VectorTypeConverter.cs index e52a629..b5810ad 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/VectorTypeConverter.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/VectorTypeConverter.cs @@ -1,20 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - using System; using System.Linq; using System.Reflection; diff --git a/src/Tizen.NUI/src/internal/XamlBinding/WeakEventManager.cs b/src/Tizen.NUI/src/internal/XamlBinding/WeakEventManager.cs index 802e1d4..8e9ec36 100755 --- a/src/Tizen.NUI/src/internal/XamlBinding/WeakEventManager.cs +++ b/src/Tizen.NUI/src/internal/XamlBinding/WeakEventManager.cs @@ -1,19 +1,3 @@ -/* - * Copyright(c) 2021 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ using System; using System.Collections.Generic; using System.Reflection; @@ -23,7 +7,8 @@ namespace Tizen.NUI.Binding { internal class WeakEventManager { - readonly Dictionary> eventHandlers = new Dictionary>(); + readonly Dictionary> _eventHandlers = + new Dictionary>(); public void AddEventHandler(string eventName, EventHandler handler) where TEventArgs : EventArgs @@ -62,7 +47,7 @@ namespace Tizen.NUI.Binding var toRemove = new List(); List target; - if (eventHandlers.TryGetValue(eventName, out target)) + if (_eventHandlers.TryGetValue(eventName, out target)) { foreach (Subscription subscription in target) { @@ -133,10 +118,10 @@ namespace Tizen.NUI.Binding void AddEventHandler(string eventName, object handlerTarget, MethodInfo methodInfo) { List targets; - if (!eventHandlers.TryGetValue(eventName, out targets)) + if (!_eventHandlers.TryGetValue(eventName, out targets)) { targets = new List(); - eventHandlers.Add(eventName, targets); + _eventHandlers.Add(eventName, targets); } if (handlerTarget == null) @@ -152,7 +137,7 @@ namespace Tizen.NUI.Binding void RemoveEventHandler(string eventName, object handlerTarget, MemberInfo methodInfo) { List subscriptions; - if (!eventHandlers.TryGetValue(eventName, out subscriptions)) + if (!_eventHandlers.TryGetValue(eventName, out subscriptions)) { return; } -- 2.7.4