2 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #include <syspopup_caller.h>
23 #include <bundle_internal.h>
27 #include "stc-plugin.h"
29 void stc_plugin_initialize(void)
31 stc_plugin_exception_init();
34 void stc_plugin_deinitialize(void)
36 stc_plugin_exception_deinit();
39 API stc_plugin_s stc_plugin = {
41 stc_plugin_initialize,
42 .deinitialize_plugin =
43 stc_plugin_deinitialize,
44 .send_warn_message_to_net_popup =
45 stc_plugin_popup_send_restriction_message,
46 .send_restriction_message_to_net_popup =
47 stc_plugin_popup_send_restriction_message,
48 .register_state_changed_cb =
49 stc_plugin_appstatus_register_changed_cb,
50 .deregister_state_changed_cb =
51 stc_plugin_appstatus_deregister_changed_cb,
52 .fill_exception_list =
53 stc_plugin_exception_fill_list,
54 .update_exception_list =
55 stc_plugin_exception_update_list,
56 .check_exception_by_cmdline =
57 stc_plugin_exception_check_by_cmdline