2 * Copyright (c) 2019 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.
17 * @file common_utils.h
18 * @author Yunjin Lee (yunjin-.lee@samsung.com)
23 #ifndef __UI_PRIVACY_SETTING_COMMON_UTILS_H_
24 #define __UI_PRIVACY_SETTING_COMMON_UTILS_H_
26 #include <Elementary.h>
30 #include <app_control_internal.h>
38 #define return_if(condition, expr, returnValue, ...) \
45 #define lreturn_if(condition, expr, returnValue, ...) \
52 #define log_if(condition, level, ...) \
67 typedef struct _app_data_s {
73 Evas_Object *checkbox;
89 privacy_data_s* new_privacy_data();
91 //void init_app_data(app_data_s *ad);
92 void free_app_data(app_data_s *ad);
98 #endif /* __UI_PRIVACY_SETTING_COMMON_UTILS_H_ */