9892745fd3858cb066ed8b470ee37eaaa651dcf6
[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 = 0,
43         MATCH_EXACTLY = 1 << 0,
44         MATCH_CONTAINS = 1 << 1,
45         MATCH_STARTSWITH = 1 << 2,
46         MATCH_ENDSWIDTH = 1 << 3,
47         MATCH_EXISTS = 1 << 4
48 };
49
50 enum SortOrder
51 {
52         ASCENDING_SORT_ORDER = 1,
53         DESCENDING_SORT_ORDER = 2
54 };
55
56 } // TizenApis
57 } // Api
58 } // TizenApis
59
60 #endif // _API_FILTER_TYPES_H_
61