add tdm_hwc_window_set_name
[platform/core/uifw/libtdm.git] / include / tdm_backend.h
index 40390c3..1b73ba9 100644 (file)
@@ -1047,6 +1047,15 @@ typedef struct _tdm_func_hwc_window {
         */
        tdm_error (*hwc_window_get_constraints)(tdm_hwc_window *hwc_window,
                                                                                                int *constraints);
+
+       /**
+        * @brief Set the name of hwc_window
+        * @param[in] hwc_window A hwc window object
+        * @param[in] name of the hwc_window
+        * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+        */
+       tdm_error (*hwc_window_set_name)(tdm_hwc_window *hwc_window,
+                                                                                               const char *name);
 } tdm_func_hwc_window;
 
 /**