Add unit test to increase coverage
[platform/core/api/system-settings.git] / src / sst_time_N_locale.h
1 /*
2  * Copyright (c) 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_interface.h"
19
20 int sst_locale_get_country(sst_interface *iface, char **value);
21 int sst_locale_set_country(sst_interface *iface, const char *value);
22 int sst_locale_get_language(sst_interface *iface, char **value);
23 int sst_locale_set_language(sst_interface *iface, const char *value);
24 int sst_locale_get_timeformat_24hour(sst_interface *iface, bool *value);
25 int sst_locale_set_timeformat_24hour(sst_interface *iface, bool is_24hour);
26 int sst_locale_get_timezone(sst_interface *iface, char **value);
27 int sst_locale_set_timezone(sst_interface *iface, const char *timezone);
28 int sst_time_get_changed(sst_interface *iface, int *value);