Enable build with iniparser v 3.1
[platform/framework/native/appfw.git] / inc / FIoDbTypes.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        FIoDbTypes.h
19  * @brief       This is the header file for the %DbColumnType enumerator.
20  *
21  * This header file contains the declarations of the DbColumnType enumerator.
22  */
23
24 #ifndef _FIO_DB_TYPES_H_
25 #define _FIO_DB_TYPES_H_
26
27 namespace Tizen { namespace Io
28 {
29
30 #define DB_OPEN_READ_ONLY   (0x00000001L)
31 #define DB_OPEN_READ_WRITE  (0x00000002L)
32 #define DB_OPEN_CREATE      (0x00000004L)
33
34 /**
35  * @enum        DbColumnType
36  *
37  * Defines the column types.
38  *
39  * @since       2.0
40  */
41 enum DbColumnType
42 {
43         DB_COLUMNTYPE_INT = 0,  /**< The column type is 4bytes integer */
44         DB_COLUMNTYPE_INT64,    /**< The column type is 8bytes integer */
45         DB_COLUMNTYPE_DOUBLE,   /**< The column type is double */
46         DB_COLUMNTYPE_TEXT,     /**< The column type is text */
47         DB_COLUMNTYPE_BLOB,     /**< The column type is blob */
48         DB_COLUMNTYPE_NULL,     /**< The column type is @c null */
49         DB_COLUMNTYPE_UNDEFINED
50 };
51
52 }} // Tizen::Io
53
54 #endif //_FIO_DB_TYPES_H_
55