Flush app registry before releasing file lock
[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  * This header file contains the declarations of the %IWaitingLoopCondition interface.
22  */
23 #ifndef _FBASE_RT_WAITING_LOOP_CONDITION_H_
24 #define _FBASE_RT_WAITING_LOOP_CONDITION_H_
25
26
27 namespace Tizen { namespace Base { namespace Runtime
28 {
29 /*
30  * @interface IWaitingLoopCondition
31  * @brief     This interface provides a method to check whether the WaitingLoopCondition is met.
32  *
33  * @since 2.0
34  */
35 class _OSP_EXPORT_ IWaitingLoopCondition
36 {
37 public:
38         /*
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.
41          *
42          * @since 2.0
43          */
44         virtual ~IWaitingLoopCondition(void) {}
45
46         /*
47          * Checks whether the waiting loop condition is met.
48          *
49          * @since 2.0
50          *
51          */
52         virtual bool IsMet(void) = 0;
53
54 }; // IWaitingLoopCondition
55
56 } } } // Tizen::Runtime
57
58 #endif // _FBASE_RT_I_WAITING_LOOP_CONDITION_H_