Merge "Added ImmutableString class to appfw" into tizen
[platform/framework/native/appfw.git] / inc / FBaseRtIWaitingLoopCondition.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0   
9 //
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.
15 //
16
17 /*
18  * @file        FBaseRtIWaitingLoopCondition.h
19  * @brief       This is the header file for the %IWaitingLoopCondition interface.
20  *
21  */
22 #ifndef _FBASE_RT_WAITING_LOOP_CONDITION_H_
23 #define _FBASE_RT_WAITING_LOOP_CONDITION_H_
24
25
26 namespace Tizen { namespace Base { namespace Runtime
27 {
28 /*
29  * @interface IWaitingLoopCondition
30  * @brief     This interface provides the method to check whether the WaitingLoopCondition is met.
31  *
32  * @since 2.0
33  */
34 class _OSP_EXPORT_ IWaitingLoopCondition
35 {
36 public:
37         /*
38          * 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.
39          *
40          * @since 2.0
41          */
42         virtual ~IWaitingLoopCondition(void) {}
43
44         /*
45          * Check whether the waiting loop condition is met
46          *
47          * @since 2.0
48          *
49          */
50         virtual bool IsMet(void) = 0;
51
52 }; // IWaitingLoopCondition
53
54 } } } // Tizen::Runtime
55
56 #endif // _FBASE_RT_I_WAITING_LOOP_CONDITION_H_