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.
22 #ifndef _FBASE_RT_I_TIMER_EVENT_LISTENER_H_
23 #define _FBASE_RT_I_TIMER_EVENT_LISTENER_H_
26 #include <FBaseResult.h>
27 #include <FBaseRtIEventListener.h>
30 namespace Tizen { namespace Base { namespace Runtime
35 * @interface ITimerEventListener
36 * @brief This interface is the listener of the timer event.
40 * The %ITimerEventListener interface is the listener of the timer event.
42 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/base/timer.htm">Timer</a>.
46 class _OSP_EXPORT_ ITimerEventListener
47 : virtual public IEventListener
51 * This is the destructor for this class.
55 virtual ~ITimerEventListener(void) {}
58 * Called when the timer has expired.
62 * @param[in] timer The timer that has expired
64 virtual void OnTimerExpired(Timer& timer) = 0;
66 }; // ITimerEventListener
68 } } } // Tizen::Runtime
71 #endif // _FBASE_RT_I_TIMER_EVENT_LISTENER_H_