X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-imf-manager.h;h=392b580a679fb17e2887f80570c9e2168e1cc0f7;hp=d90e9d4dbc2020d435b66be79acbc09dc92f0a36;hb=d07dc4c4a6067ba3080184d862bca40a90d1789c;hpb=ed318176506ba6763f189728d7c14c00e9e0b909 diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-imf-manager.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-imf-manager.h index d90e9d4..392b580 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-imf-manager.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-imf-manager.h @@ -22,6 +22,7 @@ #define __DALI_IMF_MANAGER_H__ #include #include +#include namespace Dali DALI_IMPORT_API { @@ -52,7 +53,8 @@ public: PREEDIT, ///< Pre-Edit changed COMMIT, ///< Commit recieved DELETESURROUNDING, ///< Event to delete a range of characters from the string - GETSURROUNDING ///< Event to query string and cursor position + GETSURROUNDING, ///< Event to query string and cursor position + PRIVATECOMMAND ///< Private command sent from the input panel }; /** @@ -133,6 +135,8 @@ public: typedef Signal< void (ImfManager&) > ImfManagerSignalType; ///< Keyboard actived signal typedef Signal< ImfCallbackData ( ImfManager&, const ImfEventData& ) > ImfEventSignalType; ///< keyboard events + typedef Signal< void () > VoidSignalType; + typedef Signal< void (bool) > StatusSignalType; public: @@ -212,6 +216,17 @@ public: */ const std::string& GetSurroundingText() const; + /** + * @brief Notifies IMF context that text input is set to multi line or not + */ + void NotifyTextInputMultiLine( bool multiLine ); + + /** + * @brief Set one or more of the Input Method options + * @param[in] options The options to be applied + */ + void ApplyOptions( const InputMethodOptions& options ); + public: // Signals @@ -230,6 +245,27 @@ public: */ ImfEventSignalType& EventReceivedSignal(); + /** + * @brief Connect to this signal to be notified when the virtual keyboard is shown or hidden. + * + * @return The signal connect to status changed event. + */ + StatusSignalType& StatusChangedSignal(); + + /** + * @brief Connect to this signal to be notified when the virtual keyboard is resized. + * + * @return The signal to connect to resized event. + */ + VoidSignalType& ResizedSignal(); + + /** + * @brief Connect to this signal to be notified when the virtual keyboard's language is changed. + * + * @return The signal to connect to language changed event. + */ + VoidSignalType& LanguageChangedSignal(); + // Construction & Destruction /**