2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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.
18 #ifndef __TIZEN_SYSTEM_SETTING_JSON_H__
19 #define __TIZEN_SYSTEM_SETTING_JSON_H__
23 #include <glib-object.h>
24 #include <json-glib/json-glib.h>
26 //#define USE_JSONFILE
33 JsonParser* ss_json_ringtone_open_file(char* path);
34 JsonParser* ss_json_ringtone_load_from_data();
36 void ss_json_ringtone_add(JsonNode *root, char* filename, char* nameval, char* pathval);
38 void ss_json_ringtone_print(JsonNode *root);
40 void ss_json_ringtone_remove(JsonNode *root, char* filename, char* path_to_del);
42 bool ss_json_ringtone_contain(JsonNode *root, char* newfile);
44 void ss_json_ringtone_list(JsonNode *root);
51 #endif /* __TIZEN_SYSTEM_SETTING_JSON_H__ */