1 /*
2 * Copyright (c) 2024 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 * Copyright (c) 2024 Huawei Device Co., Ltd.
17 * Licensed under the Apache License, Version 2.0 (the "License");
18 * you may not use this file except in compliance with the License.
19 * You may obtain a copy of the License at
20 *
21 * http://www.apache.org/licenses/LICENSE-2.0
22 *
23 * Unless required by applicable law or agreed to in writing, software
24 * distributed under the License is distributed on an "AS IS" BASIS,
25 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26 * See the License for the specific language governing permissions and
27 * limitations under the License.
28 */
29
30 #include "clouddisk_notify.h"
31
32 namespace OHOS::FileManagement::CloudDisk {
33
GetInstance()34 CloudDiskNotify &CloudDiskNotify::GetInstance()
35 {
36 static CloudDiskNotify instance_;
37 return instance_;
38 }
39
TryNotify(const NotifyParamDisk & paramDisk,const ParamDiskOthers & paramOthers)40 void CloudDiskNotify::TryNotify(const NotifyParamDisk ¶mDisk, const ParamDiskOthers ¶mOthers) {}
41
TryNotifyService(const NotifyParamService & paramService,const ParamServiceOther & paramOthers)42 void CloudDiskNotify::TryNotifyService(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) {}
43
GetDeleteNotifyData(const vector<NativeRdb::ValueObject> & deleteIds,vector<NotifyData> & notifyDataList,const ParamServiceOther & paramOthers)44 int32_t CloudDiskNotify::GetDeleteNotifyData(const vector<NativeRdb::ValueObject> &deleteIds,
45 vector<NotifyData> ¬ifyDataList,
46 const ParamServiceOther ¶mOthers)
47 {
48 return 0;
49 }
50
AddNotify(NotifyData notifyData)51 void CloudDiskNotify::AddNotify(NotifyData notifyData) {}
52
NotifyChangeOuter()53 void CloudDiskNotify::NotifyChangeOuter() {}
54 } // namespace OHOS::FileManagement::CloudDisk
55