Merge "Update deprecated libprivilege-control API functions." into tizen
[platform/framework/native/appfw.git] / inc / FBaseUtilTypes.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                FBaseUtilTypes.h
19  * @brief               This is the header file for various utilities.
20  *
21  * This header file contains the descriptions of various utilities.
22  */
23
24 #ifndef _FBASE_UTIL_TYPES_H_
25 #define _FBASE_UTIL_TYPES_H_
26
27 namespace Tizen { namespace Base { namespace Utility
28 {
29
30
31 /**
32  *      @enum   CompressionLevel
33  *
34  *      Defines the compression level.
35  *
36  *      @since 2.0
37  */
38 enum CompressionLevel
39 {
40         BEST_SPEED = 0,                 /**< The compression level for best speed */
41         BEST_COMPRESSION,               /**< The compression level for best compression */
42         DEFAULT_COMPRESSION             /**< The compression level for average speed and average compression */
43 };
44
45
46 /**
47  *      @enum LinkType
48  *
49  *      Defines the possible link types.
50  *
51  *      @since 2.0
52  */
53 enum LinkType
54 {
55         LINK_TYPE_NONE = 0x0000,        /**< The no link type */
56         LINK_TYPE_URL = 0x0001,         /**< The URL link type */
57         LINK_TYPE_EMAIL = 0x0002,       /**< The email link type */
58         LINK_TYPE_TEL_NUM = 0x0004,     /**< The telephone number link type */
59         LINK_TYPE_APPCONTROL = 0x0008,  /**< The AppControl link type */
60         LINK_TYPE_MIME = 0x0010,        /**< The MIME link type */
61         LINK_TYPE_MAX = 0x7FFF          /*<  Not Used. The placeholder */
62 };
63
64 }}} // Tizen::Base::Utility
65
66 #endif /* _FBASE_UTIL_TYPES_H_ */