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 #include "cloud/sharing_center.h"
17 namespace OHOS::DistributedData {
Share(int32_t userId,const std::string & bundleName,const std::string & sharingRes,const Participants & participants)18 SharingCenter::Results SharingCenter::Share(
19     int32_t userId, const std::string &bundleName, const std::string &sharingRes, const Participants &participants)
20 {
21     return {};
22 }
23 
Unshare(int32_t userId,const std::string & bundleName,const std::string & sharingRes,const Participants & participants)24 SharingCenter::Results SharingCenter::Unshare(
25     int32_t userId, const std::string &bundleName, const std::string &sharingRes, const Participants &participants)
26 {
27     return {};
28 }
29 
Exit(int32_t userId,const std::string & bundleName,const std::string & sharingRes)30 std::pair<int32_t, std::string> SharingCenter::Exit(
31     int32_t userId, const std::string &bundleName, const std::string &sharingRes)
32 {
33     return {};
34 }
35 
ChangePrivilege(int32_t userId,const std::string & bundleName,const std::string & sharingRes,const Participants & participants)36 SharingCenter::Results SharingCenter::ChangePrivilege(
37     int32_t userId, const std::string &bundleName, const std::string &sharingRes, const Participants &participants)
38 {
39     return {};
40 }
41 
Query(int32_t userId,const std::string & bundleName,const std::string & sharingRes)42 SharingCenter::QueryResults SharingCenter::Query(
43     int32_t userId, const std::string &bundleName, const std::string &sharingRes)
44 {
45     return {};
46 }
47 
QueryByInvitation(int32_t userId,const std::string & bundleName,const std::string & invitation)48 SharingCenter::QueryResults SharingCenter::QueryByInvitation(
49     int32_t userId, const std::string &bundleName, const std::string &invitation)
50 {
51     return {};
52 }
53 
ConfirmInvitation(int32_t userId,const std::string & bundleName,const std::string & invitation,int32_t confirmation)54 std::tuple<int32_t, std::string, std::string> SharingCenter::ConfirmInvitation(
55     int32_t userId, const std::string &bundleName, const std::string &invitation, int32_t confirmation)
56 {
57     return {};
58 }
59 
ChangeConfirmation(int32_t userId,const std::string & bundleName,const std::string & sharingRes,int32_t confirmation)60 std::pair<int32_t, std::string> SharingCenter::ChangeConfirmation(
61     int32_t userId, const std::string &bundleName, const std::string &sharingRes, int32_t confirmation)
62 {
63     return {};
64 }
65 } // namespace OHOS::DistributedData