2 * Copyright (c) 2016 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 * @brief Get path of resource
19 * @param[in] file_in File name
20 * @param[out] file_path_out The point to which save full path of the resource
21 * @param[in] file_path_max Size of file name include path
23 void data_get_resource_path(const char *file_in, char *file_path_out, int file_path_max)
25 char *res_path = app_get_resource_path();
27 snprintf(file_path_out, file_path_max, "%s%s", res_path, file_in);
33 * @brief Initialization function for data module
35 void data_initialize(void)
38 * If you need to initialize managing data,
39 * please use this function.
44 * @brief Finalization function for data module
46 void data_finalize(void)
49 * If you need to finalize managing data,
50 * please use this function.