404dd9e360030de28bd7fe25311f9b62e5a91164
[apps/home/minicontrol.git] / include / minicontrol-monitor.h
1 /*
2  * Copyright (c)  2013-2015 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 #ifndef _MINICTRL_MONITOR_H_
18 #define _MINICTRL_MONITOR_H_
19
20 #include <minicontrol-error.h>
21 #include <minicontrol-type.h>
22 #include <minicontrol-internal.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 typedef void (*minicontrol_monitor_cb) (minicontrol_action_e action,
29                                         const char *name,
30                                         unsigned int width,
31                                         unsigned int height,
32                                         minicontrol_priority_e priority,
33                                         void *data);
34
35 int minicontrol_monitor_start(minicontrol_monitor_cb callback, void *data) DEPRECATED;
36
37 int minicontrol_monitor_stop(void) DEPRECATED;
38
39 #ifdef __cplusplus
40 }
41 #endif
42 #endif /* _MINICTRL_MONITOR_H_ */
43