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.
20 * @brief This is the header file for the %DbColumnType enumerator.
22 * This header file contains the declarations of the %DbColumnType enumerator.
25 #ifndef _FIO_DB_TYPES_H_
26 #define _FIO_DB_TYPES_H_
28 namespace Tizen { namespace Io
31 #define DB_OPEN_READ_ONLY (0x00000001L)
32 #define DB_OPEN_READ_WRITE (0x00000002L)
33 #define DB_OPEN_CREATE (0x00000004L)
38 * Defines the column types.
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
55 #endif //_FIO_DB_TYPES_H_