Beta merge 2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Filter / FilterTypes.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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       FilterTypes.h
19  * @author     Kisub Song (kisubs.song@samsung.com)
20  * @version    0.1
21  * @brief
22  */
23
24 #ifndef _API_FILTER_TYPES_H_
25 #define _API_FILTER_TYPES_H_
26
27 namespace TizenApis {
28 namespace Api {
29 namespace Tizen {
30
31 enum FilterType
32 {
33         UNION_FILTER,
34         INTERSECTION_FILTER,
35         ATTRIBUTE_FILTER,
36         ATTRIBUTE_RANGE_FILTER,
37     FILTERTYPE_COUNT
38 };
39
40 enum MatchFlag
41 {
42         MATCH_NONE,
43         MATCH_EXACTLY,
44         MATCH_FULLSTRING,
45         MATCH_CONTAINS,
46         MATCH_STARTSWITH,
47         MATCH_ENDSWITH,
48         MATCH_EXISTS
49 };
50
51 enum SortOrder
52 {
53         ASCENDING_SORT_ORDER = 1,
54         DESCENDING_SORT_ORDER = 2
55 };
56
57 } // TizenApis
58 } // Api
59 } // TizenApis
60
61 #endif // _API_FILTER_TYPES_H_
62