2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FBaseRtTypes.h
20 * @brief This is the header file for types in the Runtime package.
22 * This header file defines the types in the Runtime package.
24 #ifndef _FBASE_RT_TYPES_H_
25 #define _FBASE_RT_TYPES_H_
27 #include <FBaseTypes.h>
29 namespace Tizen { namespace Base { namespace Runtime
33 * This method is for internal use only. Using this method can cause behavioral, security-related,
34 * and consistency-related issues in the application.
40 TIMER_STATUS_NOT_ACTIVATED, // This enum value is for internal use only. Using this enum can cause behavioral, security-related, and consistency-related issues in the application.
41 TIMER_STATUS_ACTIVATED, // This enum value is for internal use only. Using this enum can cause behavioral, security-related, and consistency-related issues in the application.
42 TIMER_STATUS_CANCELED, // This enum value is for internal use only. Using this enum can cause behavioral, security-related, and consistency-related issues in the application.
43 TIMER_STATUS_EXPIRED, // This enum value is for internal use only. Using this enum can cause behavioral, security-related, and consistency-related issues in the application.
44 TIMER_STATUS_ACTIVATED_REPEATABLE, // This enum value is for internal use only. Using this enum can cause behavioral, security-related, and consistency-related issues in the application.
49 * @brief This struct is used only for supporting non-blocking acquisition of a resource
51 * This struct is used for just discriminating between blocking and non-blocking acquisition
52 * of a resource. So, the definition is empty.
65 * @brief Used only for for just discriminating between blocking and non-blocking acquisition
71 * MutexGuard guard(m, Try);
72 * // Access to shared resources
78 * SemaphoreGuard guard(s, Try);
79 * // Access to multiple shared resources
83 static const TryTag Try = {};
85 } } } // Tizen::Runtime
87 #endif // _FBASE_RT_TYPES_H_