[Tizen] Support asan build option
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-view.h
index 9b12d03..b375668 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TOOLKIT_TEXT_VIEW_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics 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,9 @@
  *
  */
 
+// EXTERNAL INCLUDES
+#include <dali/devel-api/text-abstraction/font-client.h>
+
 // INTERNAL INCLUDES
 #include <dali-toolkit/internal/text/bounded-paragraph-run.h>
 #include <dali-toolkit/internal/text/logical-model-impl.h>
@@ -47,6 +50,13 @@ public:
   virtual ~View();
 
   /**
+   * @brief Set the font client.
+   *
+   * @param[in] fontClient The font client used by the View.
+   */
+  void SetFontClient(TextAbstraction::FontClient& fontClient);
+
+  /**
    * @brief Set the visual model.
    *
    * @param[in] visualModel The visual model used by the View.
@@ -288,6 +298,11 @@ public:
    */
   const Vector<CharacterIndex>& GetGlyphsToCharacters() const override;
 
+  /**
+   * @copydoc Dali::Toolkit::Text::ViewInterface::IsCutoutEnabled()
+   */
+  bool IsCutoutEnabled() const override;
+
 private:
   // Undefined
   View(const View& handle);