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.
19 * @file FUiIClipboardPopupEventListener.h
20 * @brief This is the header file for the %IClipboardPopupEventListener interface.
22 * This header file contains the declarations of the %IClipboardPopupEventListener interface. @n
23 * If the item event is generated, a method of this interface will be called. @n
24 * The applications that perform tasks related to the item event, must call methods of this interface.
27 #ifndef _FUI_ICLIPBOARD_POPUP_EVENT_LISTENER_H_
28 #define _FUI_ICLIPBOARD_POPUP_EVENT_LISTENER_H_
30 #include <FBaseRtIEventListener.h>
32 namespace Tizen { namespace Ui
37 * @interface IClipboardPopupEventListener
38 * @brief This interface defines the listener for clipboard pop-up events.
42 * The %IClipboardPopupEventListener interface is the listener interface for receiving clipboard pop-up events.
44 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/clipboard.htm">Clipboard</a>.
46 class _OSP_EXPORT_ IClipboardPopupEventListener
47 : virtual public Tizen::Base::Runtime::IEventListener
51 * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes are called when the destructor of this interface is called.
55 virtual ~IClipboardPopupEventListener(void) {}
58 * Called when the clipboard popup is closed by user interaction.
62 * @param[in] pClipboardItem The pointer to ClipboardItem that
64 * else @c null if no item is selected
65 * @remarks @c pClipboardItem is deleted by the system after this method call.
67 virtual void OnClipboardPopupClosed(const ClipboardItem* pClipboardItem) = 0;
71 // This method is for internal use only. Using this method can cause behavioral, security-related,
72 // and consistency-related issues in the application.
74 // This method is reserved and may change its name at any time without prior notice.
76 virtual void IClipboardPopupEventListener_Reserved1(void) {}
79 // This method is for internal use only. Using this method can cause behavioral, security-related,
80 // and consistency-related issues in the application.
82 // This method is reserved and may change its name at any time without prior notice.
84 virtual void IClipboardPopupEventListener_Reserved2(void) {}
87 // This method is for internal use only. Using this method can cause behavioral, security-related,
88 // and consistency-related issues in the application.
90 // This method is reserved and may change its name at any time without prior notice.
92 virtual void IClipboardPopupEventListener_Reserved3(void) {}
93 }; // IClipboardPopupEventListener
97 #endif //_FUI_ICLIPBOARD_POPUP_EVENT_LISTENER_H_