Warning, /network/kdeconnect-ios/KDE Connect/KDE Connect/ObjC Network Backend/BaseLinkProvider.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 "BaseLinkProvider.h" 0030 0031 @implementation BaseLinkProvider 0032 0033 @synthesize _linkProviderDelegate; 0034 0035 - (BaseLinkProvider *)initWithDelegate:(id<LinkProviderDelegate>)linkProviderDelegate 0036 { 0037 if ((self=[super init])) { 0038 _linkProviderDelegate=linkProviderDelegate; 0039 } 0040 return self; 0041 } 0042 0043 - (void) onStart 0044 { 0045 // do nothing 0046 } 0047 0048 - (void) onRefresh 0049 { 0050 // do nothing 0051 } 0052 0053 - (void) onStop 0054 { 0055 // do nothing 0056 } 0057 0058 - (void) onNetworkChange 0059 { 0060 // do nothing 0061 } 0062 0063 - (void) onLinkDestroyed:(BaseLink*)link 0064 { 0065 // do nothing 0066 } 0067 0068 @end