Update doxygen
[platform/framework/native/appfw.git] / inc / FIoDbTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
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.
16 //
17
18 /**
19  * @file        FIoDbTypes.h
20  * @brief       This is the header file for the %DbColumnType enumerator.
21  *
22  * This header file contains the declarations of the %DbColumnType enumerator.
23  */
24
25 #ifndef _FIO_DB_TYPES_H_
26 #define _FIO_DB_TYPES_H_
27
28 namespace Tizen { namespace Io
29 {
30
31 #define DB_OPEN_READ_ONLY   (0x00000001L)
32 #define DB_OPEN_READ_WRITE  (0x00000002L)
33 #define DB_OPEN_CREATE      (0x00000004L)
34
35 /**
36  * @enum        DbColumnType
37  *
38  * Defines the column types.
39  *
40  * @since       2.0
41  */
42 enum DbColumnType
43 {
44         DB_COLUMNTYPE_INT = 0,  /**< The column type is 4bytes integer */
45         DB_COLUMNTYPE_INT64,    /**< The column type is 8bytes integer */
46         DB_COLUMNTYPE_DOUBLE,   /**< The column type is double */
47         DB_COLUMNTYPE_TEXT,     /**< The column type is text */
48         DB_COLUMNTYPE_BLOB,     /**< The column type is blob */
49         DB_COLUMNTYPE_NULL,     /**< The column type is @c null */
50         DB_COLUMNTYPE_UNDEFINED
51 };
52
53 }} // Tizen::Io
54
55 #endif //_FIO_DB_TYPES_H_
56