2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FUiCtrlIFormBackEventListener.h
19 * @brief This is the header file for the %IFormBackEventListener interface.
21 * This header file contains the declarations of the %IFormBackEventListener interface.
23 #ifndef _FUI_CTRL_IFORM_BACK_EVENT_LISTENER_H_
24 #define _FUI_CTRL_IFORM_BACK_EVENT_LISTENER_H_
27 #include <FBaseRtIEventListener.h>
29 // namespace declaration
30 namespace Tizen { namespace Ui { namespace Controls
36 * @interface IFormBackEventListener
37 * @brief This interface implements the listener for Form-related events.
41 * The %IFormBackEventListener interface is the listener interface for receiving Form-related back button events.
43 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/implementing_form.htm">Form</a>.
45 class IFormBackEventListener
46 : virtual public Tizen::Base::Runtime::IEventListener
51 * This is the destructor for this class.
55 virtual ~IFormBackEventListener(void) {}
60 * Called when the current Form control needs to be closed to revert back to the previous %Form control.
64 * @param[in] source The source of the event
65 * @remarks This event is fired when the user clicks on the software 'back' button on the Footer control, or the hardware back button on the
68 virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source) = 0;
73 //This method is for internal use only. Using this method can cause behavioral, security-related,
74 //and consistency-related issues in the application.
76 // This method is reserved and may change its name at any time without
81 virtual void IFormBackEventListener_Reserved1(void) { }
84 //This method is for internal use only. Using this method can cause behavioral, security-related,
85 //and consistency-related issues in the application.
87 // This method is reserved and may change its name at any time without
92 virtual void IFormBackEventListener_Reserved2(void) { }
95 //This method is for internal use only. Using this method can cause behavioral, security-related,
96 //and consistency-related issues in the application.
98 // This method is reserved and may change its name at any time without
103 virtual void IFormBackEventListener_Reserved3(void) { }
104 }; // IFormBackEventListener
106 }}} // Tizen::Ui::Controls
108 #endif // _FUI_CTRL_IFORM_BACK_EVENT_LISTENER_H_