2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FBaseRtITimerEventListener.h
19 * @brief This is the header file for the %ITimerEventListener interface.
21 * This header file contains the declarations of the %ITimerEventListener interface.
23 #ifndef _FBASE_RT_I_TIMER_EVENT_LISTENER_H_
24 #define _FBASE_RT_I_TIMER_EVENT_LISTENER_H_
27 #include <FBaseResult.h>
28 #include <FBaseRtIEventListener.h>
31 namespace Tizen { namespace Base { namespace Runtime
36 * @interface ITimerEventListener
37 * @brief This interface is the listener of the timer event.
41 * The %ITimerEventListener interface is the listener of the timer event.
43 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/base/timer.htm">Timer</a>.
47 class _OSP_EXPORT_ ITimerEventListener
48 : virtual public IEventListener
52 * This is the destructor for this class.
56 virtual ~ITimerEventListener(void) {}
59 * Called when the timer has expired.
63 * @param[in] timer The timer that has expired
65 virtual void OnTimerExpired(Timer& timer) = 0;
67 }; // ITimerEventListener
69 } } } // Tizen::Runtime
72 #endif // _FBASE_RT_I_TIMER_EVENT_LISTENER_H_