tizen beta release
[framework/web/wrt-commons.git] / modules / ace / include / dpl / ace-dao-ro / PreferenceTypes.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  *
19  * @file       PreferenceTypes.h
20  * @author     Grzegorz Krawczyk (g.krawczyk@samsung.com)
21  * @version    0.1
22  * @brief
23  */
24
25 #ifndef ACCESS_CONTROL_DAO_PREFERENCETYPES_H_
26 #define ACCESS_CONTROL_DAO_PREFERENCETYPES_H_
27
28 #include <map>
29 #include <string>
30
31 namespace AceDB{
32
33 enum class PreferenceTypes
34 {
35     PREFERENCE_PERMIT,
36     PREFERENCE_DENY,
37     PREFERENCE_DEFAULT,
38     PREFERENCE_BLANKET_PROMPT,
39     PREFERENCE_SESSION_PROMPT,
40     PREFERENCE_ONE_SHOT_PROMPT
41 };
42
43
44 typedef std::map<std::string, PreferenceTypes> PreferenceTypesMap;
45
46 }
47
48 #endif