X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fcommon%2Fwindow-base.h;h=a055c59fa469597ca88e25b0cbc32cda5330b053;hb=8d9a1dab15669410f14a7626300452e61b885c25;hp=4d3454c79b8ce89698dcd4d4042829420b4e81c8;hpb=0c70252cd0a55d10d75e3f7978867ab4d6d50014;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/common/window-base.h b/dali/internal/window-system/common/window-base.h index 4d3454c..a055c59 100644 --- a/dali/internal/window-system/common/window-base.h +++ b/dali/internal/window-system/common/window-base.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_WINDOWSYSTEM_COMMON_WINDOW_BASE_H /* - * Copyright (c) 2019 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. @@ -21,7 +21,7 @@ // EXTERNAL INCLUDES #include #include -#include +#include #include #include #include @@ -71,10 +71,11 @@ public: typedef Signal< void ( const DamageArea& ) > DamageSignalType; typedef Signal< void ( const RotationEvent& ) > RotationSignalType; typedef Signal< void ( DevelWindow::EffectState, DevelWindow::EffectType ) > TransitionEffectEventSignalType; + typedef Signal< void ( ) > KeyboardRepeatSettingsChangedSignalType; // Input events typedef Signal< void ( Integration::Point&, uint32_t ) > TouchEventSignalType; - typedef Signal< void ( WheelEvent& ) > WheelEventSignalType; + typedef Signal< void ( Integration::WheelEvent& ) > WheelEventSignalType; typedef Signal< void( Integration::KeyEvent& ) > KeyEventSignalType; // Clipboard @@ -181,12 +182,12 @@ public: /** * @copydoc Dali::Window::SetAvailableOrientations() */ - virtual void SetAvailableOrientations( const std::vector< Dali::Window::WindowOrientation >& orientations ) = 0; + virtual void SetAvailableAnlges( const std::vector< int >& angles ) = 0; /** * @copydoc Dali::Window::SetPreferredOrientation() */ - virtual void SetPreferredOrientation( Dali::Window::WindowOrientation orientation ) = 0; + virtual void SetPreferredAngle( int angle ) = 0; /** * @copydoc Dali::Window::SetAcceptFocus() @@ -335,6 +336,18 @@ public: */ virtual void SetParent( WindowBase* parentWinBase ) = 0; + /** + * @brief Create a sync fence that can tell the frame is rendered by the graphics driver. + * @return The file descriptor that tells when it is rendered. + */ + virtual int CreateFrameRenderedSyncFence() = 0; + + /** + * @brief Create a sync fence that can tell the frame is presented by the display server. + * @return The file descriptor that tells when it is presented. + */ + virtual int CreateFramePresentedSyncFence() = 0; + // Signals /** @@ -407,6 +420,11 @@ public: */ TransitionEffectEventSignalType& TransitionEffectEventSignal(); + /** + * @brief This signal is emitted when the keyboard repeat is changed. + */ + KeyboardRepeatSettingsChangedSignalType& KeyboardRepeatSettingsChangedSignal(); + protected: // Undefined @@ -417,20 +435,21 @@ protected: protected: - IconifySignalType mIconifyChangedSignal; - FocusSignalType mFocusChangedSignal; - OutputSignalType mOutputTransformedSignal; - DeleteSignalType mDeleteRequestSignal; - DamageSignalType mWindowDamagedSignal; - RotationSignalType mRotationSignal; - TouchEventSignalType mTouchEventSignal; - WheelEventSignalType mWheelEventSignal; - KeyEventSignalType mKeyEventSignal; - SelectionSignalType mSelectionDataSendSignal; - SelectionSignalType mSelectionDataReceivedSignal; - StyleSignalType mStyleChangedSignal; - AccessibilitySignalType mAccessibilitySignal; - TransitionEffectEventSignalType mTransitionEffectEventSignal; + IconifySignalType mIconifyChangedSignal; + FocusSignalType mFocusChangedSignal; + OutputSignalType mOutputTransformedSignal; + DeleteSignalType mDeleteRequestSignal; + DamageSignalType mWindowDamagedSignal; + RotationSignalType mRotationSignal; + TouchEventSignalType mTouchEventSignal; + WheelEventSignalType mWheelEventSignal; + KeyEventSignalType mKeyEventSignal; + SelectionSignalType mSelectionDataSendSignal; + SelectionSignalType mSelectionDataReceivedSignal; + StyleSignalType mStyleChangedSignal; + AccessibilitySignalType mAccessibilitySignal; + TransitionEffectEventSignalType mTransitionEffectEventSignal; + KeyboardRepeatSettingsChangedSignalType mKeyboardRepeatSettingsChangedSignal; }; } // namespace Adaptor