{
class RenderSurfaceInterface;
-namespace Accessibility
-{
-class Bridge;
-}
-
namespace Integration
{
class Core;
public:
using AdaptorSignalType = Dali::Adaptor::AdaptorSignalType;
using WindowCreatedSignalType = Dali::Adaptor::WindowCreatedSignalType;
+ using LocaleChangedSignalType = Dali::Adaptor::LocaleChangedSignalType;
using SurfaceSize = Uint16Pair; ///< Surface size type
/**
* @copydoc Dali::Adaptor::AddIdle()
*/
- virtual bool AddIdle(CallbackBase* callback, bool hasReturnValue, bool forceAdd);
+ virtual bool AddIdle(CallbackBase* callback, bool hasReturnValue);
/**
* Adds a new Window instance to the Adaptor
void SurfaceResizeComplete(Dali::RenderSurfaceInterface* surface, SurfaceSize surfaceSize);
/**
+ * @brief Increase surface resize completed counter.
+ * This API will be ignored if thread controller is not exist.
+ */
+ void IncreaseSurfaceResizeCounter();
+
+ /**
* Sets layout direction of root by system language
* @param[in] locale System locale
*/
return mWindowCreatedSignal;
}
+ /**
+ * @copydoc Dali::Adaptor::LocaleChangedSignal
+ */
+ LocaleChangedSignalType& LocaleChangedSignal()
+ {
+ return mLocaleChangedSignal;
+ }
+
public: // From Dali::Internal::Adaptor::CoreEventInterface
/**
* @copydoc Dali::Internal::Adaptor::CoreEventInterface:::FlushUpdateMessages()
void SetupSystemInformation();
/**
+ * Remove system information if needs
+ */
+ void RemoveSystemInformation();
+
+ /**
* Adds a callback to be run when entering an idle state.
*
* A callback of the following type should be used:
* @endcode
* This callback will be called repeatedly as long as it returns true. A return of 0 deletes this callback.
*/
- bool AddIdleEnterer(CallbackBase* callback, bool forceAdd);
+ bool AddIdleEnterer(CallbackBase* callback);
/**
* Removes a previously added the idle enterer callback.
AdaptorSignalType mResizedSignal; ///< Resized signal.
AdaptorSignalType mLanguageChangedSignal; ///< Language changed signal.
WindowCreatedSignalType mWindowCreatedSignal; ///< Window created signal.
+ LocaleChangedSignalType mLocaleChangedSignal; ///< Locale changed signal.
Dali::Adaptor& mAdaptor; ///< Reference to public adaptor instance.
State mState; ///< Current state of the adaptor
std::unique_ptr<Integration::AddOnManager> mAddOnManager; ///< Pointer to the addon manager
- class AccessibilityObserver : public ConnectionTracker
- {
- public:
- void OnAccessibleKeyEvent(const Dali::KeyEvent& event);
- };
- AccessibilityObserver mAccessibilityObserver;
-
public:
inline static Adaptor& GetImplementation(Dali::Adaptor& adaptor)
{