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 FBaseRtIWaitingLoopCondition.h
19 * @brief This is the header file for the %IWaitingLoopCondition interface.
21 * This header file contains the declarations of the %IWaitingLoopCondition interface.
23 #ifndef _FBASE_RT_WAITING_LOOP_CONDITION_H_
24 #define _FBASE_RT_WAITING_LOOP_CONDITION_H_
27 namespace Tizen { namespace Base { namespace Runtime
30 * @interface IWaitingLoopCondition
31 * @brief This interface provides a method to check whether the WaitingLoopCondition is met.
35 class _OSP_EXPORT_ IWaitingLoopCondition
39 * This polymorphic destructor should be overridden if required. @n
40 * This way, the destructors of the derived classes are called when the destructor of this interface is called.
44 virtual ~IWaitingLoopCondition(void) {}
47 * Checks whether the waiting loop condition is met.
52 virtual bool IsMet(void) = 0;
54 }; // IWaitingLoopCondition
56 } } } // Tizen::Runtime
58 #endif // _FBASE_RT_I_WAITING_LOOP_CONDITION_H_