Warning, /network/kdeconnect-ios/KDE Connect/KDE Connect/ObjC Network Backend/BaseLink.m is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2014 YANG Qiao <yangqiao0505@me.com> 0003 * 2021 Lucas Wang <lucas.wang@tuta.io> 0004 * 0005 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0006 */ 0007 0008 // Original header below: 0009 //Copyright 27/4/14 YANG Qiao yangqiao0505@me.com 0010 //kdeconnect is distributed under two licenses. 0011 // 0012 //* The Mozilla Public License (MPL) v2.0 0013 // 0014 //or 0015 // 0016 //* The General Public License (GPL) v2.1 0017 // 0018 //---------------------------------------------------------------------- 0019 // 0020 //Software distributed under these licenses is distributed on an "AS 0021 //IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 0022 //implied. See the License for the specific language governing rights 0023 //and limitations under the License. 0024 //kdeconnect is distributed under both the GPL and the MPL. The MPL 0025 //notice, reproduced below, covers the use of either of the licenses. 0026 // 0027 //---------------------------------------------------------------------- 0028 0029 #import "BaseLink.h" 0030 #import "BaseLinkProvider.h" 0031 0032 @implementation BaseLink 0033 0034 @synthesize _deviceId; 0035 0036 - (BaseLink *)init:(NSString *)deviceId setDelegate:(id<LinkDelegate>)linkDelegate 0037 { 0038 if ((self=[super init])) { 0039 _deviceId=deviceId; 0040 _linkDelegate=linkDelegate; 0041 } 0042 return self; 0043 } 0044 0045 - (BOOL) sendPackage:(NetworkPackage*)np tag:(long)tag 0046 { 0047 return NO; 0048 } 0049 0050 - (void) disconnect 0051 { 0052 // do nothing 0053 } 0054 0055 @end