/* * Copyright (c) 2015 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license/ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef __ATTACH_PANEL_DOCUMENT_H__ #define __ATTACH_PANEL_DOCUMENT_H__ #include "doc-data-util.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define DOC_UG_RES_DIR PREFIX"/res/" #define DOC_EDJ_DIR DOC_UG_RES_DIR"edje/"PACKAGE"/" #define DOC_EDJ_FILE DOC_EDJ_DIR"attach-panel-document.edj" #define DOC_GRP_LISTVIEW "document/listview" #define DOC_BUNDLE_LAUNCH_TYPE "launch-type" #define DOC_BUNDLE_SELECTION_MODE_SINGLE "single" #define DOC_BUNDLE_SELECTION_MODE_MULTI "multiple" #define DOC_BUNDLE_FILE_TYPE "file-type" #define DOC_LAUNCH_SELECT_ONE "select-one" #define DOC_LAUNCH_SELECT_MULTIPLE "select-multiple" #define DOC_FILE_TYPE_IMAGE "image" #define DOC_FILE_TYPE_VIDEO "video" #define DOC_FILE_SELECT_RETURN_COUNT "count" #define DOC_FILE_SELECT_RETURN_PATH "path" /* MIME type */ #define DOC_MIME_IMAGE_ALL "image/*" #define DOC_MIME_VIDEO_ALL "video/*" #define DOC_NAVIFRAME_POP_CB_KEY "doc_naviframe_pop_cb_key" #define DOC_IF_DEL_TIMER(timer) if (timer) { ecore_timer_del(timer); timer = NULL; } #define DOC_IF_DEL_IDLER(idler) if (idler) { ecore_idler_del(idler); idler = NULL; } #define DOC_IF_DEL_OBJ(obj) if (obj) { evas_object_del(obj); obj = NULL; } #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __ATTACH_PANEL_DOCUMENT_H__ */