[Tizen] ecore-wl2: applying ecore-wl2
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / common / display-connection.h
index 9a9243c..2bf4417 100644 (file)
@@ -23,6 +23,7 @@
 
 // INTERNAL INCLUDES
 #include <dali/devel-api/adaptor-framework/render-surface.h>
+#include <dali/public-api/adaptor-framework/window.h>
 
 #include <memory>
 
@@ -88,6 +89,14 @@ public:
   static void GetDpi(unsigned int& dpiHorizontal, unsigned int& dpiVertical);
 
   /**
+   * @brief Get DPI
+   * @param [in] handle A pointer to a newly allocated DisplayConnection resource
+   * @param[out] dpiHorizontal set to the horizontal dpi
+   * @param[out] dpiVertical set to the vertical dpi
+   */
+  static void GetDpi(Any nativeWindow, unsigned int& dpiHorizontal, unsigned int& dpiVertical);
+
+  /**
    * @brief Consumes any possible events on the queue so that there is no leaking between frames
    */
   void ConsumeEvents();