4 * Copyright 2012 Samsung Electronics Co., Ltd
6 * Licensed under the Flora License, Version 1.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.tizenopensource.org/license
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
26 #define PACKAGE "mode-syspopup"
29 #if !defined(LOCALEDIR)
30 #define LOCALEDIR "/usr/apps/org.tizen.mode-syspopup/res/locale"
38 #define retv_if(expr, val) do { \
45 #define ret_if(expr) do { \
52 #define retm_if(expr, fmt, arg...) do { \
60 #define retvm_if(expr, val, fmt, arg...) do { \
68 #define LOG_TAG "MODE_SYSPOPUP"
73 #define _DBG(fmt, arg...) LOGD(fmt, ##arg)
74 #define _INFO(fmt, arg...) LOGI(fmt, ##arg)
75 #define _ERR(fmt, arg...) LOGE(fmt, ##arg)
77 #define _DBG(fmt, arg...)
78 #define _INFO(fmt, arg...)
79 #define _ERR(fmt, arg...)
82 #define goto_if(expr, val) do { \
84 _ERR("(%s) -> goto", #expr); \