X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Ffocus-manager%2Fkeyinput-focus-manager.h;h=e54f18f929a3a15ac70145410d3aa4e657923daf;hp=330f0bea028031359ec677a5d53cb1270c2b2bf5;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=4bf366c7c657eacb5cf150fa52e34263ca16218f diff --git a/dali-toolkit/devel-api/focus-manager/keyinput-focus-manager.h b/dali-toolkit/devel-api/focus-manager/keyinput-focus-manager.h index 330f0be..e54f18f 100644 --- a/dali-toolkit/devel-api/focus-manager/keyinput-focus-manager.h +++ b/dali-toolkit/devel-api/focus-manager/keyinput-focus-manager.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_KEYINPUT_FOCUS_MANAGER_H__ -#define __DALI_TOOLKIT_KEYINPUT_FOCUS_MANAGER_H__ +#ifndef DALI_TOOLKIT_KEYINPUT_FOCUS_MANAGER_H +#define DALI_TOOLKIT_KEYINPUT_FOCUS_MANAGER_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,18 +44,14 @@ class KeyInputFocusManager; * | %Signal Name | Method | * |----------------------|-----------------------------------| * | keyInputFocusChanged | @ref KeyInputFocusChangedSignal() | - * | unhandledKeyEvent | @ref UnhandledKeyEventSignal() | */ -class DALI_IMPORT_API KeyInputFocusManager : public BaseHandle +class DALI_TOOLKIT_API KeyInputFocusManager : public BaseHandle { public: // KeyInputFocusChanged typedef Signal< void (Control, Control) > KeyInputFocusChangedSignalType; - // Unhandled Key Event - typedef Signal< void (const KeyEvent&) > UnhandledKeyEventSignalType; - public: /** @@ -103,13 +99,6 @@ public: */ void RemoveFocus(Control control); - /** - * Queries whether a control is currently part of the focus stack. - * @param [in] control which should be queried. - * @return True if it is part of the foucus stack False otherwise. - */ - bool IsKeyboardListener(Control control); - public: // Signals /** @@ -124,16 +113,6 @@ public: // Signals */ KeyInputFocusChangedSignalType& KeyInputFocusChangedSignal(); - /** - * This signal is emitted when a key event was received, and none of the focused controls on the stage have consumed it. - * A callback of the following type may be connected: - * @code - * void YourCallbackName(const KeyEvent& event); - * @endcode - * @return The signal to connect to. - */ - UnhandledKeyEventSignalType& UnhandledKeyEventSignal(); - private: explicit DALI_INTERNAL KeyInputFocusManager(Internal::KeyInputFocusManager *impl); @@ -144,4 +123,4 @@ private: } // namespace Dali -#endif // __DALI_TOOLKIT_KEYINPUT_FOCUS_MANAGER_H__ +#endif // DALI_TOOLKIT_KEYINPUT_FOCUS_MANAGER_H