X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-input-method-context.h;h=d53e02a3a029193c3beed26563f94f1b61fe9d9e;hb=7c81ee521e33d47e386d60eb7ccf07b98073542c;hp=395ad4d3a58102c415068f5e9d874d463e9d35e0;hpb=590ede8c5f4771821ff5ac3f3acef0d189525008;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h index 395ad4d..d53e02a 100755 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h @@ -117,9 +117,16 @@ public: */ struct PreeditAttributeData { - PreeditStyle preeditType; /// The preedit style type - unsigned int startIndex; /// The start index of preedit - unsigned int endIndex; /// The end index of preedit + PreeditAttributeData() + : preeditType( PreeditStyle::NONE ), + startIndex( 0 ), + endIndex( 0 ) + { + } + + PreeditStyle preeditType; /// The preedit style type + unsigned int startIndex; /// The start index of preedit + unsigned int endIndex; /// The end index of preedit }; /** @@ -203,6 +210,8 @@ public: typedef Signal< void () > VoidSignalType; typedef Signal< void (bool) > StatusSignalType; + using PreEditAttributeDataContainer = Vector< Dali::InputMethodContext::PreeditAttributeData >; + public: /** @@ -323,11 +332,11 @@ public: void SetPreeditStyle( PreeditStyle type ); /** - * @brief Gets the preedit attrs data. + * @brief Gets the preedit attributes data. * - * @param[out] attrs The preedit attrs data. + * @param[out] attrs The preedit attributes data. */ - void GetPreeditStyle( Vector& attrs ) const; + void GetPreeditStyle( Dali::InputMethodContext::PreEditAttributeDataContainer& attrs ) const; public: