diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 15:45:54 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 15:45:54 +0900 |
commit | f5b2937589fc5a8fa903066610d73c464b36c6f7 (patch) | |
tree | 75ff9a6c27fbb3b41ed94f98d69c398128839e57 /src/include/mf-ug-media-error.h | |
parent | 9148856fd3adaaef7f2c719e8d3e97ff181e89cc (diff) | |
download | ug-myfile-efl-accepted/tizen_2.4_mobile.tar.gz ug-myfile-efl-accepted/tizen_2.4_mobile.tar.bz2 ug-myfile-efl-accepted/tizen_2.4_mobile.zip |
tizen 2.4 releasetizen_2.4_mobile_releasesubmit/tizen_2.4/20151028.062727accepted/tizen/2.4/mobile/20151029.041100accepted/tizen_2.4_mobile
Diffstat (limited to 'src/include/mf-ug-media-error.h')
-rw-r--r-- | src/include/mf-ug-media-error.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/include/mf-ug-media-error.h b/src/include/mf-ug-media-error.h new file mode 100644 index 0000000..4240e99 --- /dev/null +++ b/src/include/mf-ug-media-error.h @@ -0,0 +1,49 @@ +/* +* Copyright (c) 2000-2015 Samsung Electronics Co., Ltd All Rights Reserved +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* 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 __MF_UG_MEDIA_ERROR_H_DEF__ +#define __MF_UG_MEDIA_ERROR_H_DEF__ + + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +//Error types definition +#define MFD_ERROR_NONE 0 /**< base */ +#define MFD_ERROR_INVALID_PARAMETER -1 /**< invalid parameter(s) */ +#define MFD_ERROR_INVALID_MEDIA -2 /**< invalid or unknown media */ +#define MFD_ERROR_FILE_NOT_EXSITED -3 /**< file doesn't exist */ +#define MFD_ERROR_DIR_NOT_EXSITED -4 /**< folder doesn't exist */ +#define MFD_ERROR_FILE_EXSITED -5 /**< file doesn't exist */ + + +#define MFD_ERROR_DB_CONNECT -201 /**< connect DB error */ +#define MFD_ERROR_DB_DISCONNECT -202 /**< disconnect DB error */ +#define MFD_ERROR_DB_CREATE_TABLE -203 /**< create table error */ +#define MFD_ERROR_DB_NO_RECORD -204 /**< No record */ +#define MFD_ERROR_DB_INTERNAL -206 /**< internal db error */ + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /*__MF_MEDIA_ERROR_H_DEF__*/ + + + |