File indexing completed on 2024-05-12 16:25:01

0001 /*
0002  * SPDX-FileCopyrightText: 2014 YANG Qiao <yangqiao0505@me.com>
0003  *                         2021 Lucas Wang <lucas.wang@tuta.io>
0004  *                         2023 Apollo Zhu <public-apollonian@outlook.com>
0005  *
0006  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007  */
0008 
0009 // Original header below:
0010 //Copyright 27/4/14  YANG Qiao yangqiao0505@me.com
0011 //kdeconnect is distributed under two licenses.
0012 //
0013 //* The Mozilla Public License (MPL) v2.0
0014 //
0015 //or
0016 //
0017 //* The General Public License (GPL) v2.1
0018 //
0019 //----------------------------------------------------------------------
0020 //
0021 //Software distributed under these licenses is distributed on an "AS
0022 //IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
0023 //implied. See the License for the specific language governing rights
0024 //and limitations under the License.
0025 //kdeconnect is distributed under both the GPL and the MPL. The MPL
0026 //notice, reproduced below, covers the use of either of the licenses.
0027 //
0028 //----------------------------------------------------------------------
0029 
0030 #import <Foundation/Foundation.h>
0031 
0032 NS_ASSUME_NONNULL_BEGIN
0033 
0034 @protocol LinkProviderDelegate <NSObject>
0035 @optional
0036 - (void)onConnectionReceived:(NetworkPackage *)np link:(BaseLink *)link;
0037 - (void)onDeviceIdentityUpdatePackageReceived:(NetworkPackage *)np;
0038 @end
0039 
0040 NS_ASSUME_NONNULL_END