2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 #include <Elementary.h>
21 #define LOG_TAG "IMAGE-VIEWER"
23 #define IV_MSG_FATAL(fmt, arg...) \
25 LOGE("[%s : %05d]" fmt "\n", __func__, __LINE__, ##arg); \
28 #define IV_MSG_ERROR(fmt, arg...) LOGE("[%s : %05d]" fmt "\n", __func__, __LINE__, ##arg)
29 #define IV_MSG_HIGH(fmt, arg...) LOGE("[%s : %05d]" fmt "\n", __func__, __LINE__, ##arg)
31 #define IV_ASSERT(expr) \
35 IV_MSG_FATAL("[%s] ASSERT : " #expr , __func__ ); \
41 #define iv_ret_if(expr) do { \
43 fprintf(stderr, "(%s) -> %s:%d() return\n", #expr, __func__, __LINE__); \
48 #define iv_retv_if(expr, val) do { \
50 fprintf(stderr, "(%s) -> %s():%d return\n", #expr, __func__, __LINE__); \
60 Evas_Object* win_main;
63 Evas_Object* ug_layout;
68 const char* iv_param_path;
70 service_h service_handle;