X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fbase%2Fdisplay-connection.h;h=e59f74c86633e5684cdaccaee53010c5ac7ba509;hb=72f8ac7ca4e3d423796439090044a4e3154966d5;hp=e38cc78d205d51156750401fffba475e600f3ad2;hpb=e23877df736bbe70ac93380dd9d01d7548d08cfd;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.