1 /* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef OHOS_FILEMGMT_CLOUD_FILE_SYNC_SERVICE_INTERFACE_CODE_H 17 #define OHOS_FILEMGMT_CLOUD_FILE_SYNC_SERVICE_INTERFACE_CODE_H 18 19 /* SAID:5204 */ 20 namespace OHOS::FileManagement::CloudSync { 21 enum class CloudFileSyncServiceInterfaceCode { 22 SERVICE_CMD_UNREGISTER_CALLBACK, 23 SERVICE_CMD_REGISTER_CALLBACK, 24 SERVICE_CMD_START_SYNC, 25 SERVICE_CMD_STOP_SYNC, 26 SERVICE_CMD_CHANGE_APP_SWITCH, 27 SERVICE_CMD_NOTIFY_DATA_CHANGE, 28 SERVICE_CMD_ENABLE_CLOUD, 29 SERVICE_CMD_DISABLE_CLOUD, 30 SERVICE_CMD_CLEAN, 31 SERVICE_CMD_START_DOWNLOAD_FILE, 32 SERVICE_CMD_STOP_DOWNLOAD_FILE, 33 SERVICE_CMD_REGISTER_DOWNLOAD_FILE_CALLBACK, 34 SERVICE_CMD_UNREGISTER_DOWNLOAD_FILE_CALLBACK, 35 SERVICE_CMD_UPLOAD_ASSET, 36 SERVICE_CMD_DOWNLOAD_FILE 37 }; 38 } // namespace OHOS::FileManagement::CloudSync 39 40 #endif // OHOS_FILEMGMT_CLOUD_FILE_SYNC_SERVICE_INTERFACE_CODE_H