X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fbase%2Fdisplay-connection.h;h=e59f74c86633e5684cdaccaee53010c5ac7ba509;hb=89a0e7ed27a64867fa8311b284214e396fa004f6;hp=e38cc78d205d51156750401fffba475e600f3ad2;hpb=81d8438aa10c6e112273bc7aef848b38a6bda1af;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/base/display-connection.h b/adaptors/base/display-connection.h index e38cc78..e59f74c 100644 --- a/adaptors/base/display-connection.h +++ b/adaptors/base/display-connection.h @@ -22,6 +22,7 @@ #include // INTERNAL INCLUDES +#include 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.