diff --git a/distributeddatamgr/pasteboard/include/oh_pasteboard.h b/distributeddatamgr/pasteboard/include/oh_pasteboard.h index c4f23689e62cda1c2078e95551e00e5436b4f556..5aa51aa7851ada162e51c4b2875aaf5e671534b2 100644 --- a/distributeddatamgr/pasteboard/include/oh_pasteboard.h +++ b/distributeddatamgr/pasteboard/include/oh_pasteboard.h @@ -72,11 +72,11 @@ typedef enum Pasteboard_FileConflictOption { /** * @brief Overwrite when destUir has file with same name. */ - OH_PASTEBOARD_OVERWRITE = 0, + PASTEBOARD_OVERWRITE = 0, /** * @brief Skip when destUir has file with same name. */ - OH_PASTEBOARD_SKIP = 1 + PASTEBOARD_SKIP = 1 } Pasteboard_FileConflictOption; /** @@ -88,11 +88,11 @@ typedef enum Pasteboard_ProgressIndicator { /** * @brief Getting data without system default progress indicator. */ - OH_PASTEBOARD_NONE = 0, + PASTEBOARD_NONE = 0, /** * @brief Getting data with system default progress indicator. */ - OH_PASTEBOARD_DEFAULT = 1 + PASTEBOARD_DEFAULT = 1 } Pasteboard_ProgressIndicator; /** diff --git a/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h b/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h index aafcb849dccab4fb4abaef8c4bc1c5ecbabedebe..8dba41d2a0cdd3f05a8bcc560328afbef9cafd1e 100644 --- a/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h +++ b/distributeddatamgr/pasteboard/include/oh_pasteboard_err_code.h @@ -78,22 +78,22 @@ typedef enum PASTEBOARD_ErrCode { * @error Copy file failed. * @since 15 */ - OH_PASTEBOARD_COPY_FILE_ERROR = 12900007, + ERR_PASTEBOARD_COPY_FILE_ERROR = 12900007, /** * @error Failed to start progress. * @since 15 */ - OH_PASTEBOARD_PROGRESS_START_ERROR = 12900008, + ERR_PASTEBOARD_PROGRESS_START_ERROR = 12900008, /** * @error Progress exits abnormally. * @since 15 */ - OH_PASTEBOARD_PROGRESS_ABNORMAL = 12900009, + ERR_PASTEBOARD_PROGRESS_ABNORMAL = 12900009, /** * @error Get Data failed. * @since 15 */ - OH_PASTEBOARD_GET_DATA_FAILED = 12900010, + ERR_PASTEBOARD_GET_DATA_FAILED = 12900010, } PASTEBOARD_ErrCode; #ifdef __cplusplus };