2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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
8 * http://www.tizenopensource.org/license
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.
17 #ifndef _MINICTRL_TYPE_H_
18 #define _MINICTRL_TYPE_H_
21 * @file minicontrol-type.h
22 * @brief minicontrol library type
26 * @addtogroup MINICONTROL_TYPE
31 * @breief Enumeration describing type of events originated by minicontrol provider
33 typedef enum _minicontrol_action {
34 MINICONTROL_ACTION_START = 0,
35 MINICONTROL_ACTION_STOP,
36 MINICONTROL_ACTION_RESIZE,
37 MINICONTROL_ACTION_REQUEST,
38 } minicontrol_action_e;
41 * @breief Enumeration describing priority of minicontrol provider
44 MINICONTROL_PRIORITY_TOP = 1000,
45 MINICONTROL_PRIORITY_MIDDLE = 100,
46 MINICONTROL_PRIORITY_LOW = 1,
47 }minicontrol_priority_e;
50 * @breief Enumeration describing type of actions
53 MINICONTROL_REQ_NONE = 0,
58 MINICONTROL_REQ_HIDE_VIEWER = 100,
59 MINICONTROL_REQ_FREEZE_SCROLL_VIEWER,
60 MINICONTROL_REQ_UNFREEZE_SCROLL_VIEWER,
61 MINICONTROL_REQ_REPORT_VIEWER_ANGLE,
66 MINICONTROL_REQ_ROTATE_PROVIDER = 200,
67 MINICONTROL_REQ_PROVIDER_PAUSE = 201,
68 MINICONTROL_REQ_PROVIDER_RESUME = 202,
69 }minicontrol_request_e;
71 enum _minictrl_PROC_DBUS_TYPE {
72 MINICONTROL_DBUS_PROC_EXCLUDE,
73 MINICONTROL_DBUS_PROC_INCLUDE,
80 #endif /* _MINICTRL_TYPE_H_ */