11401990f43456a971f91c92969ec3c92b18ff87
[platform/core/connectivity/stc-manager.git] / include / stc-manager-plugin-appstatus.h
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
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 __STC_MANAGER_PLUGIN_APPSTATUS_H__
18 #define __STC_MANAGER_PLUGIN_APPSTATUS_H__
19
20 #define STC_PLUGIN_APPSTATUS_FILEPATH           "/usr/lib/stc-plugin-appstatus.so"
21
22 #include "stc-plugin-appstatus.h"
23
24 int stc_plugin_appstatus_init(void);
25 int stc_plugin_appstatus_deinit(void);
26
27 int stc_plugin_appstatus_send_message(const char *content,
28                 const char *type, const char *app_id, const char *iftype, const char *limit);
29
30 int stc_plugin_appstatus_register_state_changed_cb(stc_s *stc,
31                 stc_plugin_app_state_changed_cb cb, void *data);
32 int stc_plugin_appstatus_deregister_state_changed_cb(stc_s *stc);
33
34 #endif /* __STC_MANAGER_PLUGIN_APPSTATUS_H__ */