2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 FShellIAppWidgetViewEventListener.h
20 * @brief This is the header file for the %IAppWidgetViewEventListener interface.
22 * This header file contains the declarations of the %IAppWidgetViewEventListener interface.
25 #ifndef _FSHELL_IAPP_WIDGET_VIEW_EVENT_LISTENER_H_
26 #define _FSHELL_IAPP_WIDGET_VIEW_EVENT_LISTENER_H_
28 #include <FBaseRtIEventListener.h>
30 namespace Tizen { namespace Shell
36 * @interface IAppWidgetViewEventListener
37 * @brief This interface defines a listener for the AppWidgetView that receives AppWidgetProvider removed event.
41 * The %IAppWidgetViewEventListener interface defines a listener for the AppWidgetView that receives AppWidgetProvider removed event.
43 class _OSP_EXPORT_ IAppWidgetViewEventListener
44 : public Tizen::Base::Runtime::IEventListener
48 * This polymorphic destructor should be overridden if required.
\r
49 * This way, the destructors of the derived classes are called when the destructor of this interface is called.
\r
53 virtual ~IAppWidgetViewEventListener(void) {}
56 * Called when a AppWidgetProvider instance is about to be removed. @n
60 * @param[in] appWidgetView The source of the event
62 virtual void OnAppWidgetProviderRemoved(AppWidgetView& appWidgetView) = 0;
66 // This method is for internal use only. Using this method can cause behavioral, security-related,
\r
67 // and consistency-related issues in the application.
\r
69 // Following method is reserved and may change its name at any time without prior notice.
\r
71 virtual void IAppWidgetViewEventListener_Reserved1(void) {}
\r
74 // This method is for internal use only. Using this method can cause behavioral, security-related,
\r
75 // and consistency-related issues in the application.
\r
77 // Following method is reserved and may change its name at any time without prior notice.
\r
79 virtual void IAppWidgetViewEventListener_Reserved2(void) {}
\r
82 // This method is for internal use only. Using this method can cause behavioral, security-related,
\r
83 // and consistency-related issues in the application.
\r
85 // Following method is reserved and may change its name at any time without prior notice.
\r
87 virtual void IAppWidgetViewEventListener_Reserved3(void) {}
\r
90 // This method is for internal use only. Using this method can cause behavioral, security-related,
\r
91 // and consistency-related issues in the application.
\r
93 // Following method is reserved and may change its name at any time without prior notice.
\r
95 virtual void IAppWidgetViewEventListener_Reserved4(void) {}
\r
98 // This method is for internal use only. Using this method can cause behavioral, security-related,
\r
99 // and consistency-related issues in the application.
\r
101 // Following method is reserved and may change its name at any time without prior notice.
\r
103 virtual void IAppWidgetViewEventListener_Reserved5(void) {}
108 #endif /* _FSHELL_IAPP_WIDGET_VIEW_EVENT_LISTENER_H_ */