apply alternative for no util-lib
[platform/core/api/system-settings.git] / src / sst_ringtones.h
1 /*
2  * Copyright (c) 2011-2020 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 #pragma once
17
18 #include "sst_core.h"
19
20 int sst_ringtone_get_incoming_call(sst_interface *iface, void **value);
21 int sst_ringtone_set_incoming_call(sst_interface *iface, void *value);
22 int sst_ringtone_add_incoming_call(system_settings_key_e key, void *value);
23 int sst_ringtone_del_incoming_call(system_settings_key_e key, void *value);
24 int sst_ringtone_list_incoming_call(system_settings_key_e key, system_settings_iter_cb callback, void *data);
25
26 int sst_ringtone_get_email_alert(sst_interface *iface, void **value);
27 int sst_ringtone_set_email_alert(sst_interface *iface, void *value);