return STC_ERROR_NONE;
}
-int stc_plugin_appstatus_send_warn_message(const char *content,
- const char *type, const char *app_id, const char *iftype, const char *warn)
-{
- __STC_LOG_FUNC_ENTER__;
-
- if (!stc_plugin_enabled) {
- STC_LOGE("Plugin wasn't enabled");
- __STC_LOG_FUNC_EXIT__;
- return STC_ERROR_UNINITIALIZED;
- }
-
- if (!stc_plugin) {
- STC_LOGE("Plugin wasn't loaded");
- __STC_LOG_FUNC_EXIT__;
- return STC_ERROR_UNINITIALIZED;
- }
-
- __STC_LOG_FUNC_EXIT__;
- return stc_plugin->send_warn_message_to_net_popup(content,
- type, app_id, iftype, warn);
-}
-
-int stc_plugin_appstatus_send_restriction_message(const char *content,
+int stc_plugin_appstatus_send_message(const char *content,
const char *type, const char *app_id, const char *iftype, const char *limit)
{
__STC_LOG_FUNC_ENTER__;
}
__STC_LOG_FUNC_EXIT__;
- return stc_plugin->send_restriction_message_to_net_popup(content,
- type, app_id, iftype, limit);
+ return stc_plugin->send_message_to_net_popup(content,
+ type, app_id, iftype, limit);
}
int stc_plugin_appstatus_register_state_changed_cb(stc_s *stc,