[Tizen] Functions that return value types should not return them as const.
[platform/core/uifw/dali-adaptor.git] / adaptors / base / display-connection.h
index e38cc78..e59f74c 100644 (file)
@@ -22,6 +22,7 @@
 #include <dali/public-api/object/any.h>
 
 // INTERNAL INCLUDES
+#include <render-surface.h>
 
 
 namespace Dali
@@ -49,6 +50,15 @@ public:
   static DisplayConnection* New();
 
   /**
+   * @brief Create an initialized DisplayConnection.
+   * Native surface will need this instead of DisplayConnection::New()
+   *
+   * @param[in] type Render surface type
+   * @return A handle to a newly allocated DisplayConnection resource.
+   */
+  static DisplayConnection* New( RenderSurface::Type type );
+
+  /**
    * @brief Create a DisplayConnection handle; this can be initialised with DisplayConnection::New().
    *
    * Calling member functions with an uninitialised handle is not allowed.