X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fbuilder%2Fbuilder-impl.h;h=f046504895c2b253eb27206c39051a40c9d89af2;hp=4fb7aba6f5c5913ec293273344a704fc0afe1b0f;hb=957e21ff67b0680b79b8532db4ea310c43eef770;hpb=56d412791a44c2a79135d2293c13fddb135c9d54 diff --git a/dali-toolkit/internal/builder/builder-impl.h b/dali-toolkit/internal/builder/builder-impl.h index 4fb7aba..f046504 100644 --- a/dali-toolkit/internal/builder/builder-impl.h +++ b/dali-toolkit/internal/builder/builder-impl.h @@ -30,8 +30,8 @@ #include // INTERNAL INCLUDES -#include -#include +#include +#include #include // Warning messages usually displayed @@ -186,6 +186,33 @@ public: * @copydoc Toolkit::Builder::GetPath */ Path GetPath( const std::string &name ); + + /** + * @copydoc Toolkit::Builder::GetPathConstrainer + */ + Dali::PathConstrainer GetPathConstrainer( const std::string& name ); + + /* + * Check if a given constrainer is of type PathConstrainer + * @param[in] name The name of the constrainer + * @return True if constainer is of type PathConstrainer, False otherwise + * + */ + bool IsPathConstrainer( const std::string& name ); + + /** + * @copydoc Toolkit::Builder::GetLinearConstrainer + */ + Dali::LinearConstrainer GetLinearConstrainer( const std::string& name ); + + /* + * Check if a given constrainer is of type LinearConstrainer + * @param[in] name The name of the constrainer + * @return True if constainer is of type LinearConstrainer, False otherwise + * + */ + bool IsLinearConstrainer( const std::string& name ); + /** * @copydoc Toolkit::Builder::QuitSignal */ @@ -219,6 +246,14 @@ private: typedef std::map PathLut; PathLut mPathLut; + typedef struct{ std::string name; Dali::PathConstrainer pathConstrainer; } PathConstrainerEntry; + typedef std::vector PathConstrainerLut; + PathConstrainerLut mPathConstrainerLut; + + typedef struct{ std::string name; Dali::LinearConstrainer linearConstrainer; } LinearConstrainerEntry; + typedef std::vector LinearConstrainerLut; + LinearConstrainerLut mLinearConstrainerLut; + SlotDelegate mSlotDelegate; Property::Map mReplacementMap;