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 LOG_TAG "MODE_SYSPOPUP"
57 #define _DBG(fmt, arg...) LOGD(fmt, ##arg)
58 #define _INFO(fmt, arg...) LOGI(fmt, ##arg)
59 #define _ERR(fmt, arg...) LOGE(fmt, ##arg)
61 #define _DBG(fmt, arg...)
62 #define _INFO(fmt, arg...)
63 #define _ERR(fmt, arg...)
66 #define goto_if(expr, val) do { \
68 _ERR("(%s) -> goto", #expr); \