1 /*
2  * Copyright (c) 2023-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_DEFERRED_PROCESSING_SERVICE_IPC_INTERFACE_CODE_H
17 #define OHOS_DEFERRED_PROCESSING_SERVICE_IPC_INTERFACE_CODE_H
18 
19 /* SAID: 3008 */
20 namespace OHOS {
21 namespace CameraStandard {
22 namespace DeferredProcessing {
23 /**
24  * @brief Deferred processing service callback remote request code for IPC.
25  *
26  * @since 1.0
27  * @version 1.0
28  */
29 enum DeferredProcessingServiceCallbackInterfaceCode {
30     DPS_PHOTO_CALLBACK_PROCESS_IMAGE_DONE = 0,
31     DPS_PHOTO_CALLBACK_ERROR,
32     DPS_PHOTO_CALLBACK_STATE_CHANGED,
33     DPS_PHOTO_CALLBACK_LOW_QUALITY_IMAGE,
34     DPS_PHOTO_CALLBACK_PROCESS_PICTURE_DONE,
35 };
36 
37 /**
38  * @brief Deferred processing service remote request code for IPC.
39  *
40  * @since 1.0
41  * @version 1.0
42  */
43 enum DeferredProcessingServiceInterfaceCode {
44     DPS_BEGIN_SYNCHRONIZE = 0,
45     DPS_END_SYNCHRONIZE,
46     DPS_ADD_IMAGE,
47     DPS_REMOVE_IMAGE,
48     DPS_RESTORE_IMAGE,
49     DPS_PROCESS_IMAGE,
50     DPS_CANCEL_PROCESS_IMAGE
51 };
52 } //namespace DeferredProcessing
53 } // namespace CameraStandard
54 } // namespace OHOS
55 #endif // OHOS_DEFERRED_PROCESSING_SERVICE_IPC_INTERFACE_CODE_H