-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1134 from mrolappe/darlingserver-stubs-CoreBluetooth
CoreBluetooth framework stubs
- Loading branch information
Showing
55 changed files
with
1,568 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
project(CoreBluetooth) | ||
|
||
set(DYLIB_COMPAT_VERSION "1.0.0") | ||
set(DYLIB_CURRENT_VERSION "1.0.0") | ||
|
||
add_framework(CoreBluetooth | ||
FAT | ||
CURRENT_VERSION | ||
VERSION "A" | ||
|
||
SOURCES | ||
src/CoreBluetooth.m | ||
src/BTDevicePicker.m | ||
src/CBClassicPeer.m | ||
src/CBCentralManager.m | ||
src/CBRFCOMMChannel.m | ||
src/CBCharacteristic.m | ||
src/CBMutableCharacteristic.m | ||
src/CBScalablePipeManager.m | ||
src/CBAttribute.m | ||
src/CBScalablePipe.m | ||
src/CBDescriptor.m | ||
src/CBMutableDescriptor.m | ||
src/CBPeripheral.m | ||
src/CBService.m | ||
src/CBMutableService.m | ||
src/CBUUID.m | ||
src/CBL2CAPChannel.m | ||
src/CBPeer.m | ||
src/CBClassicManager.m | ||
src/CBXpcConnection.m | ||
src/CBPeripheralManager.m | ||
src/CBCentral.m | ||
src/CBManager.m | ||
src/CBATTRequest.m | ||
src/CBPairingAgent.m | ||
|
||
DEPENDENCIES | ||
system | ||
objc | ||
Foundation | ||
) |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/BTDevicePicker.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface BTDevicePicker : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBATTRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBATTRequest : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBAttribute.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBAttribute : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBCentral.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBCentral : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBCentralManager.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBCentralManager : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBCharacteristic.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBCharacteristic : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBClassicManager.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBClassicManager : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBClassicPeer.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBClassicPeer : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBDescriptor.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBDescriptor : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBL2CAPChannel.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBL2CAPChannel : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBManager.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBManager : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBMutableCharacteristic.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBMutableCharacteristic : NSObject | ||
|
||
@end |
24 changes: 24 additions & 0 deletions
24
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBMutableDescriptor.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
This file is part of Darling. | ||
Copyright (C) 2019 Lubos Dolezel | ||
Darling is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Darling is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Darling. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
@interface CBMutableDescriptor : NSObject | ||
|
||
@end |
Oops, something went wrong.